OSDN Git Service

詳細タイムを表示しているところに、編集メニューを追加。
[gokigen/JoggingTimer.git] / wear / src / main / res / layout-notround / activity_detail.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <android.support.wear.widget.drawer.WearableDrawerLayout
3     xmlns:android="http://schemas.android.com/apk/res/android"
4     xmlns:app="http://schemas.android.com/apk/res-auto"
5     xmlns:tools="http://schemas.android.com/tools"
6     android:id="@+id/detail_drawer_layout"
7     android:layout_width="match_parent"
8     android:layout_height="match_parent"
9     android:background="@color/black"
10     tools:context="net.osdn.gokigen.joggingtimer.recorddetail.DetailActivity">
11
12     <LinearLayout
13         xmlns:android="http://schemas.android.com/apk/res/android"
14         android:layout_width="match_parent"
15         android:layout_height="match_parent"
16         android:id="@+id/time_list"
17         android:orientation="vertical"
18         android:scrollbarAlwaysDrawVerticalTrack="true">
19
20         <TextView
21             android:layout_width="match_parent"
22             android:layout_height="wrap_content"
23             android:id="@+id/detail_title_area"
24             android:text="@string/result_detail"
25             android:textAlignment="center"
26             android:clickable="true"
27             android:focusable="true"
28             android:visibility="visible"
29             />
30         <android.support.wear.widget.WearableRecyclerView
31             xmlns:android="http://schemas.android.com/apk/res/android"
32             android:id="@+id/recycler_detail_view"
33             android:layout_width="match_parent"
34             android:layout_height="match_parent"
35             android:scrollbars="vertical"
36             >
37
38         </android.support.wear.widget.WearableRecyclerView>
39     </LinearLayout>
40
41     <android.support.wear.widget.drawer.WearableNavigationDrawerView
42         android:id="@+id/top_navigation_drawer"
43         android:layout_width="match_parent"
44         android:layout_height="match_parent"
45         android:background="@color/grey"
46         android:visibility="gone"
47         app:navigationStyle="multiPage" />
48
49     <android.support.wear.widget.drawer.WearableActionDrawerView
50         android:id="@+id/bottom_action_drawer"
51         android:layout_width="match_parent"
52         android:layout_height="match_parent"
53         android:background="@color/grey"
54         android:visibility="visible"
55         app:actionMenu="@menu/selector_detail" />
56
57 </android.support.wear.widget.drawer.WearableDrawerLayout>