OSDN Git Service

とりあえず、APIレベルの引き上げと Android Jetpack化。
[gokigen/JoggingTimer.git] / wear / src / main / res / layout-round / activity_detail.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <androidx.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         android:layout_width="match_parent"
13         android:layout_height="match_parent"
14         android:id="@+id/time_list"
15         android:orientation="vertical"
16         android:scrollbarAlwaysDrawVerticalTrack="true">
17
18         <TextView
19             android:layout_width="match_parent"
20             android:layout_height="wrap_content"
21             android:id="@+id/detail_title_area"
22             android:text="@string/result_detail"
23             android:textAlignment="center"
24             android:clickable="true"
25             android:focusable="true"
26             android:visibility="gone"
27             />
28         <androidx.wear.widget.WearableRecyclerView
29             android:id="@+id/recycler_detail_view"
30             android:layout_width="match_parent"
31             android:layout_height="match_parent"
32             android:scrollbars="vertical"
33             android:clipChildren="true"
34             android:clipToPadding="true"
35             android:paddingTop="@dimen/list_top_padding"
36             android:paddingBottom="@dimen/list_bottom_padding"
37             android:paddingStart="@dimen/list_start_padding"
38             android:paddingEnd="@dimen/list_end_padding"
39             >
40         </androidx.wear.widget.WearableRecyclerView>
41     </LinearLayout>
42
43     <androidx.wear.widget.drawer.WearableNavigationDrawerView
44         android:id="@+id/top_navigation_drawer"
45         android:layout_width="match_parent"
46         android:layout_height="match_parent"
47         android:background="@color/grey"
48         android:visibility="visible"
49         app:navigationStyle="singlePage" />
50
51     <androidx.wear.widget.drawer.WearableActionDrawerView
52         android:id="@+id/bottom_action_drawer"
53         android:layout_width="match_parent"
54         android:layout_height="match_parent"
55         android:background="@color/grey"
56         android:visibility="gone"
57         app:actionMenu="@menu/selector_detail" />
58
59 </androidx.wear.widget.drawer.WearableDrawerLayout>