| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2010 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. |
| --> |
| |
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:id="@+id/review_control" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent"> |
| <com.android.camera.ui.RotateLayout |
| android:id="@+id/btn_done" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_alignParentTop="true" |
| android:layout_centerHorizontal="true" |
| android:visibility="gone" |
| android:layout_marginTop="36dp"> |
| <LinearLayout style="@style/ReviewControlGroup" |
| android:onClick="onReviewDoneClicked"> |
| <ImageView style="@style/ReviewControlIcon" |
| android:src="@drawable/ic_menu_done_holo_light" /> |
| <TextView style="@style/ReviewControlText" |
| android:text="@string/review_ok" /> |
| </LinearLayout> |
| </com.android.camera.ui.RotateLayout> |
| <ImageView android:id="@+id/btn_retake" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_alignParentRight="true" |
| android:layout_centerVertical="true" |
| android:clickable="true" |
| android:focusable="true" |
| android:visibility="gone" |
| android:onClick="onReviewRetakeClicked" |
| android:background="@drawable/btn_shutter_retake" /> |
| <com.android.camera.ui.RotateLayout |
| android:id="@+id/btn_cancel" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_alignParentBottom="true" |
| android:layout_centerHorizontal="true" |
| android:visibility="gone" |
| android:layout_marginBottom="36dp"> |
| <LinearLayout style="@style/ReviewControlGroup" |
| android:onClick="onReviewCancelClicked"> |
| <ImageView style="@style/ReviewControlIcon" |
| android:src="@drawable/ic_menu_cancel_holo_light" /> |
| <TextView style="@style/ReviewControlText" |
| android:text="@string/review_cancel" /> |
| </LinearLayout> |
| </com.android.camera.ui.RotateLayout> |
| </RelativeLayout> |