diff options
| author | Keith Packard <keithp@keithp.com> | 2015-05-31 23:09:18 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2015-05-31 23:09:18 -0700 |
| commit | a533ea525620f194fd89fedad043659bb433d71b (patch) | |
| tree | 717088ac146290cd2cdbf254fd0dbf17b0174ba0 /altosdroid/res | |
| parent | 0beb02f1848e34892cca6e34ba83d6ca836d6df2 (diff) | |
altosdroid: Switch from custom title to standard Holo theme
This gives us the menu button, which is awfully useful on devices
without a hardware version...
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosdroid/res')
| -rw-r--r-- | altosdroid/res/menu/option_menu.xml | 6 | ||||
| -rw-r--r-- | altosdroid/res/values/CustomTheme.xml | 3 |
2 files changed, 4 insertions, 5 deletions
diff --git a/altosdroid/res/menu/option_menu.xml b/altosdroid/res/menu/option_menu.xml index 2109ae04..1b3142a8 100644 --- a/altosdroid/res/menu/option_menu.xml +++ b/altosdroid/res/menu/option_menu.xml @@ -22,9 +22,6 @@ <item android:id="@+id/disconnect" android:icon="@android:drawable/ic_notification_clear_all" android:title="@string/disconnect_device" /> - <item android:id="@+id/quit" - android:icon="@android:drawable/ic_menu_close_clear_cancel" - android:title="@string/quit" /> <item android:id="@+id/select_freq" android:icon="@android:drawable/ic_menu_preferences" android:title="@string/select_freq" /> @@ -40,4 +37,7 @@ <item android:id="@+id/map_type" android:icon="@android:drawable/ic_menu_mapmode" android:title="@string/map_type" /> + <item android:id="@+id/quit" + android:icon="@android:drawable/ic_menu_close_clear_cancel" + android:title="@string/quit" /> </menu> diff --git a/altosdroid/res/values/CustomTheme.xml b/altosdroid/res/values/CustomTheme.xml index 4daed1f8..6c701ea2 100644 --- a/altosdroid/res/values/CustomTheme.xml +++ b/altosdroid/res/values/CustomTheme.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <resources> - <style name="CustomTheme" parent="android:Theme"> - <item name="android:windowNoTitle">false</item> + <style name="CustomTheme" parent="android:Theme.Holo"> </style> </resources> |
