summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2011-10-06 13:42:19 -0700
committerEino-Ville Talvala <etalvala@google.com>2011-10-06 13:45:24 -0700
commitfc52f4a9bf815633739125883807bfe965cf6009 (patch)
tree406c666a2a00739a9d10ed9f7b89e019f7484ddf /res/layout
parentd5bc2383782a06ef824856ea5712ca64f138d5fc (diff)
downloadLegacyCamera-fc52f4a9bf815633739125883807bfe965cf6009.zip
LegacyCamera-fc52f4a9bf815633739125883807bfe965cf6009.tar.gz
LegacyCamera-fc52f4a9bf815633739125883807bfe965cf6009.tar.bz2
Fix indicator bar being clipped by black background.
Change listing order of indicator bar and background for correct Z-ordering. Bug: 5422809 Change-Id: Id4963de2677230791102866688128afffc062d03
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/preview_frame_video.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/res/layout/preview_frame_video.xml b/res/layout/preview_frame_video.xml
index c7db06b..04c25e8 100644
--- a/res/layout/preview_frame_video.xml
+++ b/res/layout/preview_frame_video.xml
@@ -51,15 +51,18 @@
android:visibility="gone"
android:text="@string/bg_replacement_message" />
</com.android.camera.PreviewFrameLayout>
- <!-- Indicator control and popup window frame. -->
- <include layout="@layout/indicator_bar" />
- <!-- Fill up the remaining space with black. -->
+ <!-- Fill up the space below preview frame with black. -->
<View
android:background="#ff000000"
android:layout_width="match_parent"
android:layout_height="0dip"
android:layout_below="@+id/frame"
android:layout_alignParentBottom="true" />
+
+ <!-- Indicator control and popup window frame.
+ Listed last for highest Z-order -->
+ <include layout="@layout/indicator_bar" />
+
</RelativeLayout>