summaryrefslogtreecommitdiffstats
path: root/res/layout-sw600dp
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2011-10-31 18:50:52 +0800
committerChih-Chung Chang <chihchung@google.com>2011-11-03 15:23:03 +0800
commitda705aa1c8cbaaba105d9bc7799aef95c416a459 (patch)
treebc01f30294462780bfd4b4437b862881b295ece3 /res/layout-sw600dp
parent1f56f129d65729705326f4d6852d760e6a5cacf5 (diff)
downloadpackages_apps_LegacyCamera-da705aa1c8cbaaba105d9bc7799aef95c416a459.zip
packages_apps_LegacyCamera-da705aa1c8cbaaba105d9bc7799aef95c416a459.tar.gz
packages_apps_LegacyCamera-da705aa1c8cbaaba105d9bc7799aef95c416a459.tar.bz2
Fix 5521540: UI Tweaks.
- draw fan-shaped semi-transparent area on the indicator wheel. - change selected indicator color - remove video mode black border - set activity background to black - update assets - don't gray out unselected modes in mode picker (tablet) - set ok/cancel icons to 32dp, font to 12sp bold Change-Id: Iedc43dca29d1943965caf2d36cce176d8e509547
Diffstat (limited to 'res/layout-sw600dp')
-rw-r--r--res/layout-sw600dp/mode_picker.xml3
-rw-r--r--res/layout-sw600dp/preview_frame_video.xml8
2 files changed, 9 insertions, 2 deletions
diff --git a/res/layout-sw600dp/mode_picker.xml b/res/layout-sw600dp/mode_picker.xml
index a77485d..cd562c8 100644
--- a/res/layout-sw600dp/mode_picker.xml
+++ b/res/layout-sw600dp/mode_picker.xml
@@ -38,18 +38,21 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:scaleType="center"
+ android:background="@drawable/bg_pressed"
android:src="@drawable/ic_switch_camera_holo_light" />
<com.android.camera.ui.RotateImageView android:id="@+id/mode_video"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:scaleType="center"
+ android:background="@drawable/bg_pressed"
android:src="@drawable/ic_switch_video_holo_light" />
<com.android.camera.ui.RotateImageView android:id="@+id/mode_panorama"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:scaleType="center"
+ android:background="@drawable/bg_pressed"
android:src="@drawable/ic_switch_pan_holo_light" />
</LinearLayout>
</com.android.camera.ModePicker>
diff --git a/res/layout-sw600dp/preview_frame_video.xml b/res/layout-sw600dp/preview_frame_video.xml
index 4e59c90..aab1ee1 100644
--- a/res/layout-sw600dp/preview_frame_video.xml
+++ b/res/layout-sw600dp/preview_frame_video.xml
@@ -22,11 +22,15 @@
<com.android.camera.PreviewFrameLayout android:id="@+id/frame"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_centerInParent="true"
- android:background="@drawable/border_preview">
+ android:layout_centerInParent="true">
<SurfaceView android:id="@+id/camera_preview"
android:layout_width="match_parent"
android:layout_height="match_parent" />
+ <FrameLayout android:id="@+id/preview_border"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:visibility="gone"
+ android:background="@drawable/ic_snapshot_border" />
<com.android.camera.ui.RotateLayout android:id="@+id/recording_time_rect"
style="@style/ViewfinderLableLayout">
<include layout="@layout/viewfinder_labels_video" android:id="@+id/labels_w1024" />