OSDN Git Service

・上部エリアのサイズ(高さ)を2dp拡大。
[gokigen/A01c.git] / wear / src / main / res / layout-notround / activity_main.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     xmlns:tools="http://schemas.android.com/tools"
4     xmlns:app="http://schemas.android.com/apk/res-auto"
5     android:layout_width="match_parent"
6     android:layout_height="match_parent"
7     android:orientation="vertical"
8     tools:context="jp.sfjp.gokigen.a01c.MainActivity"
9     tools:deviceIds="wear_square">
10     <FrameLayout
11         android:layout_width="match_parent"
12         android:layout_height="match_parent"
13         android:padding="1dp"
14         app:layout_box="all">
15
16         <jp.sfjp.gokigen.a01c.liveview.CameraLiveImageView
17             android:id="@+id/liveview"
18             android:layout_width="match_parent"
19             android:layout_height="match_parent"
20             android:gravity="center"
21             />
22
23         <LinearLayout
24             android:layout_width="match_parent"
25             android:layout_height="match_parent"
26             android:orientation="horizontal"
27             android:gravity="top"
28             >
29
30             <TextView
31                 android:id="@+id/text_1"
32                 android:layout_width="match_parent"
33                 android:layout_height="18dp"
34                 android:layout_weight="1"
35                 android:text="@string/app_name"
36                 android:textColor="@android:color/white"
37                 android:clickable="true"
38                 android:textSize="12sp" />
39
40             <TextView
41                 android:id="@+id/text_2"
42                 android:layout_width="match_parent"
43                 android:layout_height="18dp"
44                 android:layout_weight="1"
45                 android:text="@string/text_message_blank"
46                 android:textColor="@android:color/white"
47                 android:clickable="true"
48                 android:textSize="12sp" />
49
50             <TextView
51                 android:id="@+id/text_3"
52                 android:layout_width="match_parent"
53                 android:layout_height="18dp"
54                 android:layout_weight="1"
55                 android:text="@string/text_message_blank"
56                 android:textColor="@android:color/white"
57                 android:clickable="true"
58                 android:textSize="12sp" />
59
60             <TextView
61                 android:id="@+id/text_4"
62                 android:layout_width="match_parent"
63                 android:layout_height="18dp"
64                 android:layout_weight="1"
65                 android:text="@string/text_message_blank"
66                 android:textColor="@android:color/holo_orange_light"
67                 android:clickable="true"
68                 android:textSize="12sp" />
69         </LinearLayout>
70
71         <LinearLayout
72             android:layout_width="match_parent"
73             android:layout_height="match_parent">
74
75             <ImageButton
76                 android:id="@+id/btn_1"
77                 android:layout_width="30dp"
78                 android:layout_height="15dp"
79                 android:layout_gravity="bottom"
80                 android:background="@null"
81                 android:clickable="true"
82                 android:contentDescription="@string/description_control_button"
83                 android:src="@drawable/btn_ic_grid_off" />
84
85             <ImageButton
86                 android:id="@+id/btn_2"
87                 android:layout_width="30dp"
88                 android:layout_height="15dp"
89                 android:layout_gravity="bottom"
90                 android:background="@null"
91                 android:clickable="true"
92                 android:contentDescription="@string/description_control_button"
93                 android:src="@drawable/btn_ic_remove_circle_outline" />
94
95             <ImageButton
96                 android:id="@+id/btn_3"
97                 android:layout_width="30dp"
98                 android:layout_height="15dp"
99                 android:layout_gravity="bottom"
100                 android:background="@null"
101                 android:clickable="true"
102                 android:contentDescription="@string/description_control_button"
103                 android:src="@drawable/btn_ic_add_circle_outline" />
104
105             <ImageButton
106                 android:id="@+id/btn_4"
107                 android:layout_width="30dp"
108                 android:layout_height="15dp"
109                 android:layout_gravity="bottom"
110                 android:background="@null"
111                 android:clickable="true"
112                 android:contentDescription="@string/description_control_button"
113                 android:src="@drawable/btn_ic_remove_circle" />
114
115             <ImageButton
116                 android:id="@+id/btn_5"
117                 android:layout_width="30dp"
118                 android:layout_height="15dp"
119                 android:layout_gravity="bottom"
120                 android:background="@null"
121                 android:clickable="true"
122                 android:contentDescription="@string/description_control_button"
123                 android:src="@drawable/btn_ic_add_circle" />
124
125             <ImageButton
126                 android:id="@+id/btn_6"
127                 android:layout_width="30dp"
128                 android:layout_height="15dp"
129                 android:layout_gravity="bottom"
130                 android:background="@null"
131                 android:clickable="true"
132                 android:contentDescription="@string/description_control_button"
133                 android:src="@drawable/btn_ic_camera_alt" />
134         </LinearLayout>
135     </FrameLayout>
136 </LinearLayout>