diff options
| author | Harsh Shandilya <msfjarvis@gmail.com> | 2020-05-10 19:21:39 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-10 19:21:39 +0530 |
| commit | 041cf00510a75042223d1857660fc7f1dff958ef (patch) | |
| tree | 1b56e67e2b71afe23ac51b680b62ad778272f162 /app/src/main/res/layout/item_create_sheet.xml | |
| parent | 94dc92f8d70870b57a7f8c4fe8adef152c1211ce (diff) | |
| download | HardenedPass-041cf00510a75042223d1857660fc7f1dff958ef.tar.gz HardenedPass-041cf00510a75042223d1857660fc7f1dff958ef.zip | |
Treewide codestyle cleanup (#765)
- Updated gitignore and checked in the IDE's codestyle config
- Removed spotless as the underlying ktlint backend has failed to resolve the super frustrating import order bug[1] in nearly a year
- Reformat the entire codebase based on the previously committed code style configuration.
1: https://github.com/pinterest/ktlint/issues/527
Diffstat (limited to 'app/src/main/res/layout/item_create_sheet.xml')
| -rw-r--r-- | app/src/main/res/layout/item_create_sheet.xml | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/app/src/main/res/layout/item_create_sheet.xml b/app/src/main/res/layout/item_create_sheet.xml index 244537ad..b6e0c8d9 100644 --- a/app/src/main/res/layout/item_create_sheet.xml +++ b/app/src/main/res/layout/item_create_sheet.xml @@ -1,39 +1,38 @@ <?xml version="1.0" encoding="utf-8"?> -<androidx.constraintlayout.widget.ConstraintLayout - xmlns:android="http://schemas.android.com/apk/res/android" +<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent"> <com.google.android.material.button.MaterialButton - style="@style/Widget.MaterialComponents.Button.TextButton" android:id="@+id/create_folder" + style="@style/Widget.MaterialComponents.Button.TextButton" android:layout_width="match_parent" android:layout_height="@dimen/bottom_sheet_item_height" + android:layout_margin="@dimen/normal_margin" android:text="@string/bottom_sheet_create_new_folder" android:textAlignment="viewStart" android:textColor="?attr/colorOnSurface" - android:layout_margin="@dimen/normal_margin" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" app:icon="@drawable/ic_action_new_folder" app:iconPadding="@dimen/normal_margin" app:iconTint="?attr/colorSecondary" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" app:rippleColor="?attr/colorSecondary" /> <com.google.android.material.button.MaterialButton - style="@style/Widget.MaterialComponents.Button.TextButton" android:id="@+id/create_password" + style="@style/Widget.MaterialComponents.Button.TextButton" android:layout_width="match_parent" android:layout_height="@dimen/bottom_sheet_item_height" + android:layout_margin="@dimen/normal_margin" android:text="@string/bottom_sheet_create_new_password" android:textAlignment="viewStart" android:textColor="?attr/colorOnSurface" - android:layout_margin="@dimen/normal_margin" - app:layout_constraintTop_toBottomOf="@id/create_folder" app:icon="@drawable/ic_action_new_password" app:iconPadding="@dimen/normal_margin" app:iconTint="?attr/colorSecondary" + app:layout_constraintTop_toBottomOf="@id/create_folder" app:rippleColor="?attr/colorSecondary" /> </androidx.constraintlayout.widget.ConstraintLayout> |
