summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorByunghun Jeon <bjeon@codeaurora.org>2015-02-24 12:58:05 -0800
committerByunghun Jeon <bjeon@codeaurora.org>2015-02-25 10:36:45 -0800
commit1de5c96a551b30990c776c7d70c2c091271fdf26 (patch)
treefd9d18e965a99c803dd0ff4cbfd49eb30e4fe347 /res/layout
parent6300585596205173da6c962b48630a3bee2c4b77 (diff)
downloadandroid_packages_apps_Snap-1de5c96a551b30990c776c7d70c2c091271fdf26.tar.gz
android_packages_apps_Snap-1de5c96a551b30990c776c7d70c2c091271fdf26.tar.bz2
android_packages_apps_Snap-1de5c96a551b30990c776c7d70c2c091271fdf26.zip
Snapdragon: Fix orientation of Prepare panorama dialog
Put Prepare panorama dialog to proper orientation instead of fixed to portrait Change-Id: I0f3bc9bcd5a5e30566c37b1e7beac9df73af7e61
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/panorama_module.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/res/layout/panorama_module.xml b/res/layout/panorama_module.xml
index 581170f07..db05b806c 100644
--- a/res/layout/panorama_module.xml
+++ b/res/layout/panorama_module.xml
@@ -25,6 +25,35 @@
android:layout_height="match_parent"
android:background="@android:color/black"
android:visibility="gone" />
+
+ <com.android.camera.ui.RotateLayout
+ android:id="@+id/waitingDialog"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center" >
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@color/pano_progress_empty"
+ android:orientation="horizontal"
+ android:padding="10dp" >
+
+ <ProgressBar
+ style="@android:attr/progressBarStyle"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:layout_marginRight="12dp" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:text="@string/pano_dialog_prepare_preview" />
+ </LinearLayout>
+ </com.android.camera.ui.RotateLayout>
+
<include layout="@layout/pano_module_review" />
<include layout="@layout/camera_controls"
android:layout_gravity="center"