summaryrefslogtreecommitdiffstats
path: root/res/layout/gallery_grid_item_view.xml
diff options
context:
space:
mode:
authorMartin Brabham <optedoblivion@cyngn.com>2016-02-11 15:41:43 -0500
committerMichael Bestas <mkbestas@lineageos.org>2018-08-28 21:33:02 +0300
commit15cec44ee8c731d7a8c7928fba3ac8d83b2b2fd4 (patch)
tree01b7910f0cb5ff74a4c7ffe8f34c1531048bfacd /res/layout/gallery_grid_item_view.xml
parent2b6d99d894c92e4dc2d9ffce067f4a9e6244e6e5 (diff)
downloadpackages_apps_Messaging-15cec44ee8c731d7a8c7928fba3ac8d83b2b2fd4.tar.gz
packages_apps_Messaging-15cec44ee8c731d7a8c7928fba3ac8d83b2b2fd4.tar.bz2
packages_apps_Messaging-15cec44ee8c731d7a8c7928fba3ac8d83b2b2fd4.zip
Messaging: Implement saved video attachments in MMS
Change-Id: I184a8d84f019d916fd07d8b90fb96b80408c6768 Ticket-Id: CRACKLING-937
Diffstat (limited to 'res/layout/gallery_grid_item_view.xml')
-rw-r--r--res/layout/gallery_grid_item_view.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/res/layout/gallery_grid_item_view.xml b/res/layout/gallery_grid_item_view.xml
index 8b7ee58..88e4a1b 100644
--- a/res/layout/gallery_grid_item_view.xml
+++ b/res/layout/gallery_grid_item_view.xml
@@ -27,6 +27,22 @@
android:layout_height="match_parent"
android:scaleType="centerCrop" />
+ <FrameLayout
+ android:id="@+id/video_button"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_gravity="center"
+ android:visibility="invisible">
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:background="@drawable/transparent_button_background"
+ android:scaleType="fitCenter"
+ android:src="@drawable/ic_video_play_light"
+ android:contentDescription="@string/video_thumbnail_view_play_button_content_description"/>
+ </FrameLayout>
+
<View
android:layout_width="match_parent"
android:layout_height="match_parent"