viewimage.xml revision 666ea1b28a76aeba74744148b15099254d918671
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2007 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/rootLayout"
19        android:layout_width="fill_parent"
20        android:layout_height="fill_parent">
21
22    <AbsoluteLayout android:id="@+id/slideShowContainer"
23            android:layout_width="fill_parent"
24            android:layout_height="fill_parent">
25        <com.android.camera.ImageViewTouch android:id="@+id/image1_slideShow"
26                android:background="#00000000"
27                android:layout_width="fill_parent"
28                android:layout_height="fill_parent"
29        />
30        <com.android.camera.ImageViewTouch android:id="@+id/image2_slideShow"
31                android:background="#00000000"
32                android:layout_width="fill_parent"
33                android:layout_height="fill_parent"
34        />
35    </AbsoluteLayout>
36
37    <AbsoluteLayout android:id="@+id/abs"
38            android:layout_width="fill_parent"
39            android:layout_height="fill_parent">
40        <com.android.camera.ImageViewTouch android:id="@+id/image"
41                    android:background="#FF000000"
42                    android:focusableInTouchMode="true"
43                    android:layout_width="fill_parent"
44                    android:layout_height="fill_parent" />
45    </AbsoluteLayout>
46    <ImageView android:id="@+id/prev_image"
47            android:clickable="true"
48            android:focusable="false"
49            android:layout_width="wrap_content"
50            android:layout_height="wrap_content"
51            android:layout_alignParentLeft="true"
52            android:layout_centerVertical="true"
53            android:visibility="invisible"
54            android:src="@drawable/btn_camera_arrow_left"
55    />
56
57    <ImageView android:id="@+id/next_image"
58            android:clickable="true"
59            android:focusable="false"
60            android:layout_width="wrap_content"
61            android:layout_height="wrap_content"
62            android:layout_alignParentRight="true"
63            android:layout_centerVertical="true"
64            android:visibility="invisible"
65            android:src="@drawable/btn_camera_arrow_right"
66    />
67
68    <com.android.camera.EvenlySpacedLayout
69            android:visibility="gone"
70            android:id="@+id/action_icon_panel"
71            android:layout_marginTop="20dp"
72            android:layout_width="fill_parent"
73            android:layout_height="wrap_content">
74        <com.android.camera.ActionMenuButton
75                android:id="@+id/setas"
76                android:visibility="gone"
77                android:drawableTop="@drawable/ic_menu_set_as"
78                android:text="@string/camera_set"
79                style="@style/OnscreenActionIcon"
80        />
81        <com.android.camera.ActionMenuButton
82                android:id="@+id/play"
83                android:visibility="gone"
84                android:drawableTop="@drawable/ic_menu_camera_play"
85                android:text="@string/camera_play"
86                style="@style/OnscreenActionIcon"
87        />
88        <com.android.camera.ActionMenuButton
89                android:id="@+id/share"
90                android:visibility="gone"
91                android:drawableTop="@drawable/ic_menu_share"
92                android:text="@string/camera_share"
93                style="@style/OnscreenActionIcon"
94        />
95        <com.android.camera.ActionMenuButton
96                android:id="@+id/discard"
97                android:visibility="gone"
98                android:drawableTop="@drawable/ic_menu_delete"
99                android:text="@string/camera_toss"
100                style="@style/OnscreenActionIcon"
101        />
102        <com.android.camera.ActionMenuButton
103                android:id="@+id/attach"
104                android:visibility="gone"
105                android:drawableTop="@drawable/ic_menu_attach"
106                android:text="@string/camera_attach"
107                style="@style/OnscreenActionIcon"
108        />
109        <com.android.camera.ActionMenuButton
110                android:id="@+id/cancel"
111                android:visibility="gone"
112                android:drawableTop="@drawable/ic_menu_cancel"
113                android:text="@string/camera_cancel"
114                style="@style/OnscreenActionIcon"
115        />
116    </com.android.camera.EvenlySpacedLayout>
117</RelativeLayout>
118
119