diff options
| author | Guillaume Jacquart <guillaume.jacquart@hoodbrains.com> | 2022-03-29 06:26:34 +0000 | 
|---|---|---|
| committer | Guillaume Jacquart <guillaume.jacquart@hoodbrains.com> | 2022-03-29 06:26:34 +0000 | 
| commit | dded3d54fd9fd1cb112811cde5404bec3cbec922 (patch) | |
| tree | 31932c1b235c63ab396332786ab0b166ff30c358 /app/src/main/res/layout/trackers_item_graph.xml | |
| parent | 668632620bc9552d89e333efa47023ebff515ce9 (diff) | |
| parent | 387e9b0cb1673ebf7fad23e7973312bf366d89b2 (diff) | |
| download | advanced-privacy-dded3d54fd9fd1cb112811cde5404bec3cbec922.tar.gz | |
Merge branch '5161_empty_graphs_message' into 'main'
5161 display message when trackers graphs empty.
See merge request e/privacy-central/privacycentralapp!35
Diffstat (limited to 'app/src/main/res/layout/trackers_item_graph.xml')
| -rw-r--r-- | app/src/main/res/layout/trackers_item_graph.xml | 13 | 
1 files changed, 13 insertions, 0 deletions
| diff --git a/app/src/main/res/layout/trackers_item_graph.xml b/app/src/main/res/layout/trackers_item_graph.xml index 5a2714c..5cc2d98 100644 --- a/app/src/main/res/layout/trackers_item_graph.xml +++ b/app/src/main/res/layout/trackers_item_graph.xml @@ -55,5 +55,18 @@              android:layout_width="match_parent"              app:layout_constraintTop_toBottomOf="@+id/graph_period_label"              /> +        <TextView +            android:id="@+id/graph_empty" +            android:layout_width="match_parent" +            android:layout_height="wrap_content" +            android:textSize="12sp" +            android:textColor="@color/secondary_text" +            android:layout_marginHorizontal="16dp" +            app:layout_constraintTop_toTopOf="parent" +            app:layout_constraintBottom_toBottomOf="parent" +            android:text="@string/graph_empty_message" +            android:gravity="center" +            android:visibility="gone" +            />      </androidx.constraintlayout.widget.ConstraintLayout>  </layout>
\ No newline at end of file | 
