diff options
author | Danny Baumann <dannybaumann@web.de> | 2016-01-15 09:53:27 +0100 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-11-02 12:55:48 -0700 |
commit | 9ed2ee5da3ad4d9c2670aa4f3c866325f1a4d5d6 (patch) | |
tree | 54b361293a64b488a511b75fd54598ea2b138bcc /res | |
parent | 3a444d922a26dba5074232cefceb55fc0a8873ab (diff) | |
download | android_packages_apps_Snap-9ed2ee5da3ad4d9c2670aa4f3c866325f1a4d5d6.tar.gz android_packages_apps_Snap-9ed2ee5da3ad4d9c2670aa4f3c866325f1a4d5d6.tar.bz2 android_packages_apps_Snap-9ed2ee5da3ad4d9c2670aa4f3c866325f1a4d5d6.zip |
Fix up layout of auto HDR notice and histogram view.
Change-Id: I61f93c68b52d81c5e19919a5b0b894cf51dd35c4
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/camera_controls.xml | 14 | ||||
-rw-r--r-- | res/layout/photo_module.xml | 17 | ||||
-rw-r--r-- | res/values/cm_strings.xml | 1 |
3 files changed, 15 insertions, 17 deletions
diff --git a/res/layout/camera_controls.xml b/res/layout/camera_controls.xml index 99e649db4..3f097425f 100644 --- a/res/layout/camera_controls.xml +++ b/res/layout/camera_controls.xml @@ -132,4 +132,18 @@ android:visibility="gone" /> </LinearLayout> + <com.android.camera.ui.HistogramView + android:id="@+id/histogram" + android:layout_width="200dip" + android:layout_height="200dip" + android:layout_marginTop="20dip" + android:visibility="gone" /> + + <TextView + android:id="@+id/auto_hdr_notice" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/auto_hdr_enabled" + android:visibility="gone" /> + </com.android.camera.ui.CameraControls> diff --git a/res/layout/photo_module.xml b/res/layout/photo_module.xml index 63a8f28e5..f184e0c56 100644 --- a/res/layout/photo_module.xml +++ b/res/layout/photo_module.xml @@ -41,23 +41,6 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:background="@android:color/black" /> - <RelativeLayout android:id="@+id/linear" - android:orientation="vertical" - android:layout_width="match_parent" - android:layout_height="match_parent"> - <com.android.camera.GraphView - android:id="@+id/graph_view" - android:layout_width="200dip" - android:layout_height="200dip" - android:layout_marginTop="60dip" - android:layout_marginLeft="90dip" /> - <com.android.camera.DrawAutoHDR - android:id="@+id/autohdr_view" - android:layout_width="200dip" - android:layout_height="200dip" - android:layout_marginTop="50dip" - android:layout_marginLeft="15dip" /> - </RelativeLayout> <com.android.camera.ui.focus.FocusRingView android:id="@+id/focus_ring" android:layout_width="match_parent" diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml index 9e99dd5cc..410fa0b99 100644 --- a/res/values/cm_strings.xml +++ b/res/values/cm_strings.xml @@ -144,4 +144,5 @@ <string name="pref_camera_shutter_speed_entry_15" translatable="false">15</string> <string name="pref_camera_shutter_speed_entry_30" translatable="false">30</string> + <string name="auto_hdr_enabled">Auto HDR enabled</string> </resources> |