• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  Copyright (C) 2023 The Android Open Source Project
4
5  Licensed under the Apache License, Version 2.0 (the "License");
6  you may not use this file except in compliance with the License.
7  You may obtain a copy of the License at
8
9       http://www.apache.org/licenses/LICENSE-2.0
10
11  Unless required by applicable law or agreed to in writing, software
12  distributed under the License is distributed on an "AS IS" BASIS,
13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  See the License for the specific language governing permissions and
15  limitations under the License.
16-->
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="match_parent"
19    android:layout_height="match_parent"
20    android:orientation="vertical">
21
22    <com.android.healthconnect.controller.data.entries.AppHeaderView
23        android:visibility="gone"
24        android:layout_height="wrap_content"
25        android:layout_width="match_parent"
26        android:id="@+id/app_header"/>
27
28    <com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationView
29        android:id="@+id/date_navigation_view"
30        android:paddingTop="@dimen/spacing_xsmall"
31        android:layout_width="match_parent"
32        android:layout_height="wrap_content" />
33
34    <ProgressBar
35        android:id="@+id/loading"
36        android:layout_gravity="center_horizontal"
37        android:layout_width="wrap_content"
38        android:layout_height="wrap_content"/>
39
40    <TextView
41        android:id="@+id/no_data_view"
42        android:layout_width="match_parent"
43        android:layout_height="wrap_content"
44        android:gravity="center"
45        android:text="@string/no_data"
46        android:visibility="gone"
47        android:focusable="true"/>
48
49    <TextView
50        android:id="@+id/error_view"
51        android:layout_width="match_parent"
52        android:layout_height="wrap_content"
53        android:gravity="center"
54        android:text="@string/default_error"
55        android:visibility="gone" />
56
57    <androidx.recyclerview.widget.RecyclerView
58        android:id="@+id/data_entries_list"
59        android:layout_width="match_parent"
60        android:layout_height="wrap_content"
61        android:fillViewport="true"/>
62</LinearLayout>