Skip to content

Commit 6575355

Browse files
committed
Add (black)Material icons for light theme
1 parent 1df98ef commit 6575355

37 files changed

+21
-7
lines changed
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

app/src/main/res/menu/activity_share.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
xmlns:app="http://schemas.android.com/apk/res-auto">
33
<item android:id="@+id/menu_upload_single"
44
android:title="@string/menu_upload_single"
5-
android:icon="@drawable/ic_send_white_24dp"
5+
android:icon="?attr/iconSend"
66
android:enabled="false"
77
app:showAsAction="always" />
88
</menu>

app/src/main/res/menu/fragment_categorization.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
xmlns:app="http://schemas.android.com/apk/res-auto">
55
<item android:id="@+id/menu_save_categories"
66
android:title="@string/menu_save_categories"
7-
android:icon="@drawable/ic_save_white_24dp"
7+
android:icon="?attr/iconSave"
88
app:showAsAction="always" />
99
</menu>

app/src/main/res/menu/fragment_contributions_list.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
android:title="@string/menu_from_camera"
55
android:orderInCategory="100"
66
app:showAsAction="ifRoom|withText"
7-
android:icon="@drawable/ic_photo_camera_white_24dp"
7+
android:icon="?attr/iconCamera"
88
/>
99
<item android:id="@+id/menu_from_gallery"
1010
android:title="@string/menu_from_gallery"
1111
android:orderInCategory="200"
1212
app:showAsAction="ifRoom|withText"
13-
android:icon="@drawable/ic_photo_white_24dp"
13+
android:icon="?attr/iconPhoto"
1414
/>
1515
<item android:id="@+id/menu_settings"
1616
android:title="@string/menu_settings"

app/src/main/res/menu/fragment_image_detail.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<item
1919
android:id="@+id/menu_retry_current_image"
2020
android:enabled="false"
21-
android:icon="@drawable/ic_undo_white_24dp"
21+
android:icon="?attr/iconUndo"
2222
android:title="@string/menu_retry_upload"
2323
android:visible="false"
2424
app:showAsAction="ifRoom|withText" />

app/src/main/res/menu/fragment_multiple_upload_list.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
<item android:id="@+id/menu_upload_multiple"
77
android:title="@string/share_upload_button"
88
app:showAsAction="always|withText"
9-
android:icon="@drawable/ic_send_white_24dp"
9+
android:icon="?attr/iconSend"
1010
/>
1111
</menu>

app/src/main/res/values/attrs.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,9 @@
88
<attr name="buttonBackground" format="reference"/>
99
<attr name="uploadOverlayBackground" format="reference"/>
1010
<attr name="toggleButtonIcon" format="reference"/>
11+
<attr name="iconSend" format="reference"/>
12+
<attr name="iconSave" format="reference"/>
13+
<attr name="iconCamera" format="reference"/>
14+
<attr name="iconPhoto" format="reference"/>
15+
<attr name="iconUndo" format="reference"/>
1116
</resources>

app/src/main/res/values/styles.xml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99
<item name="buttonBackground">@color/button_background_dark</item>
1010
<item name="uploadOverlayBackground">@color/upload_overlay_background_dark</item>
1111
<item name="toggleButtonIcon">@drawable/toggle_inverse</item>
12-
12+
<item name="iconSend">@drawable/ic_send_white_24dp</item>
13+
<item name="iconSave">@drawable/ic_save_white_24dp</item>
14+
<item name="iconCamera">@drawable/ic_photo_camera_white_24dp</item>
15+
<item name="iconPhoto">@drawable/ic_photo_white_24dp</item>
16+
<item name="iconUndo">@drawable/ic_undo_white_24dp</item>
1317
</style>
1418

1519
<style name="LightAppTheme" parent="Theme.AppCompat.Light">
@@ -21,6 +25,11 @@
2125
<item name="buttonBackground">@color/button_background_light</item>
2226
<item name="uploadOverlayBackground">@color/upload_overlay_background_light</item>
2327
<item name="toggleButtonIcon">@drawable/toggle</item>
28+
<item name="iconSend">@drawable/ic_send_black_24dp</item>
29+
<item name="iconSave">@drawable/ic_save_black_24dp</item>
30+
<item name="iconCamera">@drawable/ic_photo_camera_black_24dp</item>
31+
<item name="iconPhoto">@drawable/ic_photo_black_24dp</item>
32+
<item name="iconUndo">@drawable/ic_undo_black_24dp</item>
2433
</style>
2534

2635
<style name="NoTitle" parent="DarkAppTheme">

0 commit comments

Comments
 (0)