diff options
Diffstat (limited to 'res/layout/pano_module_capture.xml')
-rw-r--r-- | res/layout/pano_module_capture.xml | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/res/layout/pano_module_capture.xml b/res/layout/pano_module_capture.xml index b67315cd3..7b2108484 100644 --- a/res/layout/pano_module_capture.xml +++ b/res/layout/pano_module_capture.xml @@ -16,6 +16,7 @@ <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/panorama_capture_layout" + android:background="@android:color/black" android:layout_width="match_parent" android:layout_height="match_parent" > @@ -23,7 +24,7 @@ android:id="@+id/pano_preview_layout" android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_gravity="center" > + android:layout_gravity="center_vertical|center_horizontal" > <TextureView android:id="@+id/pano_preview_textureview" @@ -32,10 +33,17 @@ <View android:id="@+id/pano_preview_area_border" - android:layout_width="match_parent" - android:layout_height="match_parent" + android:layout_width="64dp" + android:layout_height="64dp" android:background="@drawable/ic_pan_border_fast" android:visibility="gone" /> + + <View + android:id="@+id/preview_cover" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="@android:color/black" /> + </FrameLayout> <LinearLayout @@ -73,9 +81,7 @@ style="@style/PanoViewHorizontalBar" android:layout_width="match_parent" android:layout_height="0dp" - android:layout_weight="1" - android:gravity="top" - android:paddingTop="20dp" > + android:layout_weight="1"> <LinearLayout android:layout_width="match_parent" |