review_control.xml revision d33109730e0ab81230f84e2bd35599e8e24fc4ba
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 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
17<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
18        android:id="@+id/review_control"
19        android:layout_height="match_parent"
20        android:layout_width="match_parent">
21    <com.android.camera.ui.RotateImageView android:id="@+id/btn_done"
22            style="@style/ReviewControlIcon"
23            android:visibility="gone"
24            android:layout_alignParentRight="true"
25            android:layout_marginRight="20dp"
26            android:onClick="onReviewDoneClicked"
27            android:src="@drawable/ic_menu_done_holo_light" />
28    <ImageView android:id="@+id/btn_retake"
29            android:layout_height="wrap_content"
30            android:layout_width="wrap_content"
31            android:layout_centerInParent="true"
32            android:clickable="true"
33            android:focusable="true"
34            android:visibility="gone"
35            android:onClick="onReviewRetakeClicked"
36            android:background="@drawable/btn_shutter_retake" />
37    <com.android.camera.ui.RotateImageView android:id="@+id/btn_cancel"
38            style="@style/ReviewControlIcon"
39            android:visibility="gone"
40            android:layout_alignParentLeft="true"
41            android:layout_marginLeft="20dp"
42            android:onClick="onReviewCancelClicked"
43            android:src="@drawable/ic_menu_cancel_holo_light" />
44</RelativeLayout>
45