Skip to content

Commit 29e4999

Browse files
committed
Analysis: Resolve obsolete sdk int lint warnings for all xml files
Warning Message: "Unnecessary; SDK_INT is always >= 24" These 'tools:targetApi="jelly_bean_mr1"' and 'tools:targetApi="lollipop"' attributes are no longer necessary as the 'minSdkVersion' is now '24'.
1 parent de2dba2 commit 29e4999

File tree

37 files changed

+39
-109
lines changed

37 files changed

+39
-109
lines changed

app/src/main/res/drawable/ic_action_redo_selector.xml

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

3-
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android"
4-
xmlns:tools="http://schemas.android.com/tools"
5-
tools:targetApi="lollipop">
3+
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android">
64

75
<item android:drawable="@drawable/ic_action_redo_white_30_24dp" android:state_enabled="false" />
86
<item android:drawable="@drawable/ic_action_redo_white_24dp" />

app/src/main/res/drawable/ic_action_undo_selector.xml

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

3-
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android"
4-
xmlns:tools="http://schemas.android.com/tools"
5-
tools:targetApi="lollipop">
3+
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android">
64

75
<item android:drawable="@drawable/ic_action_undo_white_30_24dp" android:state_enabled="false" />
86
<item android:drawable="@drawable/ic_action_undo_white_24dp" />

app/src/main/res/drawable/media_bar_button_camera_selector.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android"
3-
xmlns:tools="http://schemas.android.com/tools"
4-
tools:targetApi="lollipop">
2+
3+
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android">
54

65
<item android:drawable="@drawable/media_bar_button_camera_disabled" android:state_enabled="false"/>
76
<item android:drawable="@drawable/media_bar_button_camera_highlighted" android:state_focused="true"/>

app/src/main/res/drawable/media_bar_button_image_multiple_selector.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android"
3-
xmlns:tools="http://schemas.android.com/tools"
4-
tools:targetApi="lollipop">
2+
3+
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android">
54

65
<item android:drawable="@drawable/media_bar_button_image_multiple_disabled" android:state_enabled="false"/>
76
<item android:drawable="@drawable/media_bar_button_image_multiple_highlighted" android:state_focused="true"/>

aztec/src/main/res/drawable/format_bar_button_align_center_selector.xml

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

3-
<animated-selector xmlns:tools="http://schemas.android.com/tools"
4-
xmlns:android="http://schemas.android.com/apk/res/android"
5-
tools:targetApi="lollipop">
3+
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android">
64

75
<item android:drawable="@drawable/format_bar_button_align_center_disabled" android:state_enabled="false" />
86
<item android:drawable="@drawable/format_bar_button_align_center_highlighted" android:state_checked="true" />

aztec/src/main/res/drawable/format_bar_button_align_left_selector.xml

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

3-
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android"
4-
xmlns:tools="http://schemas.android.com/tools"
5-
tools:targetApi="lollipop">
3+
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android">
64

75
<item android:drawable="@drawable/format_bar_button_align_left_disabled" android:state_enabled="false" />
86
<item android:drawable="@drawable/format_bar_button_align_left_highlighted" android:state_checked="true" />

aztec/src/main/res/drawable/format_bar_button_align_right_selector.xml

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

3-
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android"
4-
xmlns:tools="http://schemas.android.com/tools"
5-
tools:targetApi="lollipop">
3+
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android">
64

75
<item android:drawable="@drawable/format_bar_button_align_right_disabled" android:state_enabled="false" />
86
<item android:drawable="@drawable/format_bar_button_align_right_highlighted" android:state_checked="true" />

aztec/src/main/res/drawable/format_bar_button_bold_selector.xml

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

3-
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android"
4-
xmlns:tools="http://schemas.android.com/tools"
5-
tools:targetApi="lollipop">
3+
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android">
64

75
<item android:drawable="@drawable/format_bar_button_bold_disabled" android:state_enabled="false" />
86
<item android:drawable="@drawable/format_bar_button_bold_highlighted" android:state_checked="true" />

aztec/src/main/res/drawable/format_bar_button_code_selector.xml

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

3-
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android"
4-
xmlns:tools="http://schemas.android.com/tools"
5-
tools:targetApi="lollipop">
3+
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android">
64

75
<item android:drawable="@drawable/format_bar_button_code_disabled" android:state_enabled="false" />
86
<item android:drawable="@drawable/format_bar_button_code_highlighted" android:state_checked="true" />

aztec/src/main/res/drawable/format_bar_button_ellipsis_horizontal_selector.xml

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

3-
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android"
4-
xmlns:tools="http://schemas.android.com/tools"
5-
tools:targetApi="lollipop">
3+
<animated-selector xmlns:android="http://schemas.android.com/apk/res/android">
64

75
<item android:drawable="@drawable/format_bar_button_ellipsis_horizontal_disabled" android:state_enabled="false" />
86
<item android:drawable="@drawable/format_bar_button_ellipsis_horizontal" />

0 commit comments

Comments
 (0)