OSDN Git Service

レイアウトを見直し(途中)。
[gokigen/JoggingTimer.git] / wear / src / main / res / layout / activity_list.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/list_drawer_layout"
7     android:layout_width="match_parent"
8     android:layout_height="match_parent"
9     android:background="@color/black"
10     android:layoutMode="clipBounds"
11     tools:context="net.osdn.gokigen.joggingtimer.recordlist.ListActivity">
12
13     <LinearLayout
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/list_title_area"
24             android:text="@string/result_list"
25             android:textAlignment="center"
26             android:clickable="true"
27             android:focusable="true"
28             android:visibility="visible"
29             />
30         <androidx.wear.widget.WearableRecyclerView
31             android:id="@+id/recycler_list_view"
32             android:layout_width="match_parent"
33             android:layout_height="match_parent"
34             android:clipChildren="true"
35             android:clipToPadding="true"
36             android:paddingTop="@dimen/list_top_padding"
37             android:paddingBottom="@dimen/list_bottom_padding"
38             android:paddingStart="@dimen/list_start_padding"
39             android:paddingEnd="@dimen/list_end_padding"
40             android:scrollbars="vertical"
41             >
42         </androidx.wear.widget.WearableRecyclerView>
43
44     </LinearLayout>
45
46     <androidx.wear.widget.drawer.WearableNavigationDrawerView
47         android:id="@+id/list_top_navigation_drawer"
48         android:layout_width="match_parent"
49         android:layout_height="match_parent"
50         android:background="@color/grey"
51         android:visibility="visible"
52         app:navigationStyle="singlePage" />
53
54
55 </androidx.wear.widget.drawer.WearableDrawerLayout>