summaryrefslogtreecommitdiffstats
path: root/res/layout/camera_controls.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/camera_controls.xml')
-rw-r--r--res/layout/camera_controls.xml15
1 files changed, 6 insertions, 9 deletions
diff --git a/res/layout/camera_controls.xml b/res/layout/camera_controls.xml
index 1f12514..2269a60 100644
--- a/res/layout/camera_controls.xml
+++ b/res/layout/camera_controls.xml
@@ -23,7 +23,7 @@
android:background="@drawable/camera_controls_bg_translucent"
android:layout_width="match_parent"
android:layout_height="@dimen/preview_top_margin"
- android:gravity="center_vertical"
+ android:gravity="top"
android:orientation="horizontal">
<com.android.camera.ui.RotateImageView
@@ -71,7 +71,7 @@
android:id="@+id/bottom_bar"
android:layout_width="match_parent"
android:layout_height="@dimen/preview_bottom_margin"
- android:gravity="center_vertical"
+ android:gravity="bottom"
android:background="@drawable/camera_controls_bg_translucent"
android:orientation="horizontal">
@@ -83,7 +83,6 @@
android:layout_gravity="center"
android:background="@android:color/transparent"
android:contentDescription="@string/switch_photo_filmstrip"
- android:elevation="1dp"
android:scaleType="fitCenter" />
<com.android.camera.ShutterButton
@@ -96,7 +95,6 @@
android:contentDescription="@string/accessibility_shutter_button"
android:focusable="true"
android:scaleType="fitCenter"
- android:elevation="1dp"
android:src="@drawable/btn_new_shutter" />
<ImageView
@@ -110,7 +108,6 @@
android:contentDescription="@string/accessibility_shutter_button"
android:focusable="true"
android:scaleType="fitCenter"
- android:elevation="1dp"
android:src="@drawable/btn_new_shutter_video" />
<com.android.camera.ui.ModuleSwitcher
@@ -121,7 +118,6 @@
android:scaleType="center"
android:layout_weight="1"
android:layout_gravity="center"
- android:elevation="1dp"
android:contentDescription="@string/accessibility_mode_picker" />
</LinearLayout>
@@ -159,9 +155,10 @@
<com.android.camera.ui.HistogramView
android:id="@+id/histogram"
- android:layout_width="200dip"
- android:layout_height="200dip"
- android:layout_marginTop="20dip"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:background="@color/camera_controls_bg_translucent"
android:visibility="gone" />
<TextView