summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2023-11-01 00:37:45 +0100
committercyBerta <cyberta@riseup.net>2023-11-01 00:37:45 +0100
commit6165985c8406524dc8e3211fec85ffcce19d2603 (patch)
tree02f015620348a75c3d8d22971c003edeb513853a /app
parent0604b8d14d2d8948b334d5677b259b841ea9aaa3 (diff)
tweak snowflake and tor icon positioning in setup configuration fragment
Diffstat (limited to 'app')
-rw-r--r--app/src/main/res/layout/f_configure_provider.xml6
-rw-r--r--app/src/main/res/values-sw600dp/dimens.xml2
-rw-r--r--app/src/main/res/values/dimens.xml2
3 files changed, 8 insertions, 2 deletions
diff --git a/app/src/main/res/layout/f_configure_provider.xml b/app/src/main/res/layout/f_configure_provider.xml
index 5841ee13..644ae7d1 100644
--- a/app/src/main/res/layout/f_configure_provider.xml
+++ b/app/src/main/res/layout/f_configure_provider.xml
@@ -137,6 +137,7 @@
app:layout_constraintTop_toBottomOf="@id/tv_tor_status"
app:layout_constraintStart_toStartOf="parent"
android:padding="4dp"
+ android:layout_marginStart="@dimen/tor_icon_margin_start"
android:src="@drawable/ic_tor" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tor_state"
@@ -151,7 +152,7 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/tor_icon"
app:layout_constraintHorizontal_bias="0"
- android:paddingHorizontal="@dimen/stdpadding"
+ android:paddingHorizontal="@dimen/compact_padding"
android:gravity="bottom"
tools:text="test 12321 123 \n sdf,sdf,m\nn 123 "
android:ellipsize="end"
@@ -181,6 +182,7 @@
android:layout_alignParentStart="true"
android:layout_marginBottom="@dimen/stdpadding"
android:padding="4dp"
+ android:layout_marginStart="@dimen/snowflake_icon_margin_start"
/>
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/snowflake_state"
@@ -192,7 +194,7 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0"
android:paddingBottom="1dp"
- android:paddingHorizontal="@dimen/stdpadding"
+ android:paddingHorizontal="@dimen/compact_padding"
android:fadingEdge="horizontal"
android:maxLines="2"
android:text="@string/configuring_provider"
diff --git a/app/src/main/res/values-sw600dp/dimens.xml b/app/src/main/res/values-sw600dp/dimens.xml
index 57718346..94eab553 100644
--- a/app/src/main/res/values-sw600dp/dimens.xml
+++ b/app/src/main/res/values-sw600dp/dimens.xml
@@ -17,5 +17,7 @@
<dimen name="setup_bottom_bar">75dp</dimen>
<dimen name="setup_button_top_padding">10dp</dimen>
+ <dimen name="tor_icon_margin_start">8dp</dimen>
+ <dimen name="snowflake_icon_margin_start">8dp</dimen>
</resources> \ No newline at end of file
diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml
index e9e7b78a..94f9339f 100644
--- a/app/src/main/res/values/dimens.xml
+++ b/app/src/main/res/values/dimens.xml
@@ -49,4 +49,6 @@
<dimen name="setup_bottom_bar">50dp</dimen>
<dimen name="setup_button_top_padding">5dp</dimen>
+ <dimen name="tor_icon_margin_start">0dp</dimen>
+ <dimen name="snowflake_icon_margin_start">2dp</dimen>
</resources> \ No newline at end of file