fix lint issues

Signed-off-by: David Luhmer <david-dev@live.de>
This commit is contained in:
David-Development 2020-11-11 18:31:16 +01:00 committed by David Luhmer
parent d9f983b73b
commit ac1fec6967
5 changed files with 13 additions and 11 deletions

View file

@ -1,14 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_margin="10dp"
android:layout_width="match_parent"
card_view:cardCornerRadius="4dp"
android:id="@+id/scrap_trailer_container"
android:layout_height="wrap_content"
>
android:layout_height="wrap_content">
<LinearLayout
android:layout_height="wrap_content"
@ -124,7 +123,7 @@
android:paddingStart="8dp"
android:layout_gravity="center_vertical"
android:src="@drawable/ic_action_star_light"
android:tint="?attr/starredColor"
app:tint="?attr/starredColor"
android:layout_alignParentEnd="true"
android:paddingEnd="@dimen/listview_row_margin_left"
android:contentDescription="@string/content_desc_add_to_favorites"/>

View file

@ -2,6 +2,7 @@
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:background="?attr/selectableItemBackground">
@ -90,7 +91,7 @@
android:paddingEnd="@dimen/listview_row_margin_right"
android:layout_gravity="center_vertical"
android:src="@drawable/ic_action_star_dark"
android:tint="?attr/starredColor"
app:tint="?attr/starredColor"
android:layout_alignParentEnd="true"
android:contentDescription="@string/content_desc_add_to_favorites"/>

View file

@ -2,6 +2,7 @@
<FrameLayout xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/fl_playPausePodcastWrapper"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@ -14,7 +15,7 @@
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center"
android:tint="?attr/tintColor"
app:tint="?attr/tintColor"
android:contentDescription="@string/content_desc_pause"
android:src="@drawable/ic_action_pause" />

View file

@ -2,6 +2,7 @@
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:background="?attr/selectableItemBackground">
@ -112,7 +113,7 @@
android:paddingStart="8dp"
android:layout_gravity="center_vertical"
android:src="@drawable/ic_action_star_light"
android:tint="?attr/starredColor"
app:tint="?attr/starredColor"
android:layout_alignParentEnd="true"
android:paddingEnd="@dimen/listview_row_margin_left"
android:contentDescription="@string/content_desc_add_to_favorites"/>

View file

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:background="?attr/selectableItemBackground"
xmlns:app="http://schemas.android.com/apk/res-auto">
android:background="?attr/selectableItemBackground">
<!--
<View
@ -87,7 +87,7 @@
android:paddingEnd="10dp"
android:paddingStart="8dp"
android:paddingTop="8dp"
android:tint="?attr/starredColor"
app:tint="?attr/starredColor"
app:srcCompat="@drawable/ic_star_black_24dp" />
<ImageView