Show action icons on pre-Lollipop
This commit is contained in:
parent
b4911b6cb4
commit
299c6a0c1d
@ -1,5 +1,4 @@
|
|||||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
tools:context="org.isoron.uhabits.MainActivity">
|
tools:context="org.isoron.uhabits.MainActivity">
|
||||||
|
|
||||||
@ -7,6 +6,6 @@
|
|||||||
android:id="@+id/action_add"
|
android:id="@+id/action_add"
|
||||||
android:icon="@drawable/ic_action_add"
|
android:icon="@drawable/ic_action_add"
|
||||||
android:title="@string/add_habit"
|
android:title="@string/add_habit"
|
||||||
app:showAsAction="always"/>
|
android:showAsAction="always"/>
|
||||||
|
|
||||||
</menu>
|
</menu>
|
||||||
|
|||||||
@ -1,11 +1,10 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/action_edit_habit"
|
android:id="@+id/action_edit_habit"
|
||||||
android:icon="@drawable/ic_action_edit_light"
|
android:icon="@drawable/ic_action_edit_light"
|
||||||
android:title="@string/edit"
|
android:title="@string/edit"
|
||||||
app:showAsAction="ifRoom"/>
|
android:showAsAction="ifRoom"/>
|
||||||
|
|
||||||
</menu>
|
</menu>
|
||||||
Loading…
Reference in New Issue
Block a user