Apostolos Fanakis
6 years ago
6 changed files with 170 additions and 0 deletions
@ -0,0 +1,16 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<com.google.android.material.textfield.TextInputLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
|
xmlns:tools="http://schemas.android.com/tools" |
||||
|
android:layout_width="match_parent" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:padding="6dp"> |
||||
|
|
||||
|
<EditText |
||||
|
android:id="@+id/dialog_filter_calories" |
||||
|
android:layout_width="match_parent" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:hint="@string/main_filters_dialog_distance" |
||||
|
android:importantForAutofill="no" |
||||
|
android:inputType="number" |
||||
|
tools:targetApi="o" /> |
||||
|
</com.google.android.material.textfield.TextInputLayout> |
@ -0,0 +1,16 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<com.google.android.material.textfield.TextInputLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
|
xmlns:tools="http://schemas.android.com/tools" |
||||
|
android:layout_width="match_parent" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:padding="6dp"> |
||||
|
|
||||
|
<EditText |
||||
|
android:id="@+id/dialog_filter_distance" |
||||
|
android:layout_width="match_parent" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:hint="@string/main_filters_dialog_distance" |
||||
|
android:importantForAutofill="no" |
||||
|
android:inputType="number" |
||||
|
tools:targetApi="o" /> |
||||
|
</com.google.android.material.textfield.TextInputLayout> |
@ -0,0 +1,27 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<menu xmlns:android="http://schemas.android.com/apk/res/android" |
||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"> |
||||
|
|
||||
|
<item |
||||
|
android:id="@+id/main_filters_type" |
||||
|
android:orderInCategory="100" |
||||
|
android:title="@string/main_filters_menu_type" |
||||
|
app:showAsAction="always" /> |
||||
|
<item |
||||
|
android:id="@+id/main_filters_distance" |
||||
|
android:orderInCategory="100" |
||||
|
android:title="@string/main_filters_menu_distance" |
||||
|
app:showAsAction="always" /> |
||||
|
|
||||
|
<item |
||||
|
android:id="@+id/main_filters_calories" |
||||
|
android:orderInCategory="100" |
||||
|
android:title="@string/main_filters_menu_calories" |
||||
|
app:showAsAction="always" /> |
||||
|
|
||||
|
<item |
||||
|
android:id="@+id/main_filters_clear" |
||||
|
android:orderInCategory="100" |
||||
|
android:title="@string/main_filters_menu_clear" |
||||
|
app:showAsAction="always" /> |
||||
|
</menu> |
Loading…
Reference in new issue