diff options
author | Tai Kuo <taikuo@google.com> | 2020-06-12 21:47:32 +0800 |
---|---|---|
committer | Tai Kuo <taikuo@google.com> | 2020-07-16 22:30:44 +0800 |
commit | 94adb773909b34086bfef12897e0c034c5116d99 (patch) | |
tree | 4b9b61afeec8002c8f2c6452c36b79824e68d810 /android/WALT/app/src/main/res/layout/fragment_audio.xml | |
parent | 53e09534845b39a0810279eb8df8b1d89fc31666 (diff) | |
download | walt-94adb773909b34086bfef12897e0c034c5116d99.tar.gz |
walt: app: fix Lint errors in AndroidManifest & resource files
Fix Lint errors in resource files and AndroidManifest.xml
Bug: 149721303
Test: ./gradlew build --stacktrace --warning-mode all
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: I2c2c84370c37da1ee07fa4cfa9880554d0f96242
Diffstat (limited to 'android/WALT/app/src/main/res/layout/fragment_audio.xml')
-rw-r--r-- | android/WALT/app/src/main/res/layout/fragment_audio.xml | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/android/WALT/app/src/main/res/layout/fragment_audio.xml b/android/WALT/app/src/main/res/layout/fragment_audio.xml index de2bdbb..190f658 100644 --- a/android/WALT/app/src/main/res/layout/fragment_audio.xml +++ b/android/WALT/app/src/main/res/layout/fragment_audio.xml @@ -19,24 +19,26 @@ android:id="@+id/button_stop_audio" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" android:tint="@color/button_tint" - walt:srcCompat="@drawable/ic_stop_black_24dp" /> + walt:srcCompat="@drawable/ic_stop_black_24dp" + android:contentDescription="@string/stop" /> <ImageButton android:id="@+id/button_start_audio" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_alignParentRight="true" + android:layout_alignParentEnd="true" android:tint="@color/button_tint" - walt:srcCompat="@drawable/ic_play_arrow_black_24dp" /> + walt:srcCompat="@drawable/ic_play_arrow_black_24dp" + android:contentDescription="@string/start" /> <Spinner android:id="@+id/spinner_audio_mode" android:layout_height="45dp" android:layout_width="fill_parent" - android:layout_toRightOf="@id/button_stop_audio" - android:layout_toLeftOf="@id/button_start_audio" + android:layout_toEndOf="@id/button_stop_audio" + android:layout_toStartOf="@id/button_start_audio" android:prompt="@string/audio_mode"/> </RelativeLayout> |