diff options
author | Andy Doan <andy.doan@linaro.org> | 2011-09-21 16:00:13 -0500 |
---|---|---|
committer | Andy Doan <doanac@gmail.com> | 2011-09-21 16:00:13 -0500 |
commit | 34b561b9a76d58a3a4491fa5e99b48fade34a236 (patch) | |
tree | 869063d09064c4922ed4bfbc45e872d4f2e1120b /res | |
parent | 0d5be569105a7e36bb71dbaeb7650221a07c5327 (diff) | |
download | LinaroConnect-34b561b9a76d58a3a4491fa5e99b48fade34a236.tar.gz |
add back/forward buttons to ImageViewActivity
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/image_view.xml | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/res/layout/image_view.xml b/res/layout/image_view.xml index 56b335e..f9f4c4d 100644 --- a/res/layout/image_view.xml +++ b/res/layout/image_view.xml @@ -2,7 +2,8 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" - android:orientation="vertical"> + android:orientation="vertical" + android:gravity="center"> <TextView android:id="@+id/image_view_label" android:layout_height="wrap_content" @@ -13,5 +14,28 @@ <ImageView android:id="@+id/image_view_id" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:gravity="center" /> + + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:gravity="center" + > + + <ImageButton android:id="@+id/image_view_back" + android:src="@*android:drawable/ic_menu_back" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:background="@android:color/transparent" + /> + + <ImageButton android:id="@+id/image_view_forward" + android:src="@*android:drawable/ic_menu_forward" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:background="@android:color/transparent" + /> + </LinearLayout> </LinearLayout>
\ No newline at end of file |