1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2014 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16<!-- layout-port --> 17<merge xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="match_parent"> 20 21 <com.android.camera.ui.TopRightWeightedLayout 22 android:id="@+id/bottombar_intent_review" 23 android:layout_width="match_parent" 24 android:layout_height="match_parent" 25 android:orientation="horizontal" 26 android:gravity="center" 27 android:visibility="invisible" 28 android:background="@color/camera_gray_background" > 29 <ImageButton 30 android:id="@+id/retake_button" 31 android:layout_width="wrap_content" 32 android:layout_height="wrap_content" 33 android:layout_gravity="center" 34 android:padding="24dp" 35 android:src="@drawable/ic_back" 36 android:background="@null" 37 android:contentDescription="@string/retake_button_description" /> 38 <FrameLayout 39 android:layout_width="wrap_content" 40 android:layout_height="wrap_content" 41 android:layout_gravity="center" 42 android:layout_weight="1" 43 android:background="@null" > 44 <ImageButton 45 android:id="@+id/done_button" 46 android:layout_width="wrap_content" 47 android:layout_height="wrap_content" 48 android:layout_gravity="center" 49 android:src="@drawable/ic_confirm" 50 android:background="@null" 51 android:contentDescription="@string/done_button_description" /> 52 </FrameLayout> 53 <ImageButton 54 android:id="@+id/cancel_button" 55 android:layout_width="wrap_content" 56 android:layout_height="wrap_content" 57 android:layout_gravity="center" 58 android:padding="24dp" 59 android:src="@drawable/ic_cancel" 60 android:background="@null" 61 android:contentDescription="@string/cancel_button_description" /> 62 </com.android.camera.ui.TopRightWeightedLayout> 63</merge> 64