Skip to content

Commit 1ccde4d

Browse files
committed
Update all attribute references to use 'attr' namespace
1 parent 52c0f90 commit 1ccde4d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+104
-104
lines changed

Material Theme Builder/app/src/main/res/drawable/ic_add_on_secondary_24dp.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
android:height="24dp"
2020
android:viewportWidth="24.0"
2121
android:viewportHeight="24.0"
22-
android:tint="?colorOnSecondary">
22+
android:tint="?attr/colorOnSecondary">
2323
<path
2424
android:fillColor="#FF000000"
2525
android:pathData="M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/>

Material Theme Builder/app/src/main/res/drawable/ic_bookmark_24dp.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
android:height="24dp"
2020
android:viewportWidth="24.0"
2121
android:viewportHeight="24.0"
22-
android:tint="?colorOnBackground">
22+
android:tint="?attr/colorOnBackground">
2323
<path
2424
android:fillColor="#FF000000"
2525
android:pathData="M17,3H7c-1.1,0 -1.99,0.9 -1.99,2L5,21l7,-3 7,3V5c0,-1.1 -0.9,-2 -2,-2z"/>

Material Theme Builder/app/src/main/res/drawable/ic_bookmark_control_normal_24dp.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
android:height="24dp"
2020
android:viewportWidth="24.0"
2121
android:viewportHeight="24.0"
22-
android:tint="?colorControlNormal">
22+
android:tint="?attr/colorControlNormal">
2323
<path
2424
android:fillColor="#FF000000"
2525
android:pathData="M17,3H7c-1.1,0 -1.99,0.9 -1.99,2L5,21l7,-3 7,3V5c0,-1.1 -0.9,-2 -2,-2z"/>

Material Theme Builder/app/src/main/res/drawable/ic_bookmark_on_surface_24dp.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
android:height="24dp"
2020
android:viewportWidth="24.0"
2121
android:viewportHeight="24.0"
22-
android:tint="?colorOnSurface">
22+
android:tint="?attr/colorOnSurface">
2323
<path
2424
android:fillColor="#FF000000"
2525
android:pathData="M17,3H7c-1.1,0 -1.99,0.9 -1.99,2L5,21l7,-3 7,3V5c0,-1.1 -0.9,-2 -2,-2z"/>

Material Theme Builder/app/src/main/res/drawable/ic_colorize_24dp.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
android:height="24dp"
2020
android:viewportWidth="24.0"
2121
android:viewportHeight="24.0"
22-
android:tint="?colorOnBackground">
22+
android:tint="?attr/colorOnBackground">
2323
<path
2424
android:fillColor="#FF000000"
2525
android:pathData="M20.71,5.63l-2.34,-2.34c-0.39,-0.39 -1.02,-0.39 -1.41,0l-3.12,3.12 -1.93,-1.91 -1.41,1.41 1.42,1.42L3,16.25V21h4.75l8.92,-8.92 1.42,1.42 1.41,-1.41 -1.92,-1.92 3.12,-3.12c0.4,-0.4 0.4,-1.03 0.01,-1.42zM6.92,19L5,17.08l8.06,-8.06 1.92,1.92L6.92,19z"/>

Material Theme Builder/app/src/main/res/drawable/ic_favorite_on_surface_24dp.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
android:height="24dp"
2020
android:viewportWidth="24.0"
2121
android:viewportHeight="24.0"
22-
android:tint="?colorOnSurface">
22+
android:tint="?attr/colorOnSurface">
2323
<path
2424
android:fillColor="#FF000000"
2525
android:pathData="M12,21.35l-1.45,-1.32C5.4,15.36 2,12.28 2,8.5 2,5.42 4.42,3 7.5,3c1.74,0 3.41,0.81 4.5,2.09C13.09,3.81 14.76,3 16.5,3 19.58,3 22,5.42 22,8.5c0,3.78 -3.4,6.86 -8.55,11.54L12,21.35z"/>

Material Theme Builder/app/src/main/res/drawable/ic_format_size_24dp.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
android:height="24dp"
2020
android:viewportWidth="24.0"
2121
android:viewportHeight="24.0"
22-
android:tint="?colorOnBackground">
22+
android:tint="?attr/colorOnBackground">
2323
<path
2424
android:fillColor="#FF000000"
2525
android:pathData="M9,4v3h5v12h3L17,7h5L22,4L9,4zM3,12h3v7h3v-7h3L12,9L3,9v3z"/>

Material Theme Builder/app/src/main/res/drawable/ic_inbox_24dp.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
android:height="24dp"
2020
android:viewportWidth="24.0"
2121
android:viewportHeight="24.0"
22-
android:tint="?colorOnBackground">
22+
android:tint="?attr/colorOnBackground">
2323
<path
2424
android:fillColor="#FF000000"
2525
android:pathData="M19,3L4.99,3c-1.11,0 -1.98,0.89 -1.98,2L3,19c0,1.1 0.88,2 1.99,2L19,21c1.1,0 2,-0.9 2,-2L21,5c0,-1.11 -0.9,-2 -2,-2zM19,15h-4c0,1.66 -1.35,3 -3,3s-3,-1.34 -3,-3L4.99,15L4.99,5L19,5v10z"/>

Material Theme Builder/app/src/main/res/drawable/ic_material_icon_24dp.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
android:viewportWidth="24.0"
2121
android:viewportHeight="24.0"
2222
android:alpha="0.38"
23-
android:tint="?colorOnSurface">
23+
android:tint="?attr/colorOnSurface">
2424
<path
2525
android:fillColor="#FF000000"
2626
android:pathData="M 23.8462 12 C 23.8462 5.46308 18.5369 0.153846 12 0.153846 C 5.46308 0.153846 0.153846 5.46308 0.153846 12 C 0.153846 18.5369 5.46308 23.8462 12 23.8462 C 18.5369 23.8462 23.8462 18.5369 23.8462 12 Z M 4.46154 18.0738 C 3.11538 16.4154 2.30769 14.3046 2.30769 12 C 2.30769 9.70615 3.12615 7.60615 4.46154 5.93692 L 4.46154 18.0738 Z M 18.0738 4.46154 L 5.92615 4.46154 C 7.58462 3.11538 9.69538 2.30769 12 2.30769 C 14.3046 2.30769 16.4154 3.11538 18.0738 4.46154 Z M 12 14.7246 L 7.95077 6.61538 L 16.06 6.61538 L 12 14.7246 Z M 17.3846 8.76923 L 17.3846 17.3846 L 13.0769 17.3846 L 17.3846 8.76923 Z M 10.9231 17.3846 L 6.61538 17.3846 L 6.61538 8.76923 L 10.9231 17.3846 Z M 18.0738 19.5385 C 16.4046 20.8846 14.2938 21.6923 12 21.6923 C 9.70615 21.6923 7.58462 20.8846 5.92615 19.5385 L 18.0738 19.5385 Z M 21.6923 12 C 21.6923 14.3046 20.8846 16.4154 19.5385 18.0738 L 19.5385 5.93692 C 20.8738 7.60615 21.6923 9.70615 21.6923 12 Z"

Material Theme Builder/app/src/main/res/drawable/ic_menu_control_normal_24dp.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
android:height="24dp"
2020
android:viewportWidth="24.0"
2121
android:viewportHeight="24.0"
22-
android:tint="?colorControlNormal">
22+
android:tint="?attr/colorControlNormal">
2323
<path
2424
android:fillColor="#FF000000"
2525
android:pathData="M3,18h18v-2L3,16v2zM3,13h18v-2L3,11v2zM3,6v2h18L21,6L3,6z"/>

0 commit comments

Comments
 (0)