Skip to content

Commit 175490c

Browse files
committed
fixed lint error using appTint
1 parent 22fefde commit 175490c

33 files changed

+67
-41
lines changed

Simplenote/src/main/res/layout/activity_note_editor.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
android:minWidth="@dimen/minimum_target"
7979
android:padding="@dimen/padding_large"
8080
android:src="@drawable/ic_chevron_left_24dp"
81-
android:tint="@color/toolbar_icon_alpha_40_selector"
81+
app:tint="@color/toolbar_icon_alpha_40_selector"
8282
android:tintMode="src_in">
8383
</ImageButton>
8484

@@ -132,7 +132,7 @@
132132
android:minWidth="@dimen/minimum_target"
133133
android:padding="@dimen/padding_large"
134134
android:src="@drawable/ic_chevron_right_24dp"
135-
android:tint="@color/toolbar_icon_alpha_40_selector"
135+
app:tint="@color/toolbar_icon_alpha_40_selector"
136136
android:tintMode="src_in">
137137
</ImageButton>
138138

Simplenote/src/main/res/layout/collaborator_row.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<LinearLayout
44
xmlns:android="http://schemas.android.com/apk/res/android"
5+
xmlns:app="http://schemas.android.com/apk/res-auto"
56
xmlns:tools="http://schemas.android.com/tools"
67
android:background="?android:attr/selectableItemBackground"
78
android:descendantFocusability="blocksDescendants"
@@ -35,6 +36,6 @@
3536
android:padding="@dimen/padding_medium"
3637
android:layout_marginEnd="4dp"
3738
android:src="@drawable/ic_cross_24dp"
38-
android:tint="?attr/notePreviewColor">
39+
app:tint="?attr/notePreviewColor">
3940
</ImageButton>
4041
</LinearLayout>

Simplenote/src/main/res/layout/empty_view_message.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22

33
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
4+
xmlns:app="http://schemas.android.com/apk/res-auto"
45
xmlns:tools="http://schemas.android.com/tools"
56
android:layout_width="match_parent"
67
android:layout_height="match_parent"
@@ -16,7 +17,7 @@
1617
android:adjustViewBounds="true"
1718
android:importantForAccessibility="no"
1819
android:src="@drawable/ic_notes_24dp"
19-
android:tint="?attr/emptyImageColor" />
20+
app:tint="?attr/emptyImageColor" />
2021

2122
<com.automattic.simplenote.widgets.RobotoRegularTextView
2223
android:id="@+id/title"

Simplenote/src/main/res/layout/fragment_note_error.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<LinearLayout
44
xmlns:android="http://schemas.android.com/apk/res/android"
5+
xmlns:app="http://schemas.android.com/apk/res-auto"
56
xmlns:tools="http://schemas.android.com/tools"
67
android:id="@+id/error"
78
android:background="?attr/mainBackgroundColor"
@@ -27,7 +28,7 @@
2728
android:layout_marginTop="@dimen/padding_large"
2829
android:layout_width="@dimen/icon_empty"
2930
android:src="@drawable/ic_warning_24dp"
30-
android:tint="?attr/emptyImageColor">
31+
app:tint="?attr/emptyImageColor">
3132
</ImageView>
3233

3334
<com.automattic.simplenote.widgets.RobotoRegularTextView

Simplenote/src/main/res/layout/fragment_review_account_verify_email.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<ScrollView
44
xmlns:android="http://schemas.android.com/apk/res/android"
5+
xmlns:app="http://schemas.android.com/apk/res-auto"
56
xmlns:tools="http://schemas.android.com/tools"
67
android:clipToPadding="false"
78
android:fillViewport="true"
@@ -27,7 +28,7 @@
2728
android:layout_width="@dimen/icon_fullscreen"
2829
android:layout_marginBottom="@dimen/padding_medium"
2930
android:src="@drawable/ic_warning_24dp"
30-
android:tint="?attr/toolbarIconColor">
31+
app:tint="?attr/toolbarIconColor">
3132
</ImageView>
3233

