Skip to content

Commit fcaf4b9

Browse files
committed
Fix tint attribute
1 parent a20f2d0 commit fcaf4b9

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

app/src/main/res/layout/fragment_method_selection.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:app="http://schemas.android.com/apk/res-auto"
34
xmlns:tools="http://schemas.android.com/tools"
45
android:layout_width="match_parent"
56
android:layout_height="match_parent"
@@ -46,7 +47,7 @@
4647
android:layout_marginEnd="32dp"
4748
android:alpha="0.54"
4849
android:src="@drawable/ic_camera_alt_black_24dp"
49-
android:tint="?attr/colorOnSurface" />
50+
app:tint="?attr/colorOnSurface" />
5051

5152
<TextView
5253
style="@style/TextAppearance.MaterialComponents.Subtitle2"
@@ -73,7 +74,7 @@
7374
android:layout_marginEnd="32dp"
7475
android:alpha="0.54"
7576
android:src="@drawable/ic_photo_library_black_24dp"
76-
android:tint="?attr/colorOnSurface" />
77+
app:tint="?attr/colorOnSurface" />
7778

7879
<TextView
7980
style="@style/TextAppearance.MaterialComponents.Subtitle2"
@@ -100,7 +101,7 @@
100101
android:layout_marginEnd="32dp"
101102
android:alpha="0.54"
102103
android:src="@drawable/ic_confirmation_number_black_24dp"
103-
android:tint="?attr/colorOnSurface" />
104+
app:tint="?attr/colorOnSurface" />
104105

105106
<TextView
106107
style="@style/TextAppearance.MaterialComponents.Subtitle2"

app/src/main/res/layout/include_login.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:app="http://schemas.android.com/apk/res-auto"
34
android:id="@+id/login_view"
45
android:layout_width="wrap_content"
56
android:layout_height="wrap_content"
@@ -11,7 +12,7 @@
1112
android:layout_height="150dp"
1213
android:layout_centerHorizontal="true"
1314
android:src="@drawable/qr_code"
14-
android:tint="@android:color/darker_gray" />
15+
app:tint="@android:color/darker_gray" />
1516

1617
<TextView
1718
android:id="@+id/login_title"

app/src/main/res/layout/item_menu_item.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:app="http://schemas.android.com/apk/res-auto"
34
android:layout_width="match_parent"
45
android:layout_height="wrap_content"
56
android:background="?android:attr/selectableItemBackground"
@@ -15,7 +16,7 @@
1516
android:layout_marginStart="16dp"
1617
android:layout_marginEnd="32dp"
1718
android:alpha="0.54"
18-
android:tint="?attr/colorOnSurface" />
19+
app:tint="?attr/colorOnSurface" />
1920

2021
<TextView
2122
android:id="@+id/title"
@@ -34,5 +35,5 @@
3435
android:layout_marginEnd="16dp"
3536
android:alpha="0.54"
3637
android:src="@drawable/ic_launch_black_24dp"
37-
android:tint="?attr/colorOnSurface" />
38+
app:tint="?attr/colorOnSurface" />
3839
</LinearLayout>

app/src/main/res/layout/nav_header.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
-->
1616

1717
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
18+
xmlns:app="http://schemas.android.com/apk/res-auto"
1819
android:layout_width="match_parent"
1920
android:layout_height="192dp"
2021
android:background="?attr/colorPrimaryDark"
@@ -57,7 +58,7 @@
5758
android:layout_below="@id/user_title"
5859
android:layout_alignParentEnd="true"
5960
android:src="@drawable/ic_arrow_drop_down_black_24dp"
60-
android:tint="@color/colorWhite" />
61+
app:tint="@color/colorWhite" />
6162

6263
</RelativeLayout>
6364

0 commit comments

Comments
 (0)