From c91419614f073226b06ae0cd13a74967d76a5a04 Mon Sep 17 00:00:00 2001 From: Jay Wang Date: Tue, 13 Sep 2016 18:17:44 -0700 Subject: SnapdragonGallery: Update UI for TruePortrait effects Make UI adjustments based on feedback from UX team for TruePortrait effects. CRs-Fixed: 1066553 Change-Id: If5cf78af60daf81a4abf76e8d85534322760ccc8 --- res/drawable/tp_mask_toggle.xml | 34 ++++++++++++++++++++++ res/layout/do_not_show_again_dialog.xml | 12 ++++++-- .../filtershow_actionbar_trueportrait_mask.xml | 8 +++++ res/values/filtershow_strings.xml | 2 +- 4 files changed, 53 insertions(+), 3 deletions(-) create mode 100644 res/drawable/tp_mask_toggle.xml (limited to 'res') diff --git a/res/drawable/tp_mask_toggle.xml b/res/drawable/tp_mask_toggle.xml new file mode 100644 index 000000000..29abd41fc --- /dev/null +++ b/res/drawable/tp_mask_toggle.xml @@ -0,0 +1,34 @@ + + + + + + + \ No newline at end of file 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 @@ + style="@android:style/TextAppearance.Material.Subhead" /> + + \ 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" /> + + Pick Underlay No segment found at this point Dual camera filters not supported for this image - Allows you to enhance photos of people. You can apply effects to the background, such "blur" and "sketch". You can also merge two photos together to create interesting backgrounds for your portrait photos. + Allows you to enhance photos of people. You can apply effects to the background, such as \"blur\" and \"sketch\". You can also merge two photos together to create interesting backgrounds for your portrait photos. True Portrait effects cannot be applied to this photo. Face not detected. With the Touch-Up tool, you can edit the foreground and the background. You can user your finger to paint in any areas of the foreground or background that were missed. Use your finger to paint in any areas of the foreground that were missed. -- cgit v1.2.3