summaryrefslogtreecommitdiffhomepage
path: root/android/src/main/res/layout
diff options
context:
space:
mode:
authorAleksandr Granin <aleksandr@mullvad.net>2021-03-12 08:29:56 +0100
committerAleksandr Granin <aleksandr@mullvad.net>2021-03-12 14:57:41 +0100
commit6a247fe70f7c8b5db2a95c674ca8ce3a21edc84a (patch)
tree8e5a7ce6ddfd37ab5ccddaeeaffd8e5e0de647ae /android/src/main/res/layout
parent3251d457d0f1da0dc5e9500708399c0ba4d2cb5b (diff)
downloadmullvadvpn-6a247fe70f7c8b5db2a95c674ca8ce3a21edc84a.tar.xz
mullvadvpn-6a247fe70f7c8b5db2a95c674ca8ce3a21edc84a.zip
Create extra dimen alias for widget padding
Diffstat (limited to 'android/src/main/res/layout')
-rw-r--r--android/src/main/res/layout/list_item_action.xml4
-rw-r--r--android/src/main/res/layout/list_item_two_action.xml4
2 files changed, 4 insertions, 4 deletions
diff --git a/android/src/main/res/layout/list_item_action.xml b/android/src/main/res/layout/list_item_action.xml
index d1ebee41c7..9b9fc806f0 100644
--- a/android/src/main/res/layout/list_item_action.xml
+++ b/android/src/main/res/layout/list_item_action.xml
@@ -8,8 +8,8 @@
<FrameLayout android:id="@+id/widgetContainer"
android:layout_width="wrap_content"
android:layout_height="0dp"
- android:paddingStart="@dimen/cell_right_padding"
- android:paddingEnd="@dimen/cell_right_padding"
+ android:paddingStart="@dimen/widget_padding"
+ android:paddingEnd="@dimen/widget_padding"
android:visibility="invisible"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
diff --git a/android/src/main/res/layout/list_item_two_action.xml b/android/src/main/res/layout/list_item_two_action.xml
index 4928fef27b..81e6a5c652 100644
--- a/android/src/main/res/layout/list_item_two_action.xml
+++ b/android/src/main/res/layout/list_item_two_action.xml
@@ -19,8 +19,8 @@
android:layout_width="wrap_content"
android:layout_height="0dp"
android:background="?android:attr/selectableItemBackground"
- android:paddingStart="@dimen/cell_right_padding"
- android:paddingEnd="@dimen/cell_right_padding"
+ android:paddingStart="@dimen/widget_padding"
+ android:paddingEnd="@dimen/widget_padding"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
android:visibility="visible"