OSDN Git Service

記録データのタイトル編集を少し変更。機能的には一揃い。
[gokigen/JoggingTimer.git] / wear / src / main / res / layout-notround / information_dialog.xml
index 8b4c3c8..7b8532d 100644 (file)
@@ -1,43 +1,41 @@
 <?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-    android:id="@+id/info_edit_data"
-    android:orientation="horizontal"
-    android:layout_width="fill_parent"
-    android:layout_height="fill_parent"
-    android:padding="5dp"
-    >
-    <Spinner
-        android:id="@+id/spinner_selection"
-        android:layout_width="wrap_content"
-        android:layout_height="wrap_content"
-        android:layout_weight="1"
-        android:text="@string/blank"
-        android:visibility="visible" />
+<android.support.wear.widget.drawer.WearableDrawerLayout
+    xmlns:android="http://schemas.android.com/apk/res/android"
+    android:id="@+id/list_drawer_layout"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    android:nestedScrollingEnabled="true"
+    android:background="@color/white">
+    <ScrollView
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content">
 
-    <EditText android:id="@+id/edit_title"
-        android:layout_width="wrap_content"
-        android:layout_height="fill_parent"
-        android:autoLink="all"
-        android:linksClickable="true"
-        android:inputType="text"
-        android:hint="@string/dialog_title_hint"
-        android:textColor="#FFF"
-        android:layout_weight="5"
-        />
+        <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+            android:id="@+id/info_edit_data"
+            android:orientation="vertical"
+            android:layout_width="fill_parent"
+            android:layout_height="wrap_content"
+            android:padding="6dp"
+            >
 
-    <TextView android:id="@+id/info_message"
-        android:layout_width="wrap_content"
-        android:layout_height="fill_parent"
-        android:autoLink="all"
-        android:linksClickable="false"
-        android:textColor="#FFF"
-        android:visibility="gone"
-        />
-    <ImageView android:id="@+id/current_icon"
-        android:layout_width="wrap_content"
-        android:layout_height="fill_parent"
-        android:contentDescription="@string/blank"
-        android:layout_marginEnd="10dp"
-        android:visibility="gone"
-        />
-</LinearLayout>
+            <Spinner
+                android:id="@+id/spinner_selection"
+                android:layout_width="fill_parent"
+                android:layout_height="wrap_content"
+                android:text="@string/blank"
+                android:background="@color/white"
+                android:foregroundTint="@color/black"
+                android:visibility="visible" />
+
+            <EditText android:id="@+id/edit_title"
+                android:layout_width="fill_parent"
+                android:layout_height="wrap_content"
+                android:autoLink="all"
+                android:linksClickable="true"
+                android:inputType="text"
+                android:hint="@string/dialog_title_hint"
+                android:textColor="#000"
+                />
+        </LinearLayout>
+    </ScrollView>
+</android.support.wear.widget.drawer.WearableDrawerLayout>