summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorLikai Ding <likaid@codeaurora.org>2013-08-13 14:07:48 +0800
committerXiaojing Zhang <zhangx@codeaurora.org>2014-11-04 20:37:39 -0800
commitdcba1c2fbf5eb71b688810434a20298ef8202339 (patch)
tree42a708baaeb9e59ad9cc7eb1178d76bd6658868a /res/layout
parentecd9d2b60c89b32e0e7d99e33a89198e6a790ad2 (diff)
downloadandroid_packages_apps_Gallery2-dcba1c2fbf5eb71b688810434a20298ef8202339.tar.gz
android_packages_apps_Gallery2-dcba1c2fbf5eb71b688810434a20298ef8202339.tar.bz2
android_packages_apps_Gallery2-dcba1c2fbf5eb71b688810434a20298ef8202339.zip
Gallery2: support GIF animation
(cherry picked new files from commit 2b133c9747af26701a12d60caef3e7e14cf55536) Change-Id: I227cef76cbacd66b7e87bc59b4f07d518b70a859 Signed-off-by: Xiaojing Zhang <zhangx@codeaurora.org>
Diffstat (limited to 'res/layout')
-rwxr-xr-xres/layout/view_gif_image.xml46
1 files changed, 46 insertions, 0 deletions
diff --git a/res/layout/view_gif_image.xml b/res/layout/view_gif_image.xml
new file mode 100755
index 000000000..bceb16f44
--- /dev/null
+++ b/res/layout/view_gif_image.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <LinearLayout
+ android:id="@+id/image_absoluteLayout"
+ android:layout_height="match_parent"
+ android:layout_width="match_parent">
+ <ImageView android:id="@+id/image_dispaly_area"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:clickable="true">
+ </ImageView>
+ </LinearLayout>
+
+<!--
+ <ImageView android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:id="@+id/arrow_left"
+ android:layout_centerVertical="true"
+ android:clickable="true"
+ android:src="@drawable/arrow_left">
+ </ImageView>
+
+ <ImageView android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:id="@+id/arrow_right"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:clickable="true"
+ android:src="@drawable/arrow_right">
+ </ImageView>
+
+ <TextView android:id="@+id/tv_count"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:textSize="18sp"
+ android:textColor="#ffffffff"
+ android:layout_marginTop="5dip"
+ android:background="@drawable/text_frame">
+ </TextView>
+-->
+</RelativeLayout>
+