summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorJay Wang <jaywang@codeaurora.org>2016-09-13 18:17:44 -0700
committerJay Wang <jaywang@codeaurora.org>2016-09-14 16:04:59 -0700
commitc91419614f073226b06ae0cd13a74967d76a5a04 (patch)
tree7cbd85ff7c468c3500d44405787d071c1012825c /res/layout
parenteeb2253db1ee359acb0ec0df177290d7d1d15c29 (diff)
downloadandroid_packages_apps_Gallery2-c91419614f073226b06ae0cd13a74967d76a5a04.tar.gz
android_packages_apps_Gallery2-c91419614f073226b06ae0cd13a74967d76a5a04.tar.bz2
android_packages_apps_Gallery2-c91419614f073226b06ae0cd13a74967d76a5a04.zip
SnapdragonGallery: Update UI for TruePortrait effects
Make UI adjustments based on feedback from UX team for TruePortrait effects. CRs-Fixed: 1066553 Change-Id: If5cf78af60daf81a4abf76e8d85534322760ccc8
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/do_not_show_again_dialog.xml12
-rw-r--r--res/layout/filtershow_actionbar_trueportrait_mask.xml8
2 files changed, 18 insertions, 2 deletions
diff --git a/res/layout/do_not_show_again_dialog.xml b/res/layout/do_not_show_again_dialog.xml
index 8ddfdc191..d3d229740 100644
--- a/res/layout/do_not_show_again_dialog.xml
+++ b/res/layout/do_not_show_again_dialog.xml
@@ -30,19 +30,27 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:paddingTop="8dip"
+ android:paddingBottom="8dip"
+ android:paddingEnd="?android:attr/dialogPreferredPadding"
+ android:paddingStart="?android:attr/dialogPreferredPadding"
android:orientation="vertical" >
<TextView
android:id="@+id/message"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_margin="8dp" />
+ style="@android:style/TextAppearance.Material.Subhead" />
+
+ <Space
+ android:layout_width="0dp"
+ android:layout_height="5dp"/>
<CheckBox
android:id="@+id/do_not_show_chk"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_margin="8dp"
+ style="@android:style/TextAppearance.Material.Subhead"
android:text="@string/do_not_show_again" />
</LinearLayout> \ No newline at end of file
diff --git a/res/layout/filtershow_actionbar_trueportrait_mask.xml b/res/layout/filtershow_actionbar_trueportrait_mask.xml
index b922dbd2d..f992e76a8 100644
--- a/res/layout/filtershow_actionbar_trueportrait_mask.xml
+++ b/res/layout/filtershow_actionbar_trueportrait_mask.xml
@@ -52,15 +52,23 @@
android:id="@+id/maskForeground"
android:layout_width="wrap_content"
android:layout_height="match_parent"
+ android:background="@drawable/tp_mask_toggle"
+ android:textColor="@color/primary_text"
android:paddingEnd="16dp"
android:paddingStart="16dp"
android:textOff="@string/foreground"
android:textOn="@string/foreground" />
+ <Space
+ android:layout_width="5dp"
+ android:layout_height="0dp"/>
+
<ToggleButton
android:id="@+id/maskBackground"
android:layout_width="wrap_content"
android:layout_height="match_parent"
+ android:background="@drawable/tp_mask_toggle"
+ android:textColor="@color/primary_text"
android:paddingEnd="16dp"
android:paddingStart="16dp"
android:textOff="@string/background"