summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorlijun.xie <lijun.xie@ck-telecom.com>2016-06-16 13:35:21 +0800
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-06-24 12:45:18 -0700
commit86c8b5eaf46970b6dbff908ff1c2747029bec01c (patch)
tree3cf61888b6573e104a5ce0887a758dbdc71f6064 /res
parent232e6673b183e6cc3c8e3ea971274d7f838b0d75 (diff)
downloadpackages_apps_Settings-86c8b5eaf46970b6dbff908ff1c2747029bec01c.zip
packages_apps_Settings-86c8b5eaf46970b6dbff908ff1c2747029bec01c.tar.gz
packages_apps_Settings-86c8b5eaf46970b6dbff908ff1c2747029bec01c.tar.bz2
UI: Ensure "use for" options displayed when in landscape orientation
Items under the "use for" section of the "Paired devices" dialog for bluetooth connected headsets can be cut off on some devices when in landscape mode. This patch encloses those items in a ScrollView so the user can scroll the off screen items into view and enable/disable them. [Procedures] 1.Go to Settings -> bluetooth 2.Paired with a bluetooth headset 3.Click on the setting of bluetooth headset 4.check the menu list and rotate the phone 5.and can not sliding the list Change-Id: I52f4d494ca3c71a9ed88b2679868e77b092b4710
Diffstat (limited to 'res')
-rw-r--r--res/layout/device_profiles_settings.xml12
1 files changed, 8 insertions, 4 deletions
diff --git a/res/layout/device_profiles_settings.xml b/res/layout/device_profiles_settings.xml
index bd78bea..8df513e 100644
--- a/res/layout/device_profiles_settings.xml
+++ b/res/layout/device_profiles_settings.xml
@@ -52,10 +52,14 @@
android:textAppearance="@android:style/TextAppearance.Material.Body1"
android:textColor="?android:attr/textColorSecondary" />
- <LinearLayout
- android:id="@+id/profiles_section"
- android:orientation="vertical"
+ <ScrollView
android:layout_width="match_parent"
- android:layout_height="wrap_content" />
+ android:layout_height="wrap_content">
+ <LinearLayout
+ android:id="@+id/profiles_section"
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" />
+ </ScrollView>
</LinearLayout>