review_control.xml revision f0b7d4b0d1823ea547e4976544866fa35f577898
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009 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        xmlns:camera="http://schemas.android.com/apk/res/com.android.camera"
19        android:id="@+id/button_bar"
20        android:gravity="center_horizontal"
21        android:layout_height="fill_parent"
22        android:layout_width="77dp"
23        android:layout_marginTop="13dp"
24        android:layout_marginBottom="10dp"
25        android:layout_alignParentRight="true">
26    <com.android.camera.EvenlySpacedLayout
27            camera:orientation="vertical"
28            camera:keepEndSpace="false"
29            android:layout_height="fill_parent"
30            android:layout_width="fill_parent">
31        <LinearLayout style="@style/ReviewControlGroup">
32            <ImageView style="@style/ReviewControlIcon"
33                    android:id="@+id/btn_delete"
34                    android:src="@drawable/btn_ic_review_delete"/>
35            <TextView style="@style/ReviewControlText"
36                    android:text="@string/review_toss" />
37        </LinearLayout>
38        <LinearLayout style="@style/ReviewControlGroup">
39            <ImageView style="@style/ReviewControlIcon"
40                    android:id="@+id/btn_share"
41                    android:src="@drawable/btn_ic_review_share"/>
42            <TextView style="@style/ReviewControlText"
43                    android:text="@string/review_share" />
44        </LinearLayout>
45        <LinearLayout style="@style/ReviewControlGroup">
46            <ImageView style="@style/ReviewControlIcon"
47                    android:id="@+id/btn_play"
48                    android:src="@drawable/btn_ic_review_play"/>
49            <TextView style="@style/ReviewControlText"
50                    android:text="@string/review_play" />
51        </LinearLayout>
52        <LinearLayout style="@style/ReviewControlGroup">
53            <ImageView style="@style/ReviewControlIcon"
54                    android:id="@+id/btn_set_as"
55                    android:src="@drawable/btn_ic_review_set_as"/>
56            <TextView style="@style/ReviewControlText"
57                    android:text="@string/review_set" />
58        </LinearLayout>
59        <LinearLayout style="@style/ReviewControlGroup">
60            <ImageView style="@style/ReviewControlIcon"
61                    android:id="@+id/btn_done"
62                    android:src="@drawable/btn_ic_review_done"/>
63            <TextView style="@style/ReviewControlText"
64                    android:text="@string/review_done" />
65        </LinearLayout>
66    </com.android.camera.EvenlySpacedLayout>
67</RelativeLayout>
68
69