From 91fce4dce78da73fe551fa90bb4975a8c250e0f5 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 9 Mar 2021 15:12:24 +0530 Subject: all: format XML files to 2 space indent Signed-off-by: Harsh Shandilya --- app/src/main/res/layout/activity_git_clone.xml | 250 ++++++++--------- app/src/main/res/layout/activity_git_config.xml | 170 +++++------ app/src/main/res/layout/activity_git_log.xml | 26 +- app/src/main/res/layout/activity_onboarding.xml | 18 +- .../res/layout/activity_oreo_autofill_filter.xml | 226 +++++++-------- .../activity_oreo_autofill_publisher_changed.xml | 312 ++++++++++----------- .../layout/activity_preference_recyclerview.xml | 16 +- .../main/res/layout/activity_proxy_selector.xml | 174 ++++++------ app/src/main/res/layout/activity_pwdstore.xml | 18 +- app/src/main/res/layout/activity_ssh_keygen.xml | 108 +++---- app/src/main/res/layout/basic_bottom_sheet.xml | 100 +++---- app/src/main/res/layout/decrypt_layout.xml | 122 ++++---- app/src/main/res/layout/folder_dialog_fragment.xml | 52 ++-- app/src/main/res/layout/fragment_clone.xml | 168 +++++------ app/src/main/res/layout/fragment_key_selection.xml | 140 ++++----- .../main/res/layout/fragment_manual_otp_entry.xml | 85 +++--- app/src/main/res/layout/fragment_pwgen.xml | 198 ++++++------- app/src/main/res/layout/fragment_repo_location.xml | 166 +++++------ app/src/main/res/layout/fragment_welcome.xml | 112 ++++---- app/src/main/res/layout/fragment_xkpwgen.xml | 170 +++++------ app/src/main/res/layout/git_credential_layout.xml | 58 ++-- app/src/main/res/layout/git_log_row_layout.xml | 68 ++--- app/src/main/res/layout/item_create_sheet.xml | 64 ++--- app/src/main/res/layout/item_field.xml | 41 ++- app/src/main/res/layout/oreo_autofill_dataset.xml | 84 +++--- .../main/res/layout/oreo_autofill_filter_row.xml | 114 ++++---- .../main/res/layout/oreo_autofill_instructions.xml | 88 +++--- .../main/res/layout/password_creation_activity.xml | 210 +++++++------- app/src/main/res/layout/password_recycler_view.xml | 62 ++-- app/src/main/res/layout/password_row_layout.xml | 78 +++--- app/src/main/res/layout/select_folder_layout.xml | 14 +- 31 files changed, 1755 insertions(+), 1757 deletions(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/activity_git_clone.xml b/app/src/main/res/layout/activity_git_clone.xml index b07c2c60..9aac7d0d 100644 --- a/app/src/main/res/layout/activity_git_clone.xml +++ b/app/src/main/res/layout/activity_git_clone.xml @@ -4,131 +4,131 @@ --> + + - - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + android:layout_height="wrap_content" + android:imeOptions="actionDone" + android:inputType="textNoSuggestions" /> + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/layout/activity_git_config.xml b/app/src/main/res/layout/activity_git_config.xml index e964a31f..6f86f381 100644 --- a/app/src/main/res/layout/activity_git_config.xml +++ b/app/src/main/res/layout/activity_git_config.xml @@ -4,102 +4,102 @@ --> + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:padding="@dimen/activity_horizontal_margin" + tools:context="dev.msfjarvis.aps.ui.git.config.GitConfigActivity" + tools:layout_editor_absoluteX="0dp" + tools:layout_editor_absoluteY="81dp"> - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/app/src/main/res/layout/activity_git_log.xml b/app/src/main/res/layout/activity_git_log.xml index 3ef78784..33d9a761 100644 --- a/app/src/main/res/layout/activity_git_log.xml +++ b/app/src/main/res/layout/activity_git_log.xml @@ -4,19 +4,19 @@ --> + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent"> - + diff --git a/app/src/main/res/layout/activity_onboarding.xml b/app/src/main/res/layout/activity_onboarding.xml index 4ecd7170..7505f072 100644 --- a/app/src/main/res/layout/activity_onboarding.xml +++ b/app/src/main/res/layout/activity_onboarding.xml @@ -4,15 +4,15 @@ --> + + - - + android:tag="welcome_fragment" /> diff --git a/app/src/main/res/layout/activity_oreo_autofill_filter.xml b/app/src/main/res/layout/activity_oreo_autofill_filter.xml index b6257805..7903425c 100644 --- a/app/src/main/res/layout/activity_oreo_autofill_filter.xml +++ b/app/src/main/res/layout/activity_oreo_autofill_filter.xml @@ -4,129 +4,129 @@ --> + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:elevation="2dp" + tools:context="dev.msfjarvis.aps.ui.autofill.AutofillFilterView"> - + - + - + - - + + - + - + - + - + - + - + - + diff --git a/app/src/main/res/layout/activity_oreo_autofill_publisher_changed.xml b/app/src/main/res/layout/activity_oreo_autofill_publisher_changed.xml index 9f67c85a..685799eb 100644 --- a/app/src/main/res/layout/activity_oreo_autofill_publisher_changed.xml +++ b/app/src/main/res/layout/activity_oreo_autofill_publisher_changed.xml @@ -4,172 +4,172 @@ --> + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:animateLayoutChanges="true" + android:elevation="2dp" + android:paddingBottom="16dp" + android:scrollbars="vertical" + tools:context="dev.msfjarvis.aps.ui.autofill.AutofillPublisherChangedActivity"> - + - + - + - + - + - + - + - + - + - + - + diff --git a/app/src/main/res/layout/activity_preference_recyclerview.xml b/app/src/main/res/layout/activity_preference_recyclerview.xml index 2fd375ae..d973bd43 100644 --- a/app/src/main/res/layout/activity_preference_recyclerview.xml +++ b/app/src/main/res/layout/activity_preference_recyclerview.xml @@ -4,15 +4,15 @@ --> + + - - + app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" /> diff --git a/app/src/main/res/layout/activity_proxy_selector.xml b/app/src/main/res/layout/activity_proxy_selector.xml index 46753f6b..44f2637a 100644 --- a/app/src/main/res/layout/activity_proxy_selector.xml +++ b/app/src/main/res/layout/activity_proxy_selector.xml @@ -4,103 +4,103 @@ --> + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent"> - + - + - + - + - + - + - + - - + + - + - - + + - + diff --git a/app/src/main/res/layout/activity_pwdstore.xml b/app/src/main/res/layout/activity_pwdstore.xml index e4606ba5..5b7dd5de 100644 --- a/app/src/main/res/layout/activity_pwdstore.xml +++ b/app/src/main/res/layout/activity_pwdstore.xml @@ -4,16 +4,16 @@ --> + + - - + android:orientation="vertical" /> diff --git a/app/src/main/res/layout/activity_ssh_keygen.xml b/app/src/main/res/layout/activity_ssh_keygen.xml index 1ebcaf82..a3e822d3 100644 --- a/app/src/main/res/layout/activity_ssh_keygen.xml +++ b/app/src/main/res/layout/activity_ssh_keygen.xml @@ -4,66 +4,66 @@ --> + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="match_parent"> - + - + - + - + - - + + - + - + - - + + diff --git a/app/src/main/res/layout/basic_bottom_sheet.xml b/app/src/main/res/layout/basic_bottom_sheet.xml index bc206fde..98815a43 100644 --- a/app/src/main/res/layout/basic_bottom_sheet.xml +++ b/app/src/main/res/layout/basic_bottom_sheet.xml @@ -4,59 +4,59 @@ --> + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:paddingBottom="24dp"> - + - + - + - + diff --git a/app/src/main/res/layout/decrypt_layout.xml b/app/src/main/res/layout/decrypt_layout.xml index 4f8810a3..63ec9536 100644 --- a/app/src/main/res/layout/decrypt_layout.xml +++ b/app/src/main/res/layout/decrypt_layout.xml @@ -4,72 +4,72 @@ --> + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:padding="16dp" + tools:context=".ui.crypto.DecryptActivity"> - + - + - + - + - + diff --git a/app/src/main/res/layout/folder_dialog_fragment.xml b/app/src/main/res/layout/folder_dialog_fragment.xml index 1ad1ce70..28a8287f 100644 --- a/app/src/main/res/layout/folder_dialog_fragment.xml +++ b/app/src/main/res/layout/folder_dialog_fragment.xml @@ -4,34 +4,34 @@ --> + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:padding="16dp"> - + - + - + - + diff --git a/app/src/main/res/layout/fragment_clone.xml b/app/src/main/res/layout/fragment_clone.xml index fce8316f..305f28a7 100644 --- a/app/src/main/res/layout/fragment_clone.xml +++ b/app/src/main/res/layout/fragment_clone.xml @@ -4,96 +4,96 @@ --> + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="?attr/colorPrimary"> - + - + - + - + - + - + - + - + diff --git a/app/src/main/res/layout/fragment_key_selection.xml b/app/src/main/res/layout/fragment_key_selection.xml index 32e16eb3..df3c531d 100644 --- a/app/src/main/res/layout/fragment_key_selection.xml +++ b/app/src/main/res/layout/fragment_key_selection.xml @@ -4,80 +4,80 @@ --> + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="?attr/colorPrimary" + android:orientation="vertical"> - + - + - + - + - + diff --git a/app/src/main/res/layout/fragment_manual_otp_entry.xml b/app/src/main/res/layout/fragment_manual_otp_entry.xml index 6ca8677b..d42028ac 100644 --- a/app/src/main/res/layout/fragment_manual_otp_entry.xml +++ b/app/src/main/res/layout/fragment_manual_otp_entry.xml @@ -1,51 +1,50 @@ - - + + + + + + + + - - - - - - - - - - - - + android:layout_height="wrap_content" + android:hint="@string/otp_import_manual_hint_account" + android:paddingStart="16dp" + android:paddingTop="16dp" + android:paddingEnd="16dp" + android:paddingBottom="16dp" + app:hintEnabled="true" + app:layout_constraintTop_toBottomOf="@id/secret_layout"> + + + + diff --git a/app/src/main/res/layout/fragment_pwgen.xml b/app/src/main/res/layout/fragment_pwgen.xml index 3646e1c6..592ef1f2 100644 --- a/app/src/main/res/layout/fragment_pwgen.xml +++ b/app/src/main/res/layout/fragment_pwgen.xml @@ -4,110 +4,110 @@ --> + + + android:layout_height="wrap_content" + android:orientation="vertical" + android:paddingLeft="24dp" + android:paddingTop="20dp" + android:paddingRight="24dp" + android:paddingBottom="20dp" + tools:context=".MainActivityFragment"> + + + + + + + + + + + + + + + + + + + + android:layout_height="match_parent" + android:layout_weight="1" + android:orientation="vertical"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + android:id="@+id/length" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginBottom="8dp" + android:text="@string/pwgen_length" + android:textAppearance="?android:attr/textAppearanceSmall" /> + + + + + + + + + diff --git a/app/src/main/res/layout/fragment_repo_location.xml b/app/src/main/res/layout/fragment_repo_location.xml index dae36a63..b2adc0e6 100644 --- a/app/src/main/res/layout/fragment_repo_location.xml +++ b/app/src/main/res/layout/fragment_repo_location.xml @@ -4,96 +4,96 @@ --> + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="?attr/colorPrimary"> - + - + - + - + - + - + - + - + diff --git a/app/src/main/res/layout/fragment_welcome.xml b/app/src/main/res/layout/fragment_welcome.xml index c5c59f8d..3f46c65a 100644 --- a/app/src/main/res/layout/fragment_welcome.xml +++ b/app/src/main/res/layout/fragment_welcome.xml @@ -4,65 +4,65 @@ --> + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="?attr/colorPrimary" + android:orientation="vertical"> - + - + - + - + diff --git a/app/src/main/res/layout/fragment_xkpwgen.xml b/app/src/main/res/layout/fragment_xkpwgen.xml index 0c46ff35..47803e27 100644 --- a/app/src/main/res/layout/fragment_xkpwgen.xml +++ b/app/src/main/res/layout/fragment_xkpwgen.xml @@ -4,99 +4,99 @@ --> + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent"> - + - + - + - - + + - + - - + + - + - + - - + + - + diff --git a/app/src/main/res/layout/git_credential_layout.xml b/app/src/main/res/layout/git_credential_layout.xml index 91887a3f..289d713f 100644 --- a/app/src/main/res/layout/git_credential_layout.xml +++ b/app/src/main/res/layout/git_credential_layout.xml @@ -4,36 +4,36 @@ --> + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:padding="16dp"> - + - - + + - + diff --git a/app/src/main/res/layout/git_log_row_layout.xml b/app/src/main/res/layout/git_log_row_layout.xml index 3d933d84..c5db4161 100644 --- a/app/src/main/res/layout/git_log_row_layout.xml +++ b/app/src/main/res/layout/git_log_row_layout.xml @@ -3,43 +3,43 @@ ~ SPDX-License-Identifier: GPL-3.0-only --> + + - - + android:layout_marginTop="@dimen/normal_margin" + android:ellipsize="end" + android:maxLines="2" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/git_log_row_hash" + tools:text="Commit message" /> - + - + diff --git a/app/src/main/res/layout/item_create_sheet.xml b/app/src/main/res/layout/item_create_sheet.xml index 43c03257..b49441ad 100644 --- a/app/src/main/res/layout/item_create_sheet.xml +++ b/app/src/main/res/layout/item_create_sheet.xml @@ -4,39 +4,39 @@ --> + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="match_parent"> - + - + diff --git a/app/src/main/res/layout/item_field.xml b/app/src/main/res/layout/item_field.xml index eba1bca2..6c74b65c 100644 --- a/app/src/main/res/layout/item_field.xml +++ b/app/src/main/res/layout/item_field.xml @@ -1,32 +1,31 @@ - - + + - - + android:layout_marginTop="16dp" + tools:hint="@string/password" + tools:visibility="visible"> - + - + diff --git a/app/src/main/res/layout/oreo_autofill_dataset.xml b/app/src/main/res/layout/oreo_autofill_dataset.xml index 7e73521e..92b541b7 100644 --- a/app/src/main/res/layout/oreo_autofill_dataset.xml +++ b/app/src/main/res/layout/oreo_autofill_dataset.xml @@ -4,51 +4,51 @@ --> + + - - + android:layout_gravity="center" + android:layout_marginTop="5dp" + android:layout_marginEnd="10dp" + android:layout_marginBottom="5dp" + android:adjustViewBounds="true" + android:maxWidth="20dp" + android:maxHeight="20dp" + android:tint="@color/secondary_color" + tools:ignore="UseAppTint" + tools:src="@mipmap/ic_launcher" /> - + - + - - + + diff --git a/app/src/main/res/layout/oreo_autofill_filter_row.xml b/app/src/main/res/layout/oreo_autofill_filter_row.xml index 70f27e28..9c3acfed 100644 --- a/app/src/main/res/layout/oreo_autofill_filter_row.xml +++ b/app/src/main/res/layout/oreo_autofill_filter_row.xml @@ -4,66 +4,66 @@ --> + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="@drawable/password_row_background" + android:paddingTop="8dp" + android:paddingBottom="8dp"> - + - + - + - + diff --git a/app/src/main/res/layout/oreo_autofill_instructions.xml b/app/src/main/res/layout/oreo_autofill_instructions.xml index 96e7f36c..a01190c2 100644 --- a/app/src/main/res/layout/oreo_autofill_instructions.xml +++ b/app/src/main/res/layout/oreo_autofill_instructions.xml @@ -4,48 +4,48 @@ --> - - - - - - - - - - - - - + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + + + + + + + + + + + + diff --git a/app/src/main/res/layout/password_creation_activity.xml b/app/src/main/res/layout/password_creation_activity.xml index 337a6fb3..6bae6d35 100644 --- a/app/src/main/res/layout/password_creation_activity.xml +++ b/app/src/main/res/layout/password_creation_activity.xml @@ -5,123 +5,123 @@ + + + android:layout_height="wrap_content" + android:orientation="vertical" + android:padding="@dimen/activity_horizontal_margin"> + + - - - + android:imeOptions="actionNext" + android:inputType="textNoSuggestions" + android:nextFocusForward="@id/password" + tools:text="CATEGORY HERE" /> + - - + - - - - + + - + - - + + - + - + - + - + - + - - + + diff --git a/app/src/main/res/layout/password_recycler_view.xml b/app/src/main/res/layout/password_recycler_view.xml index 8bd9708e..53b30d23 100644 --- a/app/src/main/res/layout/password_recycler_view.xml +++ b/app/src/main/res/layout/password_recycler_view.xml @@ -4,38 +4,38 @@ --> + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:clipChildren="false" + android:clipToPadding="false" + android:orientation="vertical" + tools:context="dev.msfjarvis.aps.ui.passwords.PasswordFragment"> - + - - + + - + diff --git a/app/src/main/res/layout/password_row_layout.xml b/app/src/main/res/layout/password_row_layout.xml index 0e6e6974..55295d46 100644 --- a/app/src/main/res/layout/password_row_layout.xml +++ b/app/src/main/res/layout/password_row_layout.xml @@ -4,47 +4,47 @@ --> + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="@drawable/password_row_background" + android:paddingTop="12dp" + android:paddingBottom="12dp"> - + - + - + diff --git a/app/src/main/res/layout/select_folder_layout.xml b/app/src/main/res/layout/select_folder_layout.xml index 174adc59..e136bac5 100644 --- a/app/src/main/res/layout/select_folder_layout.xml +++ b/app/src/main/res/layout/select_folder_layout.xml @@ -4,13 +4,13 @@ --> + + - - + android:orientation="vertical" /> -- cgit v1.2.3