diff options
Diffstat (limited to 'app/src/main/res/layout/fragment_dashboard.xml')
-rw-r--r-- | app/src/main/res/layout/fragment_dashboard.xml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_dashboard.xml b/app/src/main/res/layout/fragment_dashboard.xml index 53ec617..ff64733 100644 --- a/app/src/main/res/layout/fragment_dashboard.xml +++ b/app/src/main/res/layout/fragment_dashboard.xml @@ -188,6 +188,55 @@ android:text="@string/dashboard_state_ipaddress_off" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintTop_toBottomOf="@+id/graph" /> + + <View + android:id="@+id/graph_legend_blocked_icon" + android:layout_width="16dp" + android:layout_height="16dp" + android:padding="1dp" + app:layout_constraintLeft_toLeftOf="parent" + app:layout_constraintTop_toBottomOf="@+id/graph_legend" + android:layout_marginTop="8dp" + android:layout_marginStart="16dp" + android:background="@drawable/ic_legend_blocked" + /> + <TextView + android:id="@+id/graph_legend_blocked" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + tools:text="0 Trackers" + android:layout_marginStart="8dp" + android:textSize="12sp" + app:layout_constraintLeft_toRightOf="@+id/graph_legend_blocked_icon" + app:layout_constraintBottom_toBottomOf="@+id/graph_legend_blocked_icon" + android:layout_marginTop="8dp" + android:text="@string/graph_legend_blocked" + /> + + <View + android:id="@+id/graph_legend_allowed_icon" + android:layout_width="16dp" + android:layout_height="16dp" + android:padding="1dp" + app:layout_constraintLeft_toRightOf="@+id/graph_legend_blocked" + app:layout_constraintBottom_toBottomOf="@+id/graph_legend_blocked_icon" + android:layout_marginTop="8dp" + android:layout_marginStart="32dp" + android:background="@drawable/ic_legend_leaked" + /> + <TextView + android:id="@+id/graph_legend_allowed" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + tools:text="0 Trackers" + android:layout_marginStart="8dp" + android:textSize="12sp" + app:layout_constraintLeft_toRightOf="@+id/graph_legend_allowed_icon" + app:layout_constraintBottom_toBottomOf="@+id/graph_legend_blocked_icon" + android:layout_marginTop="8dp" + android:text="@string/graph_legend_allowed" + /> + <TextView android:id="@+id/graph_empty" android:layout_width="match_parent" |