summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorPauloftheWest <paulofthewest@google.com>2014-09-10 10:29:19 -0700
committerPauloftheWest <paulofthewest@google.com>2014-09-10 14:33:52 -0700
commit26747b9da06d08e2769ccb61a5d945b32cd924db (patch)
treeae4fe1dae8956d061c5bb8b3e279c25f3712807b /res/layout
parent574db4269528c7277f6e14a44156909fdb063190 (diff)
downloadpackages_apps_Settings-26747b9da06d08e2769ccb61a5d945b32cd924db.zip
packages_apps_Settings-26747b9da06d08e2769ccb61a5d945b32cd924db.tar.gz
packages_apps_Settings-26747b9da06d08e2769ccb61a5d945b32cd924db.tar.bz2
Made Bluetooth device dialog fully scrollable.
+ Also updated padding around Available Devices. + Also updated opacity on Bluetooth's "your device is visible" message. Bug: 17398966 Change-Id: Id9631334ee0f3a01e40b00470d6debf6a31abe47
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/bluetooth_device_settings.xml26
-rw-r--r--res/layout/bluetooth_preference_category.xml1
-rw-r--r--res/layout/preference_progress_category.xml2
3 files changed, 3 insertions, 26 deletions
diff --git a/res/layout/bluetooth_device_settings.xml b/res/layout/bluetooth_device_settings.xml
index b87551a..b65ca0f 100644
--- a/res/layout/bluetooth_device_settings.xml
+++ b/res/layout/bluetooth_device_settings.xml
@@ -20,35 +20,9 @@
android:orientation="vertical"
android:gravity="center">
- <LinearLayout android:id="@+id/dialog_layout"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:paddingBottom="@dimen/bluetooth_dialog_padding"
- style="@style/bt_item" >
-
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/bluetooth_preference_paired_dialog_name_label"
- android:textAppearance="@android:style/TextAppearance.Material.Body1"
- android:textColor="?android:attr/textColorSecondary"
- android:textDirection="locale"
- style="@style/bt_item_label" />
-
- <EditText android:id="@+id/name"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:inputType="textNoSuggestions"
- android:maxLength="@integer/bluetooth_name_length"
- android:singleLine="true"
- style="@style/bt_item_edit_content" />
-
<fragment android:id="@+id/bluetooth_fragment_settings"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
class="com.android.settings.bluetooth.DeviceProfilesSettings" />
- </LinearLayout>
-
</LinearLayout>
diff --git a/res/layout/bluetooth_preference_category.xml b/res/layout/bluetooth_preference_category.xml
index 59a3e87..2b9a29a 100644
--- a/res/layout/bluetooth_preference_category.xml
+++ b/res/layout/bluetooth_preference_category.xml
@@ -22,4 +22,5 @@
android:textAppearance="@android:style/TextAppearance.Material.Body1"
android:textColor="?android:attr/textColorSecondary"
android:paddingTop="16dip"
+ android:paddingStart="16dip"
android:paddingBottom="16dip" />
diff --git a/res/layout/preference_progress_category.xml b/res/layout/preference_progress_category.xml
index 5859fbf..1776fec 100644
--- a/res/layout/preference_progress_category.xml
+++ b/res/layout/preference_progress_category.xml
@@ -31,6 +31,7 @@
android:background="@null"
android:id="@+android:id/title"
android:paddingStart="0dp"
+ android:paddingTop="6dp"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
@@ -40,6 +41,7 @@
<ProgressBar
android:id="@+id/scanning_progress"
android:text="@string/progress_scanning"
+ android:paddingTop="6dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"