summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorAngus Kong <shkong@google.com>2011-08-31 21:57:16 +0800
committerAngus Kong <shkong@google.com>2011-09-01 14:47:32 +0800
commite67e0c4f86c305d5c6e1706c32fe5feb067ed3d2 (patch)
tree2eee37170e89f23423e184ce377863ea15f09691 /res/layout
parentb69aa1513070fc9b799c48a9257fddbc04ace7dd (diff)
downloadpackages_apps_LegacyCamera-e67e0c4f86c305d5c6e1706c32fe5feb067ed3d2.zip
packages_apps_LegacyCamera-e67e0c4f86c305d5c6e1706c32fe5feb067ed3d2.tar.gz
packages_apps_LegacyCamera-e67e0c4f86c305d5c6e1706c32fe5feb067ed3d2.tar.bz2
Preview after capturing now fills the view.
bug:5141495 Change-Id: I47ba7d3070dca0d94554ad5ffbbaeb9f2373fbd9
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/pano_review.xml15
1 files changed, 7 insertions, 8 deletions
diff --git a/res/layout/pano_review.xml b/res/layout/pano_review.xml
index 07bc15d..0478580 100644
--- a/res/layout/pano_review.xml
+++ b/res/layout/pano_review.xml
@@ -14,21 +14,20 @@
limitations under the License.
-->
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/pano_review_layout"
android:visibility="invisible"
android:orientation="vertical"
- android:gravity="fill_horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
+ <View style="@style/PanoViewHorizontalGrayBar"/>
+
<ImageView android:id="@+id/pano_reviewarea"
- android:scaleType="center"
+ android:scaleType="fitCenter"
android:layout_width="match_parent"
- android:layout_height="match_parent" />
-
- <View style="@style/PanoViewHorizontalGrayBar"
- android:layout_alignParentTop="true" />
+ android:layout_height="0dp"
+ android:layout_weight="1" />
<LinearLayout android:id="@+id/pano_review_control"
style="@style/PanoViewHorizontalGrayBar"
@@ -52,4 +51,4 @@
android:layout_width="wrap_content"
android:layout_height="@dimen/pano_review_button_height" />
</LinearLayout>
-</RelativeLayout>
+</LinearLayout>