summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorweijiew <weijiew@codeaurora.org>2016-12-14 15:25:29 +0800
committerweijiew <weijiew@codeaurora.org>2016-12-14 15:33:46 +0800
commit90443f141dbd300a3a28f6aeeea5e1bc0fc556a9 (patch)
tree0311d3adedde405cd73f5e63d947b9105d19aa55 /res/layout
parent568dfe8fb8d7150e242ec778b039458d4e6e0b29 (diff)
downloadandroid_packages_apps_Snap-90443f141dbd300a3a28f6aeeea5e1bc0fc556a9.tar.gz
android_packages_apps_Snap-90443f141dbd300a3a28f6aeeea5e1bc0fc556a9.tar.bz2
android_packages_apps_Snap-90443f141dbd300a3a28f6aeeea5e1bc0fc556a9.zip
SnapdragonCamera: The "x" of the scene mark is too large
Change the "x" of the scene mark to a small size. CRs-Fixed: 1101206 Change-Id: I7f64cd2b68ba30881309e7e5cb3a013e9168661a
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/scene_mode_label.xml12
1 files changed, 9 insertions, 3 deletions
diff --git a/res/layout/scene_mode_label.xml b/res/layout/scene_mode_label.xml
index aa5ef211c..e0d8d43b8 100644
--- a/res/layout/scene_mode_label.xml
+++ b/res/layout/scene_mode_label.xml
@@ -33,7 +33,8 @@
android:layout_height="wrap_content"
android:layout_marginRight="20dp"
android:background="#90000000"
- android:orientation="horizontal">
+ android:orientation="horizontal"
+ android:gravity="center_vertical">
<TextView
android:id="@+id/scene_mode_label"
android:singleLine="true"
@@ -43,8 +44,13 @@
style="@style/OnViewfinderSceneLabel" />
<ImageView
android:id="@+id/scene_mode_label_close"
- android:src="@drawable/x"
- style="@style/OnViewfinderSceneLabel"/>
+ android:layout_width="15dp"
+ android:layout_height="15dp"
+ android:layout_marginLeft="10dp"
+ android:layout_marginRight="10dp"
+ android:layout_marginTop="5dp"
+ android:layout_marginBottom="5dp"
+ android:src="@drawable/x" />
</LinearLayout>
</com.android.camera.ui.RotateLayout>
</LinearLayout> \ No newline at end of file