Skip to content

Commit d626e23

Browse files
mjossdevmsfjarvis
authored andcommitted
ui: add margin on empty list text
Signed-off-by: Marcel Joss <[email protected]> Signed-off-by: Harsh Shandilya <[email protected]>
1 parent 342ed5e commit d626e23

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

ui/src/main/res/layout/tunnel_list_fragment.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@
6060
android:src="@mipmap/ic_launcher" />
6161

6262
<TextView
63+
android:layout_marginStart="@dimen/tunnel_list_placeholder_margin"
64+
android:layout_marginEnd="@dimen/tunnel_list_placeholder_margin"
6365
android:layout_width="wrap_content"
6466
android:layout_height="wrap_content"
6567
android:layout_gravity="center"

ui/src/main/res/values/dimens.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
<dimen name="normal_margin">8dp</dimen>
77
<dimen name="bottom_sheet_top_padding">8dp</dimen>
88
<dimen name="bottom_sheet_icon_padding">16dp</dimen>
9+
<dimen name="tunnel_list_placeholder_margin">16dp</dimen>
910
</resources>

0 commit comments

Comments
 (0)