OSDN Git Service

記録情報の編集ダイアログを作成してみた。
[gokigen/JoggingTimer.git] / wear / src / main / res / layout-notround / information_dialog.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     android:id="@+id/info_edit_data"
4     android:orientation="horizontal"
5     android:layout_width="fill_parent"
6     android:layout_height="fill_parent"
7     android:padding="5dp"
8     >
9     <Spinner
10         android:id="@+id/spinner_selection"
11         android:layout_width="wrap_content"
12         android:layout_height="wrap_content"
13         android:layout_weight="1"
14         android:text="@string/blank"
15         android:visibility="visible" />
16
17     <EditText android:id="@+id/edit_title"
18         android:layout_width="wrap_content"
19         android:layout_height="fill_parent"
20         android:autoLink="all"
21         android:linksClickable="true"
22         android:inputType="text"
23         android:hint="@string/dialog_title_hint"
24         android:textColor="#FFF"
25         android:layout_weight="5"
26         />
27
28     <TextView android:id="@+id/info_message"
29         android:layout_width="wrap_content"
30         android:layout_height="fill_parent"
31         android:autoLink="all"
32         android:linksClickable="false"
33         android:textColor="#FFF"
34         android:visibility="gone"
35         />
36     <ImageView android:id="@+id/current_icon"
37         android:layout_width="wrap_content"
38         android:layout_height="fill_parent"
39         android:contentDescription="@string/blank"
40         android:layout_marginEnd="10dp"
41         android:visibility="gone"
42         />
43 </LinearLayout>