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 | --> |
Spike Sprague | d9516f2 | 2014-07-18 17:34:03 -0700 | [diff] [blame] | 16 | <!-- layout-port --> |
Spike Sprague | b4a2222 | 2014-05-22 14:40:53 -0700 | [diff] [blame] | 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" |
Spike Sprague | d9516f2 | 2014-07-18 17:34:03 -0700 | [diff] [blame] | 28 | android:background="@color/bottombar_unpressed" > |
Spike Sprague | b4a2222 | 2014-05-22 14:40:53 -0700 | [diff] [blame] | 29 | <ImageButton |
| 30 | android:id="@+id/retake_button" |
| 31 | android:layout_width="wrap_content" |
| 32 | android:layout_height="wrap_content" |
Spike Sprague | 2268fbb | 2014-09-19 17:43:13 -0700 | [diff] [blame] | 33 | android:layout_gravity="center" |
| 34 | android:padding="24dp" |
Spike Sprague | b4a2222 | 2014-05-22 14:40:53 -0700 | [diff] [blame] | 35 | android:src="@drawable/ic_back" |
| 36 | android:background="@null" |
| 37 | android:contentDescription="@string/retake_button_description" /> |
Spike Sprague | 2268fbb | 2014-09-19 17:43:13 -0700 | [diff] [blame] | 38 | <FrameLayout |
Spike Sprague | b4a2222 | 2014-05-22 14:40:53 -0700 | [diff] [blame] | 39 | android:layout_width="wrap_content" |
| 40 | android:layout_height="wrap_content" |
| 41 | android:layout_gravity="center" |
Spike Sprague | b4a2222 | 2014-05-22 14:40:53 -0700 | [diff] [blame] | 42 | android:layout_weight="1" |
Spike Sprague | 2268fbb | 2014-09-19 17:43:13 -0700 | [diff] [blame] | 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> |
Spike Sprague | b4a2222 | 2014-05-22 14:40:53 -0700 | [diff] [blame] | 53 | <ImageButton |
| 54 | android:id="@+id/cancel_button" |
| 55 | android:layout_width="wrap_content" |
| 56 | android:layout_height="wrap_content" |
Spike Sprague | 2268fbb | 2014-09-19 17:43:13 -0700 | [diff] [blame] | 57 | android:layout_gravity="center" |
| 58 | android:padding="24dp" |
Spike Sprague | b4a2222 | 2014-05-22 14:40:53 -0700 | [diff] [blame] | 59 | android:src="@drawable/ic_cancel" |
| 60 | android:background="@null" |
| 61 | android:contentDescription="@string/cancel_button_description" /> |
| 62 | </com.android.camera.ui.TopRightWeightedLayout> |
Spike Sprague | d9516f2 | 2014-07-18 17:34:03 -0700 | [diff] [blame] | 63 | </merge> |