diff options
| author | Likai Ding <likaid@codeaurora.org> | 2013-08-13 14:43:40 +0800 |
|---|---|---|
| committer | Xiaojing Zhang <zhangx@codeaurora.org> | 2014-11-04 20:37:42 -0800 |
| commit | 65b4d0c1ded85105802bf69ddb5646eb72839e17 (patch) | |
| tree | a800c2a1d8c605af06560123486ebb8b94c20147 /res/layout | |
| parent | dcba1c2fbf5eb71b688810434a20298ef8202339 (diff) | |
| download | android_packages_apps_Gallery2-65b4d0c1ded85105802bf69ddb5646eb72839e17.tar.gz android_packages_apps_Gallery2-65b4d0c1ded85105802bf69ddb5646eb72839e17.tar.bz2 android_packages_apps_Gallery2-65b4d0c1ded85105802bf69ddb5646eb72839e17.zip | |
Gallery2: support GIF animation
This change implements a Java GIF decoder.
Change-Id: I72b6e8eb25572bba77a2a46e1754d8db8c47a0cc
Signed-off-by: Xiaojing Zhang <zhangx@codeaurora.org>
Diffstat (limited to 'res/layout')
| -rw-r--r--[-rwxr-xr-x] | res/layout/view_gif_image.xml | 55 |
1 files changed, 13 insertions, 42 deletions
diff --git a/res/layout/view_gif_image.xml b/res/layout/view_gif_image.xml index bceb16f44..976549a6b 100755..100644 --- a/res/layout/view_gif_image.xml +++ b/res/layout/view_gif_image.xml @@ -1,46 +1,17 @@ <?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> + android:layout_width="match_parent" + android:layout_height="match_parent"> -<!-- - <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> + <LinearLayout + android:id="@+id/image_absoluteLayout" + android:layout_height="match_parent" + android:layout_width="match_parent"> + <ImageView android:id="@+id/image_display_area" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:clickable="true"> + </ImageView> + </LinearLayout> +</RelativeLayout> |
