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.
master
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: case R.id.action_quit:
GBApplication.quit(); GBApplication.quit();
return true; return true;
case R.id.external_changelog:
ChangeLog cl = new ChangeLog(this);
cl.getFullLogDialog().show();
return true;
} }
return true; return true;

View File

@ -1,7 +1,9 @@
<?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">
<group android:checkableBehavior="single"> <group
android:checkableBehavior="single"
android:id="@+id/applicaction_options">
<item android:id="@+id/action_settings" <item android:id="@+id/action_settings"
android:title="@string/action_settings" android:title="@string/action_settings"
android:icon="@drawable/ic_settings" /> android:icon="@drawable/ic_settings" />
@ -16,9 +18,11 @@
android:icon="@drawable/ic_quit" /> android:icon="@drawable/ic_quit" />
</group> </group>
<group android:checkableBehavior="single"> <group
android:checkableBehavior="single"
android:id="@+id/further_options">
<item <item
android:id="@+id/external_changelog" android:id="@+id/external_changelog"
android:title="@string/changelog_title" /> android:title="@string/changelog_full_title" />
</group> </group>
</menu> </menu>