summaryrefslogtreecommitdiffstats
path: root/res/layout-port
diff options
context:
space:
mode:
authorSpike Sprague <spikuru@google.com>2014-05-22 14:40:53 -0700
committerSpike Sprague <spikuru@google.com>2014-06-09 14:42:48 -0700
commitb4a2222950f627a39267636fba19649974cb8734 (patch)
tree7efb114ae74e97f735ac4253d80c480fab8ebb9e /res/layout-port
parent6ed977348c44c262b2d0e2c96bfdd13698ca8f77 (diff)
downloadandroid_packages_apps_Camera2-b4a2222950f627a39267636fba19649974cb8734.tar.gz
android_packages_apps_Camera2-b4a2222950f627a39267636fba19649974cb8734.tar.bz2
android_packages_apps_Camera2-b4a2222950f627a39267636fba19649974cb8734.zip
intent captrue review gets its own ImageView!
instead of relying on a stopped preview TextureView bug: 13526027 Change-Id: I40d2a97d15ed5d27b0000fa0a6d96af03ad55cf9
Diffstat (limited to 'res/layout-port')
-rw-r--r--res/layout-port/retake_done_cancel_layout.xml56
1 files changed, 56 insertions, 0 deletions
diff --git a/res/layout-port/retake_done_cancel_layout.xml b/res/layout-port/retake_done_cancel_layout.xml
new file mode 100644
index 000000000..13fbe413d
--- /dev/null
+++ b/res/layout-port/retake_done_cancel_layout.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2014 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.
+-->
+<merge xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <com.android.camera.ui.TopRightWeightedLayout
+ android:id="@+id/bottombar_intent_review"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="horizontal"
+ android:gravity="center"
+ android:visibility="invisible"
+ android:background="@null" >
+ <ImageButton
+ android:id="@+id/retake_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="left|center_vertical"
+ android:paddingLeft="24dp"
+ android:src="@drawable/ic_back"
+ android:background="@null"
+ android:contentDescription="@string/retake_button_description" />
+ <ImageButton
+ android:id="@+id/done_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:src="@drawable/ic_confirm"
+ android:layout_weight="1"
+ android:background="@null"
+ android:contentDescription="@string/done_button_description" />
+ <ImageButton
+ android:id="@+id/cancel_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="right|center_vertical"
+ android:paddingRight="24dp"
+ android:src="@drawable/ic_cancel"
+ android:background="@null"
+ android:contentDescription="@string/cancel_button_description" />
+ </com.android.camera.ui.TopRightWeightedLayout>
+</merge> \ No newline at end of file