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/drawable/password_row_background.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/drawable/password_row_background.xml')
| -rw-r--r-- | app/src/main/res/drawable/password_row_background.xml | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/app/src/main/res/drawable/password_row_background.xml b/app/src/main/res/drawable/password_row_background.xml index 51f14173..c7fb2949 100644 --- a/app/src/main/res/drawable/password_row_background.xml +++ b/app/src/main/res/drawable/password_row_background.xml @@ -1,14 +1,15 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- +<?xml version="1.0" encoding="utf-8"?><!-- Requires a layer-list since attributes cannot be resolved in selectors, see: https://stackoverflow.com/a/36424426/297261 --> <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> -<item> - <selector> - <item android:drawable="@color/list_multiselect_background" android:state_selected="true" /> - <item android:drawable="@android:color/transparent"/> - </selector> -</item> -<item android:drawable="?android:attr/selectableItemBackground"/> + <item> + <selector> + <item + android:drawable="@color/list_multiselect_background" + android:state_selected="true" /> + <item android:drawable="@android:color/transparent" /> + </selector> + </item> + <item android:drawable="?android:attr/selectableItemBackground" /> </layer-list> |
