From 0fa7ae499185fefa732a7bc02a8e22ea5da92ec7 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Wed, 2 Aug 2023 12:34:45 +0200 Subject: * Implenting permissionn fragments * refactoring fragments, use of a base fragment to deduplicate code * improve SetupViewPagerAdapter by implementing a factory that hands out the reuired fragments in the correct order * very basic setup success fragment ("You're all set!") --- app/src/main/res/layout/f_setup_success.xml | 73 +++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 app/src/main/res/layout/f_setup_success.xml (limited to 'app/src/main/res/layout/f_setup_success.xml') diff --git a/app/src/main/res/layout/f_setup_success.xml b/app/src/main/res/layout/f_setup_success.xml new file mode 100644 index 00000000..f48d3487 --- /dev/null +++ b/app/src/main/res/layout/f_setup_success.xml @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3 From 28f8f7124ad96670c14fd96c8e9d1caf9a7848e5 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Mon, 7 Aug 2023 03:03:49 +0200 Subject: tweak setup success fragment, so that the main button has always the same size as in EIP fragment (different layouts for tablets, phones, landscape, portrait) --- app/src/main/res/layout/f_setup_success.xml | 51 +++++++++++++++++------------ 1 file changed, 30 insertions(+), 21 deletions(-) (limited to 'app/src/main/res/layout/f_setup_success.xml') diff --git a/app/src/main/res/layout/f_setup_success.xml b/app/src/main/res/layout/f_setup_success.xml index f48d3487..94d3c24d 100644 --- a/app/src/main/res/layout/f_setup_success.xml +++ b/app/src/main/res/layout/f_setup_success.xml @@ -6,16 +6,14 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" - android:padding="@dimen/stdpadding" - android:layout_margin="@dimen/activity_margin" tools:context=".providersetup.fragments.ProviderSelectionFragment"> + app:layout_constraintGuide_percent="0.8" + /> - - + > + + + + +