summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2023-08-05 23:27:46 +0200
committercyBerta <cyberta@riseup.net>2023-08-05 23:27:46 +0200
commitec1ab7d2bf2118796e8d49b3659a6053a8aeb8d6 (patch)
tree2fbed1de3a9e44cb886e315c11700320abbd2643
parentb7b59f8fe808f038384f3deff2cd9672507f386d (diff)
tweak card design in setup flow
-rw-r--r--app/src/main/res/layout/f_circumvention_setup.xml5
-rw-r--r--app/src/main/res/layout/f_configure_provider.xml3
-rw-r--r--app/src/main/res/layout/f_provider_selection.xml5
3 files changed, 8 insertions, 5 deletions
diff --git a/app/src/main/res/layout/f_circumvention_setup.xml b/app/src/main/res/layout/f_circumvention_setup.xml
index dd865081..9f303780 100644
--- a/app/src/main/res/layout/f_circumvention_setup.xml
+++ b/app/src/main/res/layout/f_circumvention_setup.xml
@@ -35,9 +35,10 @@
android:id="@+id/cv_provider_selection_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ app:cardElevation="2dp"
+ app:cardUseCompatPadding="true"
app:cardCornerRadius="12dp"
- app:cardElevation="1dp"
- android:layout_margin="40dp"
+ android:layout_marginTop="40dp"
>
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="match_parent"
diff --git a/app/src/main/res/layout/f_configure_provider.xml b/app/src/main/res/layout/f_configure_provider.xml
index 8400a05d..5841ee13 100644
--- a/app/src/main/res/layout/f_configure_provider.xml
+++ b/app/src/main/res/layout/f_configure_provider.xml
@@ -68,8 +68,9 @@
android:id="@+id/detail_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ app:cardElevation="2dp"
+ app:cardUseCompatPadding="true"
app:cardCornerRadius="12dp"
- app:cardElevation="1dp"
app:layout_constraintTop_toBottomOf="@id/progress_spinner"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
diff --git a/app/src/main/res/layout/f_provider_selection.xml b/app/src/main/res/layout/f_provider_selection.xml
index 520e011a..7c861a14 100644
--- a/app/src/main/res/layout/f_provider_selection.xml
+++ b/app/src/main/res/layout/f_provider_selection.xml
@@ -43,9 +43,10 @@
android:id="@+id/cv_provider_selection_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ app:cardElevation="2dp"
+ app:cardUseCompatPadding="true"
app:cardCornerRadius="12dp"
- app:cardElevation="1dp"
- android:layout_margin="40dp"
+ android:layout_marginTop="40dp"
>
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="match_parent"