summaryrefslogtreecommitdiffstats
path: root/res/layout-sw600dp
diff options
context:
space:
mode:
authorBen Komalo <benkomalo@google.com>2011-06-13 10:14:58 -0700
committerBen Komalo <benkomalo@google.com>2011-06-25 16:54:09 -0700
commit66282fb6ffa2af159d0e2f878439074ac5ee3067 (patch)
tree8afcfba64ad4b28c8e9e97dfe726e5948659af0f /res/layout-sw600dp
parent6390b06e3b97ebfc946f74eddeae9129f488ed6e (diff)
downloadandroid_packages_apps_Email-66282fb6ffa2af159d0e2f878439074ac5ee3067.tar.gz
android_packages_apps_Email-66282fb6ffa2af159d0e2f878439074ac5ee3067.tar.bz2
android_packages_apps_Email-66282fb6ffa2af159d0e2f878439074ac5ee3067.zip
Improved "show pictures" support.
This is the UI part for remembering to show images based on senders. It does not persist anything yet. Change-Id: Iec40d9d1ace3661dabca2eed31ea6d0893be71e0
Diffstat (limited to 'res/layout-sw600dp')
-rw-r--r--res/layout-sw600dp/message_view_fragment.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/res/layout-sw600dp/message_view_fragment.xml b/res/layout-sw600dp/message_view_fragment.xml
index 003319ade..96b883ca0 100644
--- a/res/layout-sw600dp/message_view_fragment.xml
+++ b/res/layout-sw600dp/message_view_fragment.xml
@@ -317,6 +317,27 @@
android:drawableRight="@drawable/ic_show_images_holo_light"
android:drawablePadding="8dip"
/>
+ <RelativeLayout
+ android:id="@+id/always_show_pictures_container"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:visibility="gone"
+ >
+ <Button
+ android:id="@+id/always_show_pictures_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_alignParentRight="true"
+ android:text="@string/message_view_always_show_pictures_button" />
+ <TextView
+ android:id="@+id/always_show_pictures_text"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_toLeftOf="@+id/always_show_pictures_button"
+ android:text="@string/message_view_always_show_pictures_prompt" />
+ </RelativeLayout>
<View
android:layout_width="16dip"
android:layout_height="0dip"