replace android:src with app:srcCompat in layouts
This commit is contained in:
parent
3bbf96b057
commit
9285434b42
|
@ -23,13 +23,13 @@
|
|||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/ic_check_24dp"
|
||||
app:layout_constraintBottom_toBottomOf="@id/checkMark"
|
||||
app:layout_constraintEnd_toEndOf="@id/checkMark"
|
||||
app:layout_constraintHeight_default="percent"
|
||||
app:layout_constraintHeight_percent="0.25"
|
||||
app:layout_constraintStart_toStartOf="@id/checkMark"
|
||||
app:layout_constraintTop_toTopOf="@id/checkMark"
|
||||
app:layout_constraintHeight_default="percent"
|
||||
app:srcCompat="@drawable/ic_check_24dp"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
<TextView
|
||||
|
|
|
@ -46,8 +46,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_margin="16dp"
|
||||
android:contentDescription="@string/filter_addition_title"
|
||||
android:src="@drawable/ic_plus_24dp"
|
||||
app:layout_anchor="@id/filtersList"
|
||||
app:layout_anchorGravity="bottom|end" />
|
||||
app:layout_anchorGravity="bottom|end"
|
||||
app:srcCompat="@drawable/ic_plus_24dp" />
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
android:layout_gravity="bottom|end"
|
||||
android:layout_margin="16dp"
|
||||
android:contentDescription="@string/action_add_tab"
|
||||
android:src="@drawable/ic_plus_24dp" />
|
||||
app:srcCompat="@drawable/ic_plus_24dp" />
|
||||
|
||||
<com.google.android.material.card.MaterialCardView
|
||||
android:id="@+id/sheet"
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/ic_check_24dp"
|
||||
app:layout_constraintBottom_toBottomOf="@id/checkMark"
|
||||
app:srcCompat="@drawable/ic_check_24dp"
|
||||
app:layout_constraintEnd_toEndOf="@id/checkMark"
|
||||
app:layout_constraintHeight_percent="0.3"
|
||||
app:layout_constraintStart_toStartOf="@id/checkMark"
|
||||
|
|
|
@ -27,10 +27,10 @@
|
|||
android:layout_height="24dp"
|
||||
android:contentDescription="@null"
|
||||
android:importantForAccessibility="no"
|
||||
android:src="@drawable/bot_badge"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@id/account_avatar"
|
||||
app:layout_constraintEnd_toEndOf="@id/account_avatar"
|
||||
app:srcCompat="@drawable/bot_badge"
|
||||
tools:src="#000"
|
||||
tools:visibility="visible" />
|
||||
|
||||
|
|
|
@ -1,5 +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"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
|
@ -21,12 +22,12 @@
|
|||
<ImageButton
|
||||
android:id="@+id/deleteButton"
|
||||
style="@style/TuskyImageButton"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="32dp"
|
||||
android:contentDescription="@string/action_remove"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:src="@drawable/ic_clear_24dp" />
|
||||
android:contentDescription="@string/action_remove"
|
||||
app:srcCompat="@drawable/ic_clear_24dp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:contentDescription="@string/profile_badge_bot_text"
|
||||
android:src="@drawable/bot_badge"
|
||||
app:layout_constraintBottom_toBottomOf="@id/avatar"
|
||||
app:layout_constraintEnd_toEndOf="@id/avatar" />
|
||||
app:layout_constraintEnd_toEndOf="@id/avatar"
|
||||
app:srcCompat="@drawable/bot_badge" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/displayName"
|
||||
|
|
|
@ -23,9 +23,9 @@
|
|||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:contentDescription="@string/profile_badge_bot_text"
|
||||
android:src="@drawable/bot_badge"
|
||||
app:layout_constraintBottom_toBottomOf="@id/blocked_user_avatar"
|
||||
app:layout_constraintEnd_toEndOf="@id/blocked_user_avatar" />
|
||||
app:layout_constraintEnd_toEndOf="@id/blocked_user_avatar"
|
||||
app:srcCompat="@drawable/bot_badge" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/blocked_user_display_name"
|
||||
|
|
|
@ -42,9 +42,9 @@
|
|||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:contentDescription="@string/profile_badge_bot_text"
|
||||
android:src="@drawable/bot_badge"
|
||||
app:layout_constraintBottom_toBottomOf="@id/avatar"
|
||||
app:layout_constraintEnd_toEndOf="@id/avatar" />
|
||||
app:layout_constraintEnd_toEndOf="@id/avatar"
|
||||
app:srcCompat="@drawable/bot_badge" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/displayNameTextView"
|
||||
|
|
|
@ -28,34 +28,34 @@
|
|||
|
||||
<ImageButton
|
||||
android:id="@+id/more_button"
|
||||
android:visibility="gone"
|
||||
style="@style/TuskyImageButton"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
android:background="?selectableItemBackgroundBorderless"
|
||||
android:contentDescription="@string/action_more"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:src="@drawable/ic_more_horiz_24dp" />
|
||||
android:visibility="gone"
|
||||
app:srcCompat="@drawable/ic_more_horiz_24dp" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/add_button"
|
||||
android:visibility="gone"
|
||||
style="@style/TuskyImageButton"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="32dp"
|
||||
android:layout_marginStart="8dp"
|
||||
android:background="?attr/selectableItemBackgroundBorderless"
|
||||
android:contentDescription="@string/action_add_to_list"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:src="@drawable/ic_plus_24dp" />
|
||||
android:visibility="gone"
|
||||
app:srcCompat="@drawable/ic_plus_24dp" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/remove_button"
|
||||
android:visibility="gone"
|
||||
style="@style/TuskyImageButton"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="32dp"
|
||||
android:layout_marginStart="8dp"
|
||||
android:background="?attr/selectableItemBackgroundBorderless"
|
||||
android:contentDescription="@string/action_remove_from_list"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:src="@drawable/ic_clear_24dp" />
|
||||
android:visibility="gone"
|
||||
app:srcCompat="@drawable/ic_clear_24dp" />
|
||||
</LinearLayout>
|
||||
|
|
|
@ -24,9 +24,9 @@
|
|||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:contentDescription="@string/profile_badge_bot_text"
|
||||
android:src="@drawable/bot_badge"
|
||||
app:layout_constraintBottom_toBottomOf="@id/muted_user_avatar"
|
||||
app:layout_constraintEnd_toEndOf="@id/muted_user_avatar" />
|
||||
app:layout_constraintEnd_toEndOf="@id/muted_user_avatar"
|
||||
app:srcCompat="@drawable/bot_badge" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/muted_user_display_name"
|
||||
|
|
|
@ -18,11 +18,11 @@
|
|||
android:layout_gravity="end"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingBottom="8dp"
|
||||
android:src="@drawable/ic_drag_indicator_24dp"
|
||||
tools:ignore="ContentDescription"
|
||||
app:layout_constraintBottom_toBottomOf="@id/textView"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="@id/textView"/>
|
||||
app:srcCompat="@drawable/ic_drag_indicator_24dp"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView"
|
||||
|
@ -52,9 +52,9 @@
|
|||
android:layout_marginTop="4dp"
|
||||
android:background="?attr/selectableItemBackgroundBorderless"
|
||||
android:contentDescription="@string/action_delete"
|
||||
android:src="@drawable/ic_clear_24dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:srcCompat="@drawable/ic_clear_24dp" />
|
||||
|
||||
<com.google.android.material.chip.ChipGroup
|
||||
android:id="@+id/chipGroup"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merge 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_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
|
@ -33,7 +34,7 @@
|
|||
android:layout_marginTop="4dp"
|
||||
android:contentDescription="@null"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@drawable/errorphant_offline" />
|
||||
tools:src="@drawable/errorphant_offline" />
|
||||
|
||||
<com.keylesspalace.tusky.view.ClickableSpanTextView
|
||||
android:id="@+id/messageTextView"
|
||||
|
|
Loading…
Reference in New Issue