OSDN Git Service

ddeae9bd702ab30d73b633e9377a7e75660e9716
[gokigen/JoggingTimer.git] / wear / src / main / res / layout-round / 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     <LinearLayout
12         xmlns:android="http://schemas.android.com/apk/res/android"
13         android:layout_width="match_parent"
14         android:layout_height="match_parent"
15         android:id="@+id/time_list"
16         android:orientation="vertical"
17         android:scrollbarAlwaysDrawVerticalTrack="true">
18
19         <TextView
20             android:layout_width="match_parent"
21             android:layout_height="wrap_content"
22             android:id="@+id/detail_title_area"
23             android:text="@string/result_detail"
24             android:textAlignment="center"
25             android:clickable="true"
26             android:focusable="true"
27             android:visibility="gone"
28             />
29         <android.support.wear.widget.WearableRecyclerView
30             xmlns:android="http://schemas.android.com/apk/res/android"
31             android:id="@+id/recycler_detail_view"
32             android:layout_width="match_parent"
33             android:layout_height="match_parent"
34             android:scrollbars="vertical"
35             >
36         </android.support.wear.widget.WearableRecyclerView>
37     </LinearLayout>
38
39     <android.support.wear.widget.drawer.WearableNavigationDrawerView
40         android:id="@+id/top_navigation_drawer"
41         android:layout_width="match_parent"
42         android:layout_height="match_parent"
43         android:background="@color/grey"
44         android:visibility="visible"
45         app:navigationStyle="singlePage" />
46
47     <android.support.wear.widget.drawer.WearableActionDrawerView
48         android:id="@+id/bottom_action_drawer"
49         android:layout_width="match_parent"
50         android:layout_height="match_parent"
51         android:background="@color/grey"
52         android:visibility="gone"
53         app:actionMenu="@menu/selector_detail" />
54
55 </android.support.wear.widget.drawer.WearableDrawerLayout>