1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-25 10:05:49 +01:00

Show the full changelog when selecting the Changelog entry in the navigation drawer.

Show a line separator between groups of icons in the navigation drawer.
This commit is contained in:
Daniele Gobbetti 2017-03-11 17:10:51 +01:00
parent ecd2c166c2
commit 183d89dc47
2 changed files with 11 additions and 3 deletions

View File

@ -217,6 +217,10 @@ public class ControlCenterv2 extends AppCompatActivity
case R.id.action_quit:
GBApplication.quit();
return true;
case R.id.external_changelog:
ChangeLog cl = new ChangeLog(this);
cl.getFullLogDialog().show();
return true;
}
return true;

View File

@ -1,7 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<group android:checkableBehavior="single">
<group
android:checkableBehavior="single"
android:id="@+id/applicaction_options">
<item android:id="@+id/action_settings"
android:title="@string/action_settings"
android:icon="@drawable/ic_settings" />
@ -16,9 +18,11 @@
android:icon="@drawable/ic_quit" />
</group>
<group android:checkableBehavior="single">
<group
android:checkableBehavior="single"
android:id="@+id/further_options">
<item
android:id="@+id/external_changelog"
android:title="@string/changelog_title" />
android:title="@string/changelog_full_title" />
</group>
</menu>