mirror of
https://github.com/wismna/DoNext.git
synced 2025-10-03 23:50:13 -04:00
Changes are now persisted when application is closed while the Snackbar is opened.
Edit list menu button is now outside the menu, with an icon New menu button to allow faster layout changing (does the same as going in the Settings) Current opened tab is now saved when re-opening app
This commit is contained in:
@@ -26,7 +26,8 @@
|
||||
<android.support.design.widget.TabLayout
|
||||
android:id="@+id/tabs"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
app:tabMode="scrollable" />
|
||||
|
||||
</android.support.design.widget.AppBarLayout>
|
||||
|
||||
|
@@ -9,11 +9,19 @@
|
||||
android:onClick="openNewTaskDialog"
|
||||
app:showAsAction="never" />-->
|
||||
<item
|
||||
android:id="@+id/action_editTabs"
|
||||
android:id="@+id/action_changeLayout"
|
||||
android:orderInCategory="20"
|
||||
android:title="@string/action_changeLayout"
|
||||
android:onClick="changeLayout"
|
||||
android:icon="@drawable/ic_view_list_white_24dp"
|
||||
app:showAsAction="ifRoom" />
|
||||
<item
|
||||
android:id="@+id/action_editTabs"
|
||||
android:orderInCategory="25"
|
||||
android:title="@string/action_editTabs"
|
||||
android:onClick="openTaskLists"
|
||||
app:showAsAction="never" />
|
||||
android:icon="@drawable/ic_create_new_folder_white_24dp"
|
||||
app:showAsAction="ifRoom" />
|
||||
<item
|
||||
android:id="@+id/action_settings"
|
||||
android:orderInCategory="30"
|
||||
|
@@ -6,6 +6,7 @@
|
||||
<string name="action_editTabs">Edit lists</string>
|
||||
<string name="action_about">About</string>
|
||||
<string name="action_new_task">New task</string>
|
||||
<string name="action_changeLayout">Change layout</string>
|
||||
<string name="settings_activity_title">Settings</string>
|
||||
|
||||
<!-- Strings related to Task List edition -->
|
||||
|
Reference in New Issue
Block a user