Cleaned up and optimized
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
||||
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:id="@+id/swipe_container"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -30,7 +30,9 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="textEmailAddress"
|
||||
android:hint="@string/username" />
|
||||
android:hint="@string/username"
|
||||
android:autofillHints="username"
|
||||
tools:targetApi="o" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
|
||||
<!-- Password Label -->
|
||||
@@ -43,7 +45,9 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="textPassword"
|
||||
android:hint="@string/password"/>
|
||||
android:hint="@string/password"
|
||||
android:autofillHints="password"
|
||||
tools:targetApi="o"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
|
||||
<androidx.appcompat.widget.AppCompatButton
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<ImageView
|
||||
@@ -20,5 +21,7 @@
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="center_vertical"
|
||||
tools:text="@string/app_name"
|
||||
android:textSize="18sp" />
|
||||
android:textSize="18sp"
|
||||
android:drawableStart="@drawable/ic_folder_light_blue_700_24dp"
|
||||
android:layout_marginStart="5dp" />
|
||||
</LinearLayout>
|
||||
@@ -1,16 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
<TextView
|
||||
android:id="@+id/tv_name"
|
||||
android:layout_marginLeft="23dp"
|
||||
android:drawableLeft="@drawable/ic_insert_drive_file_light_blue_700_24dp"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="center_vertical"
|
||||
tools:text="@string/app_name"
|
||||
android:textSize="18sp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
<TextView
|
||||
android:id="@+id/tv_name"
|
||||
android:layout_marginLeft="23dp"
|
||||
android:drawableLeft="@drawable/ic_insert_drive_file_light_blue_700_24dp"
|
||||
android:drawablePadding="10dp"
|
||||
android:gravity="center_vertical"
|
||||
tools:text="@string/app_name"
|
||||
android:textSize="18sp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:drawableStart="@drawable/ic_insert_drive_file_light_blue_700_24dp"
|
||||
android:layout_marginStart="23dp" />
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user