diff options
| author | Angus Kong <shkong@google.com> | 2011-09-06 15:04:08 -0700 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-09-06 15:04:08 -0700 |
| commit | 3ffd465511aecea6ccfbebcc5ea82c275e48bbb8 (patch) | |
| tree | c5c71e93673162f18f0c92fe3ce9e1ac39b1e0f0 /res | |
| parent | 086d0c78ad0ca37819dbd1ab021ed249e8760aea (diff) | |
| parent | a466abbd54caa8100a1ef6584a5b0db78224a125 (diff) | |
| download | LegacyCamera-3ffd465511aecea6ccfbebcc5ea82c275e48bbb8.zip LegacyCamera-3ffd465511aecea6ccfbebcc5ea82c275e48bbb8.tar.gz LegacyCamera-3ffd465511aecea6ccfbebcc5ea82c275e48bbb8.tar.bz2 | |
Merge "The controls stay while capturing."
Diffstat (limited to 'res')
| -rw-r--r-- | res/anim/slide_in_from_right.xml | 22 | ||||
| -rw-r--r-- | res/anim/slide_out_to_right.xml | 22 | ||||
| -rw-r--r-- | res/layout/pano_capture.xml | 51 |
3 files changed, 29 insertions, 66 deletions
diff --git a/res/anim/slide_in_from_right.xml b/res/anim/slide_in_from_right.xml deleted file mode 100644 index 567c2a1..0000000 --- a/res/anim/slide_in_from_right.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2011 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<translate xmlns:android="http://schemas.android.com/apk/res/android" - android:interpolator="@android:anim/decelerate_interpolator" - android:fromXDelta="100%" - android:toXDelta="0%" - android:duration="300"> -</translate> diff --git a/res/anim/slide_out_to_right.xml b/res/anim/slide_out_to_right.xml deleted file mode 100644 index 01a321b..0000000 --- a/res/anim/slide_out_to_right.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2011 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<translate xmlns:android="http://schemas.android.com/apk/res/android" - android:interpolator="@android:anim/decelerate_interpolator" - android:fromXDelta="0%" - android:toXDelta="100%" - android:duration="300"> -</translate> diff --git a/res/layout/pano_capture.xml b/res/layout/pano_capture.xml index 7736ddf..3af0f34 100644 --- a/res/layout/pano_capture.xml +++ b/res/layout/pano_capture.xml @@ -20,33 +20,42 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - <LinearLayout android:id="@+id/pano_capture_preview" + <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" - android:orientation="vertical"> + android:orientation="horizontal"> - <ImageView style="@style/PanoViewHorizontalGrayBar"/> + <LinearLayout android:id="@+id/pano_capture_preview" + android:layout_width="0dp" + android:layout_height="match_parent" + android:layout_weight="1" + android:orientation="vertical"> - <com.android.camera.panorama.MosaicRendererSurfaceView - android:id="@+id/pano_renderer" - android:layout_gravity="center" - android:layout_width="@dimen/pano_mosaic_surface_width" - android:layout_height="@dimen/pano_mosaic_surface_height" /> + <ImageView style="@style/PanoViewHorizontalGrayBar"/> - <LinearLayout android:id="@+id/pano_capture_control" - style="@style/PanoViewHorizontalGrayBar" - android:gravity="right" - android:visibility="visible" - android:orientation="horizontal"> + <com.android.camera.panorama.MosaicRendererSurfaceView + android:id="@+id/pano_renderer" + android:layout_gravity="center" + android:layout_width="@dimen/pano_mosaic_surface_width" + android:layout_height="@dimen/pano_mosaic_surface_height" /> - <Button android:id="@+id/pano_capture_stop_button" - android:text="@string/pano_capture_stop" - android:onClick="onStopButtonClicked" - android:visibility="gone" - android:textAppearance="?android:textAppearanceMedium" - android:layout_width="@dimen/pano_capture_stop_button_width" - android:layout_height="@dimen/pano_capture_stop_button_width" /> + <LinearLayout android:id="@+id/pano_capture_control" + style="@style/PanoViewHorizontalGrayBar" + android:gravity="right" + android:visibility="visible" + android:orientation="horizontal"> + + <Button android:id="@+id/pano_capture_stop_button" + android:text="@string/pano_capture_stop" + android:onClick="onStopButtonClicked" + android:visibility="gone" + android:textAppearance="?android:textAppearanceMedium" + android:layout_width="@dimen/pano_capture_stop_button_width" + android:layout_height="@dimen/pano_capture_stop_button_width" /> + </LinearLayout> </LinearLayout> + <include layout="@layout/pano_control" /> + </LinearLayout> <com.android.camera.panorama.IndicationView @@ -57,8 +66,6 @@ android:layout_width="@dimen/pano_indication_width" android:layout_height="@dimen/pano_indication_height" /> - <include layout="@layout/pano_control" android:id="@+id/pano_control_layout" /> - <TextView android:id="@+id/pano_capture_too_fast_textview" android:text="@string/pano_too_fast_prompt" android:textAppearance="?android:textAppearanceMedium" |
