OSDN Git Service

詳細タイムを表示しているところに、編集メニューを追加。
[gokigen/JoggingTimer.git] / wear / src / main / res / layout-round / activity_list.xml
index 9b6a95b..77b705a 100644 (file)
@@ -1,30 +1,39 @@
 <?xml version="1.0" encoding="utf-8"?>
-<LinearLayout
+<android.support.wear.widget.drawer.WearableDrawerLayout
     xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:app="http://schemas.android.com/apk/res-auto"
+    xmlns:tools="http://schemas.android.com/tools"
+    android:id="@+id/list_drawer_layout"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    android:id="@+id/time_list"
-    android:orientation="vertical"
-    android:scrollbarAlwaysDrawVerticalTrack="true">
-    <TextView
-        android:layout_width="match_parent"
-        android:layout_height="wrap_content"
-        android:id="@+id/list_title_area"
-        android:text="@string/result_list"
-        android:textAlignment="center"
-        android:clickable="true"
-        android:focusable="true"
-        android:visibility="gone"
-        />
-    <android.support.wear.widget.WearableRecyclerView
+    android:background="@color/black"
+    tools:context="net.osdn.gokigen.joggingtimer.recordlist.ListActivity">
+
+    <LinearLayout
         xmlns:android="http://schemas.android.com/apk/res/android"
-        android:id="@+id/recycler_list_view"
         android:layout_width="match_parent"
         android:layout_height="match_parent"
-        android:scrollbars="vertical"
-        >
-
-    </android.support.wear.widget.WearableRecyclerView>
-
+        android:id="@+id/time_list"
+        android:orientation="vertical"
+        android:scrollbarAlwaysDrawVerticalTrack="true">
+        <TextView
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:id="@+id/list_title_area"
+            android:text="@string/result_list"
+            android:textAlignment="center"
+            android:clickable="true"
+            android:focusable="true"
+            android:visibility="gone"
+            />
+        <android.support.wear.widget.WearableRecyclerView
+            xmlns:android="http://schemas.android.com/apk/res/android"
+            android:id="@+id/recycler_list_view"
+            android:layout_width="match_parent"
+            android:layout_height="match_parent"
+            android:scrollbars="vertical"
+            >
+        </android.support.wear.widget.WearableRecyclerView>
+    </LinearLayout>
 
-</LinearLayout>
+</android.support.wear.widget.drawer.WearableDrawerLayout>