Lint fixes.

This commit is contained in:
Onuray Sahin 2021-07-30 15:25:02 +03:00
parent cfe64eed2a
commit 1aa706dee5
5 changed files with 3 additions and 4 deletions

View file

@ -162,7 +162,7 @@ Formatter\.formatShortFileSize===1
# android\.text\.TextUtils # android\.text\.TextUtils
### This is not a rule, but a warning: the number of "enum class" has changed. For Json classes, it is mandatory that they have `@JsonClass(generateAdapter = false)`. If the enum is not used as a Json class, change the value in file forbidden_strings_in_code.txt ### This is not a rule, but a warning: the number of "enum class" has changed. For Json classes, it is mandatory that they have `@JsonClass(generateAdapter = false)`. If the enum is not used as a Json class, change the value in file forbidden_strings_in_code.txt
enum class===102 enum class===103
### Do not import temporary legacy classes ### Do not import temporary legacy classes
import org.matrix.android.sdk.internal.legacy.riot===3 import org.matrix.android.sdk.internal.legacy.riot===3

View file

@ -1,7 +1,6 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android" <vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="16dp" android:width="16dp"
android:height="16dp" android:height="16dp"
android:autoMirrored="true"
android:viewportWidth="16" android:viewportWidth="16"
android:viewportHeight="16"> android:viewportHeight="16">
<path <path

View file

@ -27,6 +27,7 @@
android:layout_height="32dp" android:layout_height="32dp"
android:background="@drawable/bg_voice_play_pause_button" android:background="@drawable/bg_voice_play_pause_button"
android:backgroundTint="?android:colorBackground" android:backgroundTint="?android:colorBackground"
android:contentDescription="@string/a11y_play_voice_message"
android:src="@drawable/ic_play_pause_play" android:src="@drawable/ic_play_pause_play"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"

View file

@ -191,7 +191,6 @@
android:contentDescription="@string/a11y_play_voice_message" android:contentDescription="@string/a11y_play_voice_message"
android:src="@drawable/ic_play_pause_play" android:src="@drawable/ic_play_pause_play"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
app:tint="?vctr_content_secondary" /> app:tint="?vctr_content_secondary" />