aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/autofill_recycler_view.xml
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2020-05-10 19:21:39 +0530
committerGitHub <noreply@github.com>2020-05-10 19:21:39 +0530
commit041cf00510a75042223d1857660fc7f1dff958ef (patch)
tree1b56e67e2b71afe23ac51b680b62ad778272f162 /app/src/main/res/layout/autofill_recycler_view.xml
parent94dc92f8d70870b57a7f8c4fe8adef152c1211ce (diff)
downloadHardenedPass-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/autofill_recycler_view.xml')
-rw-r--r--app/src/main/res/layout/autofill_recycler_view.xml26
1 files changed, 13 insertions, 13 deletions
diff --git a/app/src/main/res/layout/autofill_recycler_view.xml b/app/src/main/res/layout/autofill_recycler_view.xml
index c3a4a9f3..beb87fd5 100644
--- a/app/src/main/res/layout/autofill_recycler_view.xml
+++ b/app/src/main/res/layout/autofill_recycler_view.xml
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- 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">
+ 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">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/autofill_recycler"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scrollbars="none"
- tools:listitem="@layout/autofill_row_layout"
- tools:itemCount="20"/>
+ tools:itemCount="20"
+ tools:listitem="@layout/autofill_row_layout" />
<ProgressBar
android:id="@+id/progress_bar"
@@ -24,16 +24,16 @@
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/fab"
- android:src="@drawable/ic_add_white_48dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_alignParentEnd="true"
+ android:layout_alignParentBottom="true"
android:layout_gravity="bottom|end"
- app:elevation="6dp"
- app:pressedTranslationZ="12dp"
+ android:layout_margin="@dimen/fab_compat_margin"
+ android:src="@drawable/ic_add_white_48dp"
app:backgroundTint="?attr/colorSecondary"
- app:rippleColor="?attr/colorSecondary"
app:borderWidth="0dp"
- android:layout_margin="@dimen/fab_compat_margin"
- android:layout_alignParentBottom="true"
- android:layout_alignParentEnd="true"/>
+ app:elevation="6dp"
+ app:pressedTranslationZ="12dp"
+ app:rippleColor="?attr/colorSecondary" />
</RelativeLayout>