mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-07 01:28:52 -06:00
Changed habit type selection to dropdown instead of popup message (#498)
This commit is contained in:
@@ -18,15 +18,28 @@
|
||||
-->
|
||||
|
||||
<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"
|
||||
tools:context=".MainActivity">
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context=".MainActivity">
|
||||
|
||||
<item
|
||||
android:id="@+id/actionAdd"
|
||||
android:icon="?iconAdd"
|
||||
android:title="@string/add_habit"
|
||||
app:showAsAction="always"/>
|
||||
app:showAsAction="always">
|
||||
|
||||
<menu android:id="@+id/createHabitMenu">
|
||||
<item
|
||||
android:id="@+id/actionCreateBooleanHabit"
|
||||
android:enabled="true"
|
||||
android:title="@string/yes_or_no"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/actionCreateNumeralHabit"
|
||||
android:enabled="true"
|
||||
android:title="@string/number"/>
|
||||
</menu>
|
||||
</item>
|
||||
|
||||
<item
|
||||
android:id="@+id/action_filter"
|
||||
|
||||
@@ -184,6 +184,10 @@
|
||||
|
||||
<string name="total">Total</string>
|
||||
|
||||
<!-- Different types of habits -->
|
||||
<string name="yes_or_no">Yes or No</string>
|
||||
<string name="number">Number</string>
|
||||
|
||||
<!-- Middle part of the sentence '1 time in xx days' -->
|
||||
<string name="time_every">time in</string>
|
||||
|
||||
|
||||
@@ -153,11 +153,6 @@
|
||||
android:key="pref_developer"
|
||||
android:title="Enable developer mode"/>
|
||||
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="pref_feature_numerical_habits"
|
||||
android:title="Enable numerical habits"/>
|
||||
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="pref_feature_sync"
|
||||
|
||||
Reference in New Issue
Block a user