diff options
author | Chung-yih Wang <cywang@google.com> | 2011-10-18 12:47:44 +0800 |
---|---|---|
committer | Chung-yih Wang <cywang@google.com> | 2011-11-01 15:31:16 +0800 |
commit | d33109730e0ab81230f84e2bd35599e8e24fc4ba (patch) | |
tree | df80db1d6647bf952f495a81d8ab67ee7498880d /res/layout/panorama.xml | |
parent | abf79a3e25e6c631275e9f81424c0aa25ec9191b (diff) | |
download | LegacyCamera-d33109730e0ab81230f84e2bd35599e8e24fc4ba.tar.gz LegacyCamera-d33109730e0ab81230f84e2bd35599e8e24fc4ba.tar.bz2 LegacyCamera-d33109730e0ab81230f84e2bd35599e8e24fc4ba.zip |
Change the default orientation to portrait.
bug:5446617
Since the orientation is mainly portrait on phones, the default
orientation of an application will decide if the window animation will
be played before it starts. In order to reduce the launch time of Camera
apps, this change is to skip the window animations by changing the default
orientation to portrait.
Change-Id: I6682ab408d7e8d1f0580f3c1600b6c9c3d6a7f6e
Diffstat (limited to 'res/layout/panorama.xml')
-rw-r--r-- | res/layout/panorama.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/res/layout/panorama.xml b/res/layout/panorama.xml index 2b25fe11..d56cca00 100644 --- a/res/layout/panorama.xml +++ b/res/layout/panorama.xml @@ -17,9 +17,10 @@ <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:camera="http://schemas.android.com/apk/res/com.android.camera" android:id="@+id/pano_layout" - android:layout_height="match_parent" - android:layout_width="match_parent"> + android:layout_width="match_parent" + android:layout_height="match_parent"> <include layout="@layout/pano_capture" /> <include layout="@layout/pano_review" /> + <include layout="@layout/pano_rotate_dialog" /> </RelativeLayout> |