summaryrefslogtreecommitdiff
path: root/java/com/android/incallui/audioroute/res
diff options
context:
space:
mode:
authoryueg <yueg@google.com>2018-04-27 10:39:27 -0700
committerCopybara-Service <copybara-piper@google.com>2018-04-28 22:25:53 -0700
commit9bd6277786305f98dd85c4256f228b3ae191e05d (patch)
treefae59fda1ed1a786bf9cc32593fa767449e5f2c1 /java/com/android/incallui/audioroute/res
parentea1acce9b02cc6cf305c75cad733939527c7775b (diff)
HFP device support change.
Test: manual PiperOrigin-RevId: 194561401 Change-Id: Ia94765a3979b5f3c3e4d02c1dc235f5e41fbf6f9
Diffstat (limited to 'java/com/android/incallui/audioroute/res')
-rw-r--r--java/com/android/incallui/audioroute/res/layout/audioroute_item.xml4
-rw-r--r--java/com/android/incallui/audioroute/res/layout/audioroute_selector.xml47
2 files changed, 28 insertions, 23 deletions
diff --git a/java/com/android/incallui/audioroute/res/layout/audioroute_item.xml b/java/com/android/incallui/audioroute/res/layout/audioroute_item.xml
index 66c83f67e..dfd795f04 100644
--- a/java/com/android/incallui/audioroute/res/layout/audioroute_item.xml
+++ b/java/com/android/incallui/audioroute/res/layout/audioroute_item.xml
@@ -18,4 +18,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableStart="@drawable/quantum_ic_bluetooth_audio_vd_theme_24"
- android:drawableTint="@color/material_grey_600"/> \ No newline at end of file
+ android:drawableTint="@color/material_grey_600"
+ android:gravity="start"
+ android:textAlignment="viewStart"/> \ No newline at end of file
diff --git a/java/com/android/incallui/audioroute/res/layout/audioroute_selector.xml b/java/com/android/incallui/audioroute/res/layout/audioroute_selector.xml
index 145101dd1..b63f387c4 100644
--- a/java/com/android/incallui/audioroute/res/layout/audioroute_selector.xml
+++ b/java/com/android/incallui/audioroute/res/layout/audioroute_selector.xml
@@ -14,31 +14,34 @@
~ limitations under the License
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- tools:layout_gravity="bottom">
- <TextView
- android:id="@+id/audioroute_speaker"
- style="@style/AudioRouteItem"
+ xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:drawableStart="@drawable/quantum_ic_volume_up_grey600_24"
- android:text="@string/audioroute_speaker"/>
+ android:orientation="vertical"
+ tools:layout_gravity="bottom">
<TextView
- android:id="@+id/audioroute_earpiece"
- style="@style/AudioRouteItem"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:drawableStart="@drawable/ic_phone_audio_grey600_24dp"
- android:text="@string/audioroute_phone"/>
+ android:id="@+id/audioroute_speaker"
+ style="@style/AudioRouteItem"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:drawableStart="@drawable/quantum_ic_volume_up_grey600_24"
+ android:text="@string/audioroute_speaker"
+ android:textAlignment="viewStart"/>
<TextView
- android:id="@+id/audioroute_headset"
- style="@style/AudioRouteItem"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:drawableStart="@drawable/quantum_ic_headset_grey600_24"
- android:text="@string/audioroute_headset"/>
+ android:id="@+id/audioroute_earpiece"
+ style="@style/AudioRouteItem"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:drawableStart="@drawable/ic_phone_audio_grey600_24dp"
+ android:text="@string/audioroute_phone"
+ android:textAlignment="viewStart"/>
+ <TextView
+ android:id="@+id/audioroute_headset"
+ style="@style/AudioRouteItem"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:drawableStart="@drawable/quantum_ic_headset_grey600_24"
+ android:text="@string/audioroute_headset"
+ android:textAlignment="viewStart"/>
</LinearLayout>