From 4d9018316fa5a9af714de44224a440e0fa78be57 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Mon, 31 Jul 2023 17:50:04 +0200 Subject: add cancel button, call provider stetup command in ConfigureProviderFragment and listen to the result, implementing happy path --- app/src/main/res/layout/f_configure_provider.xml | 107 ++++++++++++++++------- 1 file changed, 77 insertions(+), 30 deletions(-) (limited to 'app/src/main/res/layout/f_configure_provider.xml') diff --git a/app/src/main/res/layout/f_configure_provider.xml b/app/src/main/res/layout/f_configure_provider.xml index 6e272260..8400a05d 100644 --- a/app/src/main/res/layout/f_configure_provider.xml +++ b/app/src/main/res/layout/f_configure_provider.xml @@ -7,14 +7,18 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:padding="@dimen/stdpadding" - android:layout_margin="@dimen/activity_margin" + android:layout_marginTop="@dimen/activity_margin" + android:layout_marginStart="@dimen/activity_margin" + android:layout_marginEnd="@dimen/activity_margin" tools:context=".providersetup.fragments.ProviderSelectionFragment"> - + android:text="@string/description_configure_provider" + app:layout_constraintTop_toBottomOf="@id/tv_title" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent" + /> + android:layout_height="100dp" + app:layout_constraintTop_toBottomOf="@id/tv_circumvention_description" + app:layout_constraintStart_toStartOf="parent" + /> + + - @@ -99,21 +133,24 @@ android:id="@+id/tor_icon" android:layout_width="35dp" android:layout_height="35dp" - android:layout_below="@id/tv_tor_status" - android:layout_alignParentStart="true" + app:layout_constraintTop_toBottomOf="@id/tv_tor_status" + app:layout_constraintStart_toStartOf="parent" android:padding="4dp" android:src="@drawable/ic_tor" /> - - + - + \ No newline at end of file -- cgit v1.2.3