summaryrefslogtreecommitdiffhomepage
path: root/ui
diff options
context:
space:
mode:
authorMarcel Joss <marceljoss@hotmail.ch>2022-01-16 14:11:52 +0100
committerHarsh Shandilya <me@msfjarvis.dev>2022-01-17 11:51:27 +0530
commitd626e232101cd8b27526b50a5b0bbf26e570ae65 (patch)
tree30d921687d75e7edf3d67737bfe5bd44695cdea4 /ui
parent342ed5e2596c812f1604215ceffb4eb773bc0979 (diff)
ui: add margin on empty list text
Signed-off-by: Marcel Joss <marceljoss@hotmail.ch> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'ui')
-rw-r--r--ui/src/main/res/layout/tunnel_list_fragment.xml2
-rw-r--r--ui/src/main/res/values/dimens.xml1
2 files changed, 3 insertions, 0 deletions
diff --git a/ui/src/main/res/layout/tunnel_list_fragment.xml b/ui/src/main/res/layout/tunnel_list_fragment.xml
index 436b63da..42a6ced7 100644
--- a/ui/src/main/res/layout/tunnel_list_fragment.xml
+++ b/ui/src/main/res/layout/tunnel_list_fragment.xml
@@ -60,6 +60,8 @@
android:src="@mipmap/ic_launcher" />
<TextView
+ android:layout_marginStart="@dimen/tunnel_list_placeholder_margin"
+ android:layout_marginEnd="@dimen/tunnel_list_placeholder_margin"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
diff --git a/ui/src/main/res/values/dimens.xml b/ui/src/main/res/values/dimens.xml
index c6abf8eb..ddb4deac 100644
--- a/ui/src/main/res/values/dimens.xml
+++ b/ui/src/main/res/values/dimens.xml
@@ -6,4 +6,5 @@
<dimen name="normal_margin">8dp</dimen>
<dimen name="bottom_sheet_top_padding">8dp</dimen>
<dimen name="bottom_sheet_icon_padding">16dp</dimen>
+ <dimen name="tunnel_list_placeholder_margin">16dp</dimen>
</resources>