summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_trackers.xml
blob: 0cd5980b2a0ced4d74cf3c72cc95b42e69f4cdbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?xml version="1.0" encoding="utf-8"?>
<layout>
<androidx.coordinatorlayout.widget.CoordinatorLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:background="@color/background"
    android:layout_height="match_parent"
    android:layout_width="match_parent"
    >
    <include layout="@layout/topbar" />

    <androidx.core.widget.NestedScrollView
        android:layout_height="match_parent"
        android:layout_width="match_parent"
        app:layout_behavior="@string/appbar_scrolling_view_behavior"
        >

<LinearLayout
    android:layout_height="match_parent"
    android:layout_width="match_parent"
    android:orientation="vertical"
    >
    <LinearLayout
        android:layout_height="match_parent"
        android:layout_width="match_parent"
        android:orientation="vertical"
        >
        <TextView
            android:id="@+id/trackers_info"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
            android:paddingTop="16dp"
            android:paddingHorizontal="16dp"
            android:lineSpacingExtra="5sp"
            android:text="@string/trackers_info"
            />
        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/graph_subtitle"
            android:textColor="@color/secondary_text"
            android:textSize="14sp"
            android:paddingTop="24dp"
            android:paddingHorizontal="16dp"
            />

        <include layout="@layout/trackers_item_graph"
            android:id="@+id/graph_day"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:period="@{@string/trackers_period_day}"
            />
        <include layout="@layout/trackers_item_graph"
            android:id="@+id/graph_month"
            android:layout_marginTop="16dp"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:period="@{@string/trackers_period_month}"
            />
        <include layout="@layout/trackers_item_graph"
            android:id="@+id/graph_year"
            android:layout_marginTop="16dp"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:period="@{@string/trackers_period_year}"
            />
        <TextView
            android:id="@+id/trackers_apps_list_title"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
            android:layout_marginTop="32dp"
            android:paddingTop="16dp"
            android:paddingHorizontal="16dp"
            android:text="@string/trackers_applist_title"
            />
    </LinearLayout>
    <androidx.recyclerview.widget.RecyclerView
        android:id="@+id/apps"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:paddingTop="16dp"
        android:paddingBottom="32dp"
        />
</LinearLayout>

</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</layout>