summaryrefslogtreecommitdiffhomepage
path: root/app/src
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2020-02-25 09:36:35 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2020-02-25 14:23:28 +0530
commit927cc1fcf5c8452b81afae0a0d31163a0f66b2da (patch)
treefadc96b82961c8d0d4ec01d70b79fd2fce14e94f /app/src
parentb3090e277a343d5300a396ce6c65e474e28f9704 (diff)
Make exclusions dialog fit more items in viewport
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/res/layout/app_list_item.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/app/src/main/res/layout/app_list_item.xml b/app/src/main/res/layout/app_list_item.xml
index 382f2e82..1e81751b 100644
--- a/app/src/main/res/layout/app_list_item.xml
+++ b/app/src/main/res/layout/app_list_item.xml
@@ -26,12 +26,14 @@
android:gravity="center_vertical"
android:onClick="@{(view) -> item.setExcludedFromTunnel(!item.excludedFromTunnel)}"
android:orientation="horizontal"
- android:padding="16dp">
+ android:paddingTop="8dp"
+ android:paddingBottom="8dp">
<ImageView
android:id="@+id/app_icon"
android:layout_width="32dp"
android:layout_height="32dp"
+ android:layout_marginStart="16dp"
android:src="@{item.icon}"
tools:src="@tools:sample/avatars" />
@@ -43,8 +45,8 @@
android:layout_weight="1"
android:ellipsize="end"
android:maxLines="1"
- android:paddingEnd="8dp"
- android:paddingStart="8dp"
+ android:layout_marginStart="16dp"
+ android:layout_marginEnd="16dp"
android:text="@{key}"
tools:text="@tools:sample/full_names" />