Spike Sprague | b4a2222 | 2014-05-22 14:40:53 -0700 | [diff] [blame^] | 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 | <merge xmlns:android="http://schemas.android.com/apk/res/android" |
| 17 | android:layout_width="match_parent" |
| 18 | android:layout_height="match_parent"> |
| 19 | |
| 20 | <com.android.camera.ui.TopRightWeightedLayout |
| 21 | android:id="@+id/bottombar_intent_review" |
| 22 | android:layout_width="match_parent" |
| 23 | android:layout_height="match_parent" |
| 24 | android:orientation="horizontal" |
| 25 | android:gravity="center" |
| 26 | android:visibility="invisible" |
| 27 | android:background="@null" > |
| 28 | <ImageButton |
| 29 | android:id="@+id/retake_button" |
| 30 | android:layout_width="wrap_content" |
| 31 | android:layout_height="wrap_content" |
| 32 | android:layout_gravity="left|center_vertical" |
| 33 | android:paddingLeft="24dp" |
| 34 | android:src="@drawable/ic_back" |
| 35 | android:background="@null" |
| 36 | android:contentDescription="@string/retake_button_description" /> |
| 37 | <ImageButton |
| 38 | android:id="@+id/done_button" |
| 39 | android:layout_width="wrap_content" |
| 40 | android:layout_height="wrap_content" |
| 41 | android:layout_gravity="center" |
| 42 | android:src="@drawable/ic_confirm" |
| 43 | android:layout_weight="1" |
| 44 | android:background="@null" |
| 45 | android:contentDescription="@string/done_button_description" /> |
| 46 | <ImageButton |
| 47 | android:id="@+id/cancel_button" |
| 48 | android:layout_width="wrap_content" |
| 49 | android:layout_height="wrap_content" |
| 50 | android:layout_gravity="right|center_vertical" |
| 51 | android:paddingRight="24dp" |
| 52 | android:src="@drawable/ic_cancel" |
| 53 | android:background="@null" |
| 54 | android:contentDescription="@string/cancel_button_description" /> |
| 55 | </com.android.camera.ui.TopRightWeightedLayout> |
| 56 | </merge> |