summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorDoris Liu <tianliu@google.com>2014-04-03 11:28:43 -0700
committerDoris Liu <tianliu@google.com>2014-04-03 11:58:13 -0700
commit7933feb7d1bbb0342061584f623bb239266f5d91 (patch)
tree138ba2bc2d1b627cb67806bdd6441b10448c5b5e /res/layout
parentc9638388b28c9eca448bb4279c0f2f519c6d342e (diff)
downloadandroid_packages_apps_Camera2-7933feb7d1bbb0342061584f623bb239266f5d91.tar.gz
android_packages_apps_Camera2-7933feb7d1bbb0342061584f623bb239266f5d91.tar.bz2
android_packages_apps_Camera2-7933feb7d1bbb0342061584f623bb239266f5d91.zip
Fix for visibilty of cling out of sync with the external viewer button
Due to no visiblity changed listener provided from Framework, a subclass of the image button was created to track the visiblity change of itself and more importantly its ancesters. This way cling is gauranteed to be in sync with the visility of the button. Also fixed preference type of showing refocus viewer cling. Bug: 13754204 Bug: 13752484 Change-Id: Iaf38c076d5b1e251f3d5d4b4ccba1bd8447999aa
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/filmstrip_bottom_controls.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/layout/filmstrip_bottom_controls.xml b/res/layout/filmstrip_bottom_controls.xml
index 345b81500..4606a4251 100644
--- a/res/layout/filmstrip_bottom_controls.xml
+++ b/res/layout/filmstrip_bottom_controls.xml
@@ -61,7 +61,7 @@
android:layout_weight="1"
android:visibility="invisible" />
- <ImageButton
+ <com.android.camera.widget.ExternalViewerButton
android:id="@+id/filmstrip_bottom_control_view"
style="@style/FilmstripBottomControlButton"
android:layout_gravity="center"