summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorByunghun Jeon <bjeon@codeaurora.org>2016-09-13 11:34:24 -0700
committerJay Wang <jaywang@codeaurora.org>2016-09-27 11:09:42 -0700
commit5adb130c9cbd440d534e2a9fe30454b451d37da8 (patch)
tree9dc2aef8345f99d40c85166a3742eef75a10745f /res
parent4cc792e65e50bdad27666bc13a2ff3ce8245f01a (diff)
downloadandroid_packages_apps_Snap-5adb130c9cbd440d534e2a9fe30454b451d37da8.tar.gz
android_packages_apps_Snap-5adb130c9cbd440d534e2a9fe30454b451d37da8.tar.bz2
android_packages_apps_Snap-5adb130c9cbd440d534e2a9fe30454b451d37da8.zip
SnapdragonCamera: Add developer options for Camera2
Add developer options for Camera2. They can be shown by tapping 10 times on Version Info from setting menu in Camera2. Change-Id: Iafb202c8cca5136c8e720135effcc6d0d688702a CRs-Fixed: 1066519
Diffstat (limited to 'res')
-rw-r--r--res/layout/preference.xml3
-rw-r--r--res/xml/setting_menu_preferences.xml8
2 files changed, 10 insertions, 1 deletions
diff --git a/res/layout/preference.xml b/res/layout/preference.xml
index 68b931fbb..e9da4f5b8 100644
--- a/res/layout/preference.xml
+++ b/res/layout/preference.xml
@@ -28,7 +28,7 @@
android:layout_width="25dp"
android:layout_height="25dp"
android:layout_gravity="center"
- android:layout_marginEnd="30dp"
+ android:layout_marginEnd="15dp"
android:layout_marginStart="15dp"
android:scaleType="fitCenter" />
@@ -36,6 +36,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="6dip"
+ android:layout_marginStart="15dp"
android:layout_marginEnd="6dip"
android:layout_marginTop="6dip"
android:layout_weight="1">
diff --git a/res/xml/setting_menu_preferences.xml b/res/xml/setting_menu_preferences.xml
index a606b342c..c988173ad 100644
--- a/res/xml/setting_menu_preferences.xml
+++ b/res/xml/setting_menu_preferences.xml
@@ -264,5 +264,13 @@
android:key="pref_camera2_trackingfocus_key"
android:layout="@layout/preference"
android:title="@string/pref_camera2_trackingfocus_title" />
+
+ <Preference
+ android:defaultValue="false"
+ android:icon="@drawable/gps_location"
+ android:key="version_info"
+ android:layout="@layout/preference"
+ android:summary="Version"
+ android:title="Version Info" />
</PreferenceCategory>
</PreferenceScreen> \ No newline at end of file