* add tracker logout dialog from upstream * update for all trackers to have logout dialog * remove logout button from login screen * new login button that is more material had to remove red_error color cause that was in the library that i removed * return error message if user has blank username/password * add x button to clear tracked Manga add dialog that gives option to clear just in app or from tracking service added mal as first service to allow clearing * fix string in dialog for remove ad ability to remove from anilist service * add ability to delete from kitsu * made login dialog look more material * change the dialog for the remove from tracker * update coil to 0.11.0 * make track search a little nicer
69 lines
2.7 KiB
XML
69 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout 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="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="24dp">
|
|
|
|
<TextView
|
|
android:id="@+id/dialog_title"
|
|
style="@style/TextAppearance.MaterialComponents.Headline6"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
tools:text="Log in to AniList" />
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/username_input"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="15dp"
|
|
android:hint="@string/username"
|
|
app:boxStrokeColor="@color/colorAccent"
|
|
app:hintTextColor="@color/colorAccent">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/username"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:hint="@string/password"
|
|
app:boxStrokeColor="@color/colorAccent"
|
|
app:endIconMode="password_toggle"
|
|
app:hintTextColor="@color/colorAccent">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/password"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textPassword" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
<br.com.simplepass.loadingbutton.customViews.CircularProgressButton
|
|
android:id="@+id/login"
|
|
style="@style/Theme.Widget.Button.Primary"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="55dp"
|
|
android:layout_gravity="center"
|
|
android:layout_marginTop="20dp"
|
|
android:scaleType="fitCenter"
|
|
android:text="@string/login"
|
|
android:textSize="16sp"
|
|
app:finalCornerAngle="50dp"
|
|
app:initialCornerAngle="2dp"
|
|
app:spinning_bar_color="@color/md_white_1000"
|
|
app:spinning_bar_padding="6dp"
|
|
app:spinning_bar_width="3dp" />
|
|
|
|
</LinearLayout> |