diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2015-03-29 02:09:43 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2015-03-29 02:09:43 -0700 |
commit | 69f0e6845e92f6c1e6424cf19e45e69545bd0072 (patch) | |
tree | 553a2f587bd247673e4bc986733573abaa4b5df9 /res | |
parent | 86eaf8459f23f564579e29f9ad0335f8cb15ca29 (diff) | |
parent | 82d71e41c466f2e3b8370ffdd97aa84bfc9c4ce9 (diff) | |
download | android_packages_apps_Snap-69f0e6845e92f6c1e6424cf19e45e69545bd0072.tar.gz android_packages_apps_Snap-69f0e6845e92f6c1e6424cf19e45e69545bd0072.tar.bz2 android_packages_apps_Snap-69f0e6845e92f6c1e6424cf19e45e69545bd0072.zip |
Merge "SnapdragonCamera: The alert dialog's rotation is not right"
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/panorama_module.xml | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/res/layout/panorama_module.xml b/res/layout/panorama_module.xml index db05b806c..5ae300272 100644 --- a/res/layout/panorama_module.xml +++ b/res/layout/panorama_module.xml @@ -55,6 +55,79 @@ </com.android.camera.ui.RotateLayout> <include layout="@layout/pano_module_review" /> + + <com.android.camera.ui.RotateLayout + android:id="@+id/pano_dialog_layout" + android:gravity="center" + android:layout_gravity="center" + android:layout_width="wrap_content" + android:layout_height="wrap_content" > + + <LinearLayout + android:orientation="vertical" + android:layout_gravity="center" + android:background="@color/popup_background" + android:layout_width="wrap_content" + android:layout_height="wrap_content"> + + <LinearLayout android:id="@+id/pano_dialog_title_layout" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <TextView android:id="@+id/pano_dialog_title" + style="@style/TextAppearance.DialogWindowTitle" + android:gravity="center_vertical" + android:layout_marginLeft="16dip" + android:layout_marginRight="16dip" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/pano_dialog_title" + android:minHeight="64dp"/> + <View style="@style/PopupTitleSeparator" /> + </LinearLayout> + + <LinearLayout + android:orientation="horizontal" + android:background="@color/popup_background" + android:padding="9dp" + android:layout_width="wrap_content" + android:layout_height="wrap_content"> + + <TextView + style="@style/TextAppearance.Medium" + android:id="@+id/pano_dialog_text" + android:layout_gravity="center_vertical" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/pano_dialog_panorama_failed" /> + </LinearLayout> + + <ImageView android:background="@drawable/list_divider" + android:layout_width="match_parent" + android:layout_height="wrap_content" /> + + <LinearLayout android:id="@+id/pano_dialog_button_layout" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="center" + android:minHeight="48dp" + android:orientation="horizontal"> + + <Button android:id="@+id/pano_dialog_button1" + style="@style/Widget.Button.Borderless" + android:gravity="center" + android:maxLines="1" + android:minHeight="48dp" + android:textSize="14sp" + android:text="@string/dialog_ok" + android:layout_weight="1" + android:layout_width="0dp" + android:layout_height="wrap_content" /> + </LinearLayout> + </LinearLayout> + </com.android.camera.ui.RotateLayout> + <include layout="@layout/camera_controls" android:layout_gravity="center" style="@style/CameraControls"/> |