3334
<TextView

Simplenote/src/main/res/layout/note_list_widget_dark_black.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<RelativeLayout
44
xmlns:android="http://schemas.android.com/apk/res/android"
5+
xmlns:app="http://schemas.android.com/apk/res-auto"
56
xmlns:tools="http://schemas.android.com/tools"
67
android:id="@+id/widget_layout"
78
android:background="@drawable/note_widget_background_dark_black"
@@ -53,7 +54,7 @@
5354
android:focusable="true"
5455
android:padding="@dimen/padding_medium"
5556
android:src="@drawable/ic_new_note_24dp"
56-
android:tint="@android:color/white"
57+
app:tint="@android:color/white"
5758
android:visibility="gone"
5859
tools:visibility="visible"></ImageView>
5960

Simplenote/src/main/res/layout/note_list_widget_dark_classic.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<RelativeLayout
44
xmlns:android="http://schemas.android.com/apk/res/android"
5+
xmlns:app="http://schemas.android.com/apk/res-auto"
56
xmlns:tools="http://schemas.android.com/tools"
67
android:id="@+id/widget_layout"
78
android:background="@drawable/note_widget_background_dark"
@@ -50,7 +51,7 @@
5051
android:layout_width="@dimen/minimum_target"
5152
android:padding="@dimen/padding_medium"
5253
android:src="@drawable/ic_new_note_24dp"
53-
android:tint="@color/gray_100"
54+
app:tint="@color/gray_100"
5455
android:visibility="gone"
5556
tools:visibility="visible">
5657
</ImageView>

Simplenote/src/main/res/layout/note_list_widget_dark_default.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<RelativeLayout
44
xmlns:android="http://schemas.android.com/apk/res/android"
5+
xmlns:app="http://schemas.android.com/apk/res-auto"
56
xmlns:tools="http://schemas.android.com/tools"
67
android:id="@+id/widget_layout"
78
android:background="@drawable/note_widget_background_dark"
@@ -53,7 +54,7 @@
5354
android:focusable="true"
5455
android:padding="@dimen/padding_medium"
5556
android:src="@drawable/ic_new_note_24dp"
56-
android:tint="@color/gray_100"
57+
app:tint="@color/gray_100"
5758
android:visibility="gone"
5859
tools:visibility="visible"></ImageView>
5960

Simplenote/src/main/res/layout/note_list_widget_dark_matrix.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<RelativeLayout
44
xmlns:android="http://schemas.android.com/apk/res/android"
5+
xmlns:app="http://schemas.android.com/apk/res-auto"
56
xmlns:tools="http://schemas.android.com/tools"
67
android:id="@+id/widget_layout"
78
android:background="@drawable/note_widget_background_dark_black"
@@ -54,7 +55,7 @@
5455
android:focusable="true"
5556
android:padding="@dimen/padding_medium"
5657
android:src="@drawable/ic_new_note_24dp"
57-
android:tint="@color/gray_100"
58+
app:tint="@color/gray_100"
5859
android:visibility="gone"
5960
tools:visibility="visible"></ImageView>
6061

Simplenote/src/main/res/layout/note_list_widget_dark_mono.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<RelativeLayout
44
xmlns:android="http://schemas.android.com/apk/res/android"
5+
xmlns:app="http://schemas.android.com/apk/res-auto"
56
xmlns:tools="http://schemas.android.com/tools"
67
android:id="@+id/widget_layout"
78
android:background="@drawable/note_widget_background_dark"
@@ -54,7 +55,7 @@
5455
android:focusable="true"
5556
android:padding="@dimen/padding_medium"
5657
android:src="@drawable/ic_new_note_24dp"
57-
android:tint="@color/gray_100"
58+
app:tint="@color/gray_100"
5859
android:visibility="gone"
5960
tools:visibility="visible"></ImageView>
6061

0 commit comments

Comments
 (0)