diff options
author | Sascha Haeberling <haeberling@google.com> | 2013-08-15 17:19:22 -0700 |
---|---|---|
committer | Sascha Haeberling <haeberling@google.com> | 2013-08-19 11:39:16 -0700 |
commit | 88ef7664ba6a888fa5da8693091674e152b56192 (patch) | |
tree | 52c8293d42b394cf09b7d01551df1f2e4787e96a /res/layout/filmstrip_bottom_controls.xml | |
parent | 1571239c21fc4be7fd3c8db6ff1b8dc22f4d7e6f (diff) | |
download | android_packages_apps_Snap-88ef7664ba6a888fa5da8693091674e152b56192.tar.gz android_packages_apps_Snap-88ef7664ba6a888fa5da8693091674e152b56192.tar.bz2 android_packages_apps_Snap-88ef7664ba6a888fa5da8693091674e152b56192.zip |
Bring back the bottom controls in Filmstrip.
Bug: 10367172
Bug: 10074320
Also hooks up the Edit button and the edit menu item.
Change-Id: I0ce3344e09fdfd7794c417ddbe44b3d247a7ed7c
Diffstat (limited to 'res/layout/filmstrip_bottom_controls.xml')
-rw-r--r-- | res/layout/filmstrip_bottom_controls.xml | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/res/layout/filmstrip_bottom_controls.xml b/res/layout/filmstrip_bottom_controls.xml new file mode 100644 index 000000000..14f0ee9fd --- /dev/null +++ b/res/layout/filmstrip_bottom_controls.xml @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + 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. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<com.android.camera.ui.FilmstripBottomControls + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/filmstrip_bottom_controls" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true" + android:layout_alignParentLeft="true" + android:orientation="horizontal" + android:padding="10dp" + android:visibility="visible" > + + <ImageButton + android:id="@+id/filmstrip_bottom_control_edit" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true" + android:layout_alignParentLeft="true" + android:background="@drawable/photopage_bottom_button_background" + android:paddingBottom="5dp" + android:paddingLeft="15dp" + android:paddingRight="15dp" + android:paddingTop="5dp" + android:src="@drawable/ic_menu_edit_holo_dark" + android:visibility="gone" /> + + <ImageButton + android:id="@+id/filmstrip_bottom_control_panorama" + android:layout_width="70dp" + android:layout_height="70dp" + android:layout_alignParentBottom="true" + android:layout_centerHorizontal="true" + android:background="@drawable/transparent_button_background" + android:clickable="true" + android:src="@drawable/ic_view_photosphere" + android:visibility="gone" /> + + <ImageButton + android:id="@+id/filmstrip_bottom_control_tiny_planet" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true" + android:layout_alignParentRight="true" + android:background="@drawable/photopage_bottom_button_background" + android:paddingBottom="5dp" + android:paddingLeft="15dp" + android:paddingRight="15dp" + android:paddingTop="5dp" + android:src="@drawable/ic_menu_tiny_planet" + android:visibility="gone" /> + +</com.android.camera.ui.FilmstripBottomControls>
\ No newline at end of file |