Replace "android:tint" with "app:tint" in layouts

This commit is contained in:
cketti 2021-11-26 16:06:05 +01:00
parent 71a267a97f
commit c4d0aa6f49
8 changed files with 22 additions and 37 deletions

View file

@ -62,8 +62,7 @@
android:layout_margin="8dp"
android:id="@+id/crypto_special_inline"
app:srcCompat="@drawable/compatibility"
android:tint="@color/light_black"
/>
app:tint="@color/light_black" />
<ImageView
android:layout_width="wrap_content"
@ -72,8 +71,7 @@
android:layout_margin="8dp"
android:id="@+id/crypto_special_sign_only"
app:srcCompat="@drawable/status_signature"
android:tint="?attr/openpgp_blue"
/>
app:tint="?attr/openpgp_blue" />
<FrameLayout
android:layout_width="wrap_content"
@ -87,16 +85,14 @@
android:layout_gravity="center"
android:layout_margin="8dp"
app:srcCompat="@drawable/status_signature"
android:tint="?attr/openpgp_blue"
/>
app:tint="?attr/openpgp_blue" />
<ImageView
android:layout_width="16dp"
android:layout_height="16dp"
android:layout_gravity="right|bottom"
app:srcCompat="@drawable/compatibility"
android:tint="@color/light_black"
/>
app:tint="@color/light_black" />
</FrameLayout>
</com.fsck.k9.view.ToolableViewAnimator>
@ -127,8 +123,7 @@
android:layout_gravity="center"
android:id="@+id/crypto_status_disabled"
app:srcCompat="@drawable/status_lock_disabled"
android:tint="?attr/openpgp_dark_grey"
/>
app:tint="?attr/openpgp_dark_grey" />
<ImageView
android:layout_width="wrap_content"
@ -136,8 +131,7 @@
android:layout_gravity="center"
android:id="@+id/crypto_status_enabled"
app:srcCompat="@drawable/status_lock"
android:tint="?attr/openpgp_green"
/>
app:tint="?attr/openpgp_green" />
<FrameLayout
android:layout_width="match_parent"
@ -150,16 +144,14 @@
android:layout_height="wrap_content"
android:layout_gravity="left|center_vertical"
app:srcCompat="@drawable/status_dots"
android:tint="?attr/openpgp_grey"
/>
app:tint="?attr/openpgp_grey" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="left|center_vertical"
app:srcCompat="@drawable/status_lock_dots_3"
android:tint="?attr/openpgp_green"
/>
app:tint="?attr/openpgp_green" />
</FrameLayout>
@ -169,8 +161,7 @@
android:layout_gravity="center"
android:id="@+id/crypto_status_error"
app:srcCompat="@drawable/status_lock_error"
android:tint="?attr/openpgp_red"
/>
app:tint="?attr/openpgp_red" />
</com.fsck.k9.view.ToolableViewAnimator>

View file

@ -53,7 +53,7 @@
android:layout_gravity="center"
android:padding="6dp"
app:srcCompat="@drawable/status_lock_disabled"
android:tint="?attr/openpgp_grey"
app:tint="?attr/openpgp_grey"
android:background="?selectableItemBackground"
android:visibility="gone"
/>

View file

@ -24,7 +24,7 @@
android:layout_gravity="center_vertical"
app:srcCompat="@drawable/status_signature"
android:scaleType="fitCenter"
android:tint="@color/light_black"
app:tint="@color/light_black"
/>
<TextView
@ -58,7 +58,7 @@
android:layout_height="wrap_content"
android:padding="6dp"
app:srcCompat="@drawable/status_lock_disabled"
android:tint="?attr/openpgp_dark_grey"
app:tint="?attr/openpgp_dark_grey"
/>
<ImageView
@ -73,7 +73,7 @@
android:layout_height="wrap_content"
android:padding="6dp"
app:srcCompat="@drawable/status_lock"
android:tint="?attr/openpgp_green"
app:tint="?attr/openpgp_green"
/>
</LinearLayout>

View file

@ -22,7 +22,7 @@
android:layout_gravity="center_vertical"
app:srcCompat="@drawable/compatibility"
android:scaleType="fitCenter"
android:tint="@color/light_black"
app:tint="@color/light_black"
/>
<TextView

View file

@ -24,8 +24,7 @@
android:layout_gravity="center_vertical"
app:srcCompat="@drawable/status_signature"
android:scaleType="fitCenter"
android:tint="@color/light_black"
/>
app:tint="@color/light_black" />
<TextView
android:layout_width="wrap_content"

View file

@ -120,8 +120,7 @@
android:layout_height="wrap_content"
android:layout_gravity="left|center_vertical"
app:srcCompat="@drawable/status_dots"
android:tint="?attr/openpgp_grey"
/>
app:tint="?attr/openpgp_grey" />
<ImageView
android:id="@+id/alternate_crypto_status_icon"
@ -141,7 +140,7 @@
android:layout_margin="13dp"
android:id="@+id/alternate_crypto_status_simple"
app:srcCompat="@drawable/status_lock"
android:tint="?attr/openpgp_black"
app:tint="?attr/openpgp_black"
android:visibility="gone"
tools:visibility="visible"
/>

View file

@ -59,8 +59,7 @@
android:layout_height="wrap_content"
android:layout_gravity="left|center_vertical"
app:srcCompat="@drawable/status_dots"
android:tint="?attr/openpgp_grey"
/>
app:tint="?attr/openpgp_grey" />
<ImageView
android:id="@+id/contact_crypto_status_icon"
@ -80,7 +79,7 @@
android:layout_margin="13dp"
android:id="@+id/contact_crypto_status_icon_simple"
app:srcCompat="@drawable/status_lock"
android:tint="?attr/openpgp_black"
app:tint="?attr/openpgp_black"
android:visibility="gone"
tools:visibility="visible"
/>

View file

@ -7,8 +7,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
app:srcCompat="@drawable/ic_chevron_right_black_24dp"
android:tint="@color/status_todo_chevron"
/>
app:tint="@color/status_todo_chevron" />
<ProgressBar
android:layout_width="match_parent"
@ -20,14 +19,12 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
app:srcCompat="@drawable/ic_check_black_24dp"
android:tint="@color/status_ok_checkmark"
/>
app:tint="@color/status_ok_checkmark" />
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
app:srcCompat="@drawable/ic_close_black_24dp"
android:tint="@color/status_error_cross"
/>
app:tint="@color/status_error_cross" />
</merge>