diff options
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/fragment_dashboard.xml | 12 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_trackers.xml | 8 |
2 files changed, 19 insertions, 1 deletions
diff --git a/app/src/main/res/layout/fragment_dashboard.xml b/app/src/main/res/layout/fragment_dashboard.xml index ff64733..d2cb53c 100644 --- a/app/src/main/res/layout/fragment_dashboard.xml +++ b/app/src/main/res/layout/fragment_dashboard.xml @@ -168,6 +168,18 @@ android:text="@string/dashboard_state_ipaddress_off" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintTop_toTopOf="parent" /> + <TextView + android:id="@+id/graph_subtitle" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/graph_subtitle" + android:layout_marginLeft="16dp" + android:paddingTop="4dp" + app:layout_constraintLeft_toLeftOf="parent" + app:layout_constraintTop_toBottomOf="@+id/graph_title" + android:textColor="@color/secondary_text" + android:textSize="14sp" + /> <com.github.mikephil.charting.charts.BarChart android:id="@+id/graph" diff --git a/app/src/main/res/layout/fragment_trackers.xml b/app/src/main/res/layout/fragment_trackers.xml index 2122816..7ee4d29 100644 --- a/app/src/main/res/layout/fragment_trackers.xml +++ b/app/src/main/res/layout/fragment_trackers.xml @@ -35,10 +35,16 @@ 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:paddingTop="24dp" + /> <include layout="@layout/trackers_item_graph" android:id="@+id/graph_day" - android:layout_marginTop="32dp" + android:layout_marginTop="16dp" android:layout_width="match_parent" android:layout_height="wrap_content" app:period="@{@string/trackers_period_day}" |