From 9b62004829481b80cbc011229a3b6d34de5a826b Mon Sep 17 00:00:00 2001 From: iKirby <6316115+iKirby@users.noreply.github.com> Date: Tue, 1 Aug 2023 11:19:40 +0800 Subject: [PATCH] Layout fixes --- .../main/res/layout/activity_add_profile.xml | 204 ++++++++-------- .../res/layout/activity_config_override.xml | 17 +- .../main/res/layout/activity_edit_profile.xml | 223 +++++++++--------- .../res/layout/fragment_configuration.xml | 9 +- .../main/res/layout/fragment_dashboard.xml | 16 +- app/src/main/res/layout/fragment_log.xml | 5 +- app/src/main/res/layout/fragment_settings.xml | 2 + .../res/layout/view_configutation_item.xml | 46 ++-- .../main/res/layout/view_log_text_item.xml | 40 +--- 9 files changed, 282 insertions(+), 280 deletions(-) diff --git a/app/src/main/res/layout/activity_add_profile.xml b/app/src/main/res/layout/activity_add_profile.xml index 2548b3c..ed6f97d 100644 --- a/app/src/main/res/layout/activity_add_profile.xml +++ b/app/src/main/res/layout/activity_add_profile.xml @@ -1,135 +1,143 @@ - - - + android:layout_height="wrap_content"> + android:layout_height="wrap_content" + android:orientation="vertical"> - - - - - - - - - - - + android:indeterminate="true" + android:visibility="gone" /> + android:layout_height="match_parent" + android:orientation="vertical" + android:clipToPadding="false" + android:clipChildren="false" + android:padding="16dp"> + + + + + + + android:hint="@string/profile_type"> + android:text="@string/profile_type_local" + app:simpleItems="@array/profile_type" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/app/src/main/res/layout/activity_config_override.xml b/app/src/main/res/layout/activity_config_override.xml index c2803fa..0839237 100644 --- a/app/src/main/res/layout/activity_config_override.xml +++ b/app/src/main/res/layout/activity_config_override.xml @@ -1,17 +1,16 @@ + android:layout_width="match_parent" + android:layout_height="match_parent"> + android:clipChildren="false" + android:clipToPadding="false" + android:orientation="vertical" + android:padding="16dp"> + android:text="@string/disabled" + app:simpleItems="@array/per_app_proxy_update_on_change_value" /> diff --git a/app/src/main/res/layout/activity_edit_profile.xml b/app/src/main/res/layout/activity_edit_profile.xml index 7005a82..ece8e40 100644 --- a/app/src/main/res/layout/activity_edit_profile.xml +++ b/app/src/main/res/layout/activity_edit_profile.xml @@ -1,77 +1,36 @@ - - - + android:layout_height="wrap_content"> + android:layout_height="wrap_content" + android:orientation="vertical"> - - - - - - - - - - - - -