summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@android.com>2010-05-05 15:28:30 -0400
committerOwen Lin <owenlin@google.com>2010-05-06 12:15:57 +0800
commitaefb028cb120b2908038f459e33b61d18ad32417 (patch)
treefad8eb4d49a3f9b6fe6fdba54ee09a64d5faa342 /res/layout
parent0055c650940d5c4dbc75998e362c645ec358ec45 (diff)
downloadLegacyCamera-aefb028cb120b2908038f459e33b61d18ad32417.zip
LegacyCamera-aefb028cb120b2908038f459e33b61d18ad32417.tar.gz
LegacyCamera-aefb028cb120b2908038f459e33b61d18ad32417.tar.bz2
Nudge the camera preview 2dip from the screen edge.
On Sapphire, the preview background was right up against the edge of the screen; since that portion of border_view_finder.9.png is very dark, it looked as if there was no border at all. Now there's a guaranteed 2dip of bg_camera_pattern.png texture visible to the left of the viewscreen. Bug: 2655309 Change-Id: I4d4f45542700b8b0fec564b72895e42d9dd29da3
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/camera.xml1
-rw-r--r--res/layout/video_camera.xml1
2 files changed, 2 insertions, 0 deletions
diff --git a/res/layout/camera.xml b/res/layout/camera.xml
index 94613e7..772106b 100644
--- a/res/layout/camera.xml
+++ b/res/layout/camera.xml
@@ -24,6 +24,7 @@
<com.android.camera.PreviewFrameLayout android:id="@+id/frame_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:layout_marginLeft="2dp"
android:layout_weight="1">
<FrameLayout android:id="@+id/frame"
android:layout_width="match_parent"
diff --git a/res/layout/video_camera.xml b/res/layout/video_camera.xml
index ccfd0bf..ea4cf51 100644
--- a/res/layout/video_camera.xml
+++ b/res/layout/video_camera.xml
@@ -24,6 +24,7 @@
<com.android.camera.PreviewFrameLayout android:id="@+id/frame_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:layout_marginLeft="2dip"
android:layout_weight="1">
<FrameLayout android:id="@+id/frame"
android:layout_width="match_parent"