summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2015-05-29 20:51:33 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-05-29 20:51:33 +0000
commit58eca43b2445bfc068ce3154646656656196f393 (patch)
treebb6ece030a928f9a32201ee8883b90a5febb36f1 /res
parentcc5c664dfbb6ae475670574aad614b8731ad5921 (diff)
parent8c2499c4262eea812abe8a525571e2a680c732c8 (diff)
downloadandroid_packages_apps_Bluetooth-58eca43b2445bfc068ce3154646656656196f393.tar.gz
android_packages_apps_Bluetooth-58eca43b2445bfc068ce3154646656656196f393.tar.bz2
android_packages_apps_Bluetooth-58eca43b2445bfc068ce3154646656656196f393.zip
am 8c2499c4: Update Bluetooth app to use Material-themed dialogs
* commit '8c2499c4262eea812abe8a525571e2a680c732c8': Update Bluetooth app to use Material-themed dialogs
Diffstat (limited to 'res')
-rw-r--r--res/layout/confirm_dialog.xml13
1 files changed, 7 insertions, 6 deletions
diff --git a/res/layout/confirm_dialog.xml b/res/layout/confirm_dialog.xml
index bc56e983e..36afd34ef 100644
--- a/res/layout/confirm_dialog.xml
+++ b/res/layout/confirm_dialog.xml
@@ -20,21 +20,22 @@
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="match_parent"
- android:layout_width="match_parent">
+ android:layout_width="match_parent"
+ android:paddingTop="18dp"
+ android:clipToPadding="false">
<LinearLayout
- android:layout_height="match_parent"
android:layout_width="match_parent"
+ android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="20dip"
- android:layout_marginRight="20dip"
- android:gravity="center_horizontal"
- android:textAppearance="?android:attr/textAppearanceMedium" />
+ android:paddingEnd="?android:attr/dialogPreferredPadding"
+ android:paddingStart="?android:attr/dialogPreferredPadding"
+ style="@android:style/TextAppearance.Material.Subhead" />
</LinearLayout>