Fix action icons
|
Before Width: | Height: | Size: 181 B After Width: | Height: | Size: 181 B |
|
Before Width: | Height: | Size: 134 B After Width: | Height: | Size: 134 B |
|
Before Width: | Height: | Size: 201 B After Width: | Height: | Size: 201 B |
|
Before Width: | Height: | Size: 268 B After Width: | Height: | Size: 268 B |
@@ -45,7 +45,7 @@
|
||||
android:id="@+id/buttonPickColor"
|
||||
style="@style/dialogFormInputColor"
|
||||
android:contentDescription="@string/color_picker_default_title"
|
||||
android:src="@drawable/ic_action_color_light"/>
|
||||
android:src="?dialogIconChangeColor"/>
|
||||
</LinearLayout>
|
||||
|
||||
<EditText
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2016 Álinson Santos Xavier <isoron@gmail.com>
|
||||
~
|
||||
~ This file is part of Loop Habit Tracker.
|
||||
~
|
||||
~ Loop Habit Tracker is free software: you can redistribute it and/or modify
|
||||
~ it under the terms of the GNU General Public License as published by the
|
||||
~ Free Software Foundation, either version 3 of the License, or (at your
|
||||
~ option) any later version.
|
||||
~
|
||||
~ Loop Habit Tracker is distributed in the hope that it will be useful, but
|
||||
~ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
~ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
~ more details.
|
||||
~
|
||||
~ You should have received a copy of the GNU General Public License along
|
||||
~ with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item
|
||||
android:id="@+id/action_edit_habit"
|
||||
android:title="@string/edit"
|
||||
android:icon="@drawable/ic_action_edit_dark"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/action_color"
|
||||
android:title="@string/color_picker_default_title"
|
||||
android:icon="@drawable/ic_action_color_dark"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/action_archive_habit"
|
||||
android:title="@string/archive"
|
||||
android:icon="@drawable/ic_action_archive_dark" />
|
||||
|
||||
<item
|
||||
android:id="@+id/action_unarchive_habit"
|
||||
android:title="@string/unarchive"
|
||||
android:icon="@drawable/ic_action_unarchive_dark"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/action_delete"
|
||||
android:title="@string/delete"
|
||||
android:showAsAction="never" />
|
||||
|
||||
</menu>
|
||||
@@ -1,28 +0,0 @@
|
||||
<!--
|
||||
~ Copyright (C) 2016 Álinson Santos Xavier <isoron@gmail.com>
|
||||
~
|
||||
~ This file is part of Loop Habit Tracker.
|
||||
~
|
||||
~ Loop Habit Tracker is free software: you can redistribute it and/or modify
|
||||
~ it under the terms of the GNU General Public License as published by the
|
||||
~ Free Software Foundation, either version 3 of the License, or (at your
|
||||
~ option) any later version.
|
||||
~
|
||||
~ Loop Habit Tracker is distributed in the hope that it will be useful, but
|
||||
~ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
~ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
~ more details.
|
||||
~
|
||||
~ You should have received a copy of the GNU General Public License along
|
||||
~ with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context="org.isoron.uhabits.MainActivity" >
|
||||
|
||||
<item
|
||||
android:id="@+id/action_add"
|
||||
android:title="@string/add_habit" android:showAsAction="always" android:icon="@drawable/ic_action_add_dark"/>
|
||||
|
||||
</menu>
|
||||
@@ -1,28 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2016 Álinson Santos Xavier <isoron@gmail.com>
|
||||
~
|
||||
~ This file is part of Loop Habit Tracker.
|
||||
~
|
||||
~ Loop Habit Tracker is free software: you can redistribute it and/or modify
|
||||
~ it under the terms of the GNU General Public License as published by the
|
||||
~ Free Software Foundation, either version 3 of the License, or (at your
|
||||
~ option) any later version.
|
||||
~
|
||||
~ Loop Habit Tracker is distributed in the hope that it will be useful, but
|
||||
~ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
~ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
~ more details.
|
||||
~
|
||||
~ You should have received a copy of the GNU General Public License along
|
||||
~ with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item
|
||||
android:id="@+id/action_edit_habit"
|
||||
android:showAsAction="ifRoom"
|
||||
android:icon="@drawable/ic_action_edit_dark"
|
||||
android:title="@string/edit"/>
|
||||
</menu>
|
||||
@@ -23,25 +23,26 @@
|
||||
<item
|
||||
android:id="@+id/action_edit_habit"
|
||||
android:title="@string/edit"
|
||||
android:icon="@drawable/ic_action_edit_light"/>
|
||||
android:icon="?iconEdit"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/action_color"
|
||||
android:title="@string/color_picker_default_title"
|
||||
android:icon="@drawable/ic_action_color_light"/>
|
||||
android:icon="?iconChangeColor"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/action_archive_habit"
|
||||
android:title="@string/archive"
|
||||
android:icon="@drawable/ic_action_archive_light" />
|
||||
android:icon="?iconArchive" />
|
||||
|
||||
<item
|
||||
android:id="@+id/action_unarchive_habit"
|
||||
android:title="@string/unarchive"
|
||||
android:icon="@drawable/ic_action_unarchive_light"/>
|
||||
android:icon="?iconUnarchive"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/action_delete"
|
||||
android:title="@string/delete" />
|
||||
android:title="@string/delete"
|
||||
android:showAsAction="never"/>
|
||||
|
||||
</menu>
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
<item
|
||||
android:id="@+id/action_add"
|
||||
android:icon="@drawable/ic_action_add"
|
||||
android:icon="?iconAdd"
|
||||
android:title="@string/add_habit"
|
||||
android:showAsAction="always"/>
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
<item
|
||||
android:id="@+id/action_edit_habit"
|
||||
android:icon="@drawable/ic_action_edit_light"
|
||||
android:icon="?iconEdit"
|
||||
android:title="@string/edit"
|
||||
android:showAsAction="ifRoom"/>
|
||||
|
||||
|
||||
@@ -46,6 +46,13 @@
|
||||
<item name="mediumContrastTextColor">@color/grey_500</item>
|
||||
<item name="lowContrastTextColor">@color/grey_300</item>
|
||||
|
||||
<item name="iconAdd">@drawable/ic_action_add_dark</item>
|
||||
<item name="iconArchive">@drawable/ic_action_archive_dark</item>
|
||||
<item name="iconEdit">@drawable/ic_action_edit_dark</item>
|
||||
<item name="iconUnarchive">@drawable/ic_action_unarchive_dark</item>
|
||||
<item name="iconChangeColor">@drawable/ic_action_color_dark</item>
|
||||
<item name="dialogIconChangeColor">@drawable/ic_action_color_light</item>
|
||||
|
||||
<item name="aboutScreenColor">@color/blue_700</item>
|
||||
</style>
|
||||
|
||||
@@ -74,6 +81,13 @@
|
||||
<item name="mediumContrastReverseTextColor">@color/grey_700</item>
|
||||
<item name="lowContrastReverseTextColor">@color/grey_300</item>
|
||||
|
||||
<item name="iconAdd">@drawable/ic_action_add_dark</item>
|
||||
<item name="iconArchive">@drawable/ic_action_archive_dark</item>
|
||||
<item name="iconEdit">@drawable/ic_action_edit_dark</item>
|
||||
<item name="iconUnarchive">@drawable/ic_action_unarchive_dark</item>
|
||||
<item name="iconChangeColor">@drawable/ic_action_color_dark</item>
|
||||
<item name="dialogIconChangeColor">@drawable/ic_action_color_dark</item>
|
||||
|
||||
<item name="palette">@array/darkPalette</item>
|
||||
|
||||
<item name="aboutScreenColor">@color/blue_300</item>
|
||||
|
||||
@@ -35,6 +35,14 @@
|
||||
<attr name="mediumContrastReverseTextColor" format="reference"/>
|
||||
<attr name="lowContrastReverseTextColor" format="reference"/>
|
||||
|
||||
<attr name="iconAdd" format="reference"/>
|
||||
<attr name="iconArchive" format="reference"/>
|
||||
<attr name="iconChangeColor" format="reference"/>
|
||||
<attr name="iconEdit" format="reference"/>
|
||||
<attr name="iconUnarchive" format="reference"/>
|
||||
<attr name="dialogIconChangeColor" format="reference"/>
|
||||
|
||||
|
||||
<!-- Pre-Lollipop -->
|
||||
<attr name="cardBackground" format="reference"/>
|
||||
<attr name="headerBackground" format="reference"/>
|
||||
|
||||
@@ -42,6 +42,13 @@
|
||||
<item name="mediumContrastTextColor">@color/grey_500</item>
|
||||
<item name="lowContrastTextColor">@color/grey_300</item>
|
||||
|
||||
<item name="iconAdd">@drawable/ic_action_add_light</item>
|
||||
<item name="iconArchive">@drawable/ic_action_archive_light</item>
|
||||
<item name="iconEdit">@drawable/ic_action_edit_light</item>
|
||||
<item name="iconUnarchive">@drawable/ic_action_unarchive_light</item>
|
||||
<item name="iconChangeColor">@drawable/ic_action_color_light</item>
|
||||
<item name="dialogIconChangeColor">@drawable/ic_action_color_light</item>
|
||||
|
||||
<item name="aboutScreenColor">@color/blue_700</item>
|
||||
</style>
|
||||
|
||||
@@ -64,6 +71,13 @@
|
||||
<item name="mediumContrastReverseTextColor">@color/grey_700</item>
|
||||
<item name="lowContrastReverseTextColor">@color/grey_300</item>
|
||||
|
||||
<item name="iconAdd">@drawable/ic_action_add_dark</item>
|
||||
<item name="iconArchive">@drawable/ic_action_archive_dark</item>
|
||||
<item name="iconEdit">@drawable/ic_action_edit_dark</item>
|
||||
<item name="iconUnarchive">@drawable/ic_action_unarchive_dark</item>
|
||||
<item name="iconChangeColor">@drawable/ic_action_color_dark</item>
|
||||
<item name="dialogIconChangeColor">@drawable/ic_action_color_dark</item>
|
||||
|
||||
<item name="palette">@array/darkPalette</item>
|
||||
|
||||
<item name="aboutScreenColor">@color/blue_300</item>
|
||||
|
||||