diff options
| author | Sascha Haeberling <haeberling@google.com> | 2013-07-31 11:28:21 -0700 |
|---|---|---|
| committer | Sascha Haeberling <haeberling@google.com> | 2013-08-01 15:50:13 -0700 |
| commit | 0a4cfdc5ee74759893142754faea77d0d0aba48c (patch) | |
| tree | ba9340e4f010bbe78e2ad1f3236daf9ba5fe0428 /res/layout | |
| parent | 1a8760622fccea0b1f60d1db530d8404a87209a5 (diff) | |
| download | android_packages_apps_Gallery2-0a4cfdc5ee74759893142754faea77d0d0aba48c.tar.gz android_packages_apps_Gallery2-0a4cfdc5ee74759893142754faea77d0d0aba48c.tar.bz2 android_packages_apps_Gallery2-0a4cfdc5ee74759893142754faea77d0d0aba48c.zip | |
Adds back the PhotoSphere View icon in filmstrip.
This also exercises the "leave a place cleaner than you found it" rule
by cleaning up stuff:
- Formatting according to the Android format rules
- Removing unused code
- Putting braces where they belong.
Change-Id: Ie1dbfe9195bf3e20d9624d7ae85eeba16df8f931
Diffstat (limited to 'res/layout')
| -rw-r--r-- | res/layout/camera_filmstrip.xml | 30 |
1 files changed, 25 insertions, 5 deletions
diff --git a/res/layout/camera_filmstrip.xml b/res/layout/camera_filmstrip.xml index 26fc3f030..85f04125d 100644 --- a/res/layout/camera_filmstrip.xml +++ b/res/layout/camera_filmstrip.xml @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2013 The Android Open Source Project +<!-- + Copyright (C) 2013 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -13,8 +14,27 @@ See the License for the specific language governing permissions and limitations under the License. --> -<com.android.camera.ui.FilmStripView -xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/filmstrip_view" + +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" - android:layout_height="match_parent" /> + android:layout_height="match_parent" > + + <com.android.camera.ui.FilmStripView + android:id="@+id/filmstrip_view" + android:layout_width="match_parent" + android:layout_height="match_parent" /> + + <ImageButton + android:id="@+id/filmstrip_bottom_control_panorama" + android:layout_width="70dp" + android:layout_height="70dp" + android:layout_gravity="bottom|center_horizontal" + android:background="@drawable/transparent_button_background" + android:clickable="true" + android:paddingBottom="5dp" + android:paddingLeft="5dp" + android:paddingRight="5dp" + android:paddingTop="5dp" + android:src="@drawable/ic_view_photosphere" /> + +</FrameLayout>
\ No newline at end of file |
