Fix lint warnings

This commit is contained in:
Koitharu
2023-05-12 13:15:41 +03:00
parent f3a8eb3216
commit f368277d73
23 changed files with 67 additions and 40 deletions

View File

@@ -83,6 +83,7 @@
app:layout_behavior="org.koitharu.kotatsu.main.ui.MainActionButtonBehavior"
app:layout_dodgeInsetEdges="bottom"
app:layout_insetEdge="bottom"
tools:ignore="InconsistentLayout"
tools:visibility="visible" />
<org.koitharu.kotatsu.base.ui.widgets.SlidingBottomNavigationView

View File

@@ -24,6 +24,7 @@
android:scrollIndicators="top|bottom"
android:scrollbars="vertical"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
tools:ignore="UnusedAttribute"
tools:listitem="@layout/item_source_locale" />
</LinearLayout>

View File

@@ -92,5 +92,5 @@
android:singleLine="true"
android:textAppearance="?attr/textAppearanceBodySmall"
android:textColor="?android:attr/textColorPrimary"
tools:text="@string/theme_name_mint" />
tools:text="@string/theme_name_miku" />
</LinearLayout>

View File

@@ -1,7 +1,6 @@
<?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="match_parent"
@@ -46,4 +45,4 @@
tools:text="@string/try_again"
tools:visibility="visible" />
</LinearLayout>
</LinearLayout>

View File

@@ -31,16 +31,16 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="mail@mail.com"
android:textAppearance="?textAppearanceBodyLarge" />
android:textAppearance="?textAppearanceBodyLarge"
tools:text="mail@mail.com" />
<TextView
android:id="@+id/last_checked"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="Last checked: 6:00 PM"
android:textAppearance="?textAppearanceBodySmall" />
android:textAppearance="?textAppearanceBodySmall"
tools:text="Last checked: 6:00 PM" />
</LinearLayout>