summaryrefslogtreecommitdiffstats
path: root/res/layout/photo_module.xml
diff options
context:
space:
mode:
authorjunjiez <junjiez@codeaurora.org>2017-07-26 15:19:15 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-08-03 00:22:08 -0700
commit1d5a27e190b75e3ec637e471fd01480c658371ee (patch)
tree862190b1326b97c594fbea9ea5a3f843aa140d3b /res/layout/photo_module.xml
parentf04b041ac7d1da4cb7964079f48f43227ee89d04 (diff)
downloadandroid_packages_apps_Snap-1d5a27e190b75e3ec637e471fd01480c658371ee.tar.gz
android_packages_apps_Snap-1d5a27e190b75e3ec637e471fd01480c658371ee.tar.bz2
android_packages_apps_Snap-1d5a27e190b75e3ec637e471fd01480c658371ee.zip
SnapdragonCamera:Disalbe options in RTB
Disable some options in the setting when it's in real time bokeh mode and modify the style of seekbar and bokeh text. Change-Id: If6f2fe40c3a405ac8a4451029d18e38d93305ef5
Diffstat (limited to 'res/layout/photo_module.xml')
-rwxr-xr-xres/layout/photo_module.xml13
1 files changed, 10 insertions, 3 deletions
diff --git a/res/layout/photo_module.xml b/res/layout/photo_module.xml
index b1f12dcc7..11c07d5d2 100755
--- a/res/layout/photo_module.xml
+++ b/res/layout/photo_module.xml
@@ -113,20 +113,27 @@
android:layout_width="match_parent"
android:layout_gravity="bottom">
<SeekBar
- style="?android:attr/seekBarStyle"
android:id="@+id/blur_degree_bar"
android:orientation="horizontal"
- android:layout_width="200dp"
+ android:layout_width="180dp"
android:layout_height="wrap_content"
+ android:maxHeight="2dp"
+ android:minHeight="1dp"
+ android:paddingTop="5dp"
+ android:paddingBottom="5dp"
+ android:progressDrawable="@drawable/beautify_progressbar_style"
+ android:thumb="@drawable/ic_beautify_oval"
android:visibility="gone"/>
<TextView
android:id="@+id/bokeh_tip_text"
- android:background="@android:color/darker_gray"
+ android:background="#3F000000"
android:textColor="@android:color/white"
android:textSize="20sp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="130dip"
+ android:paddingLeft="8dp"
+ android:paddingRight="8dp"
android:layout_gravity="bottom|center_horizontal"
android:visibility="gone"/>
</FrameLayout>