Skip to content

Commit

Permalink
Fixed problem with showing menu button (issue #693)
Browse files Browse the repository at this point in the history
  • Loading branch information
meefik committed Aug 8, 2017
1 parent 8390855 commit 867e7b5
Show file tree
Hide file tree
Showing 39 changed files with 77 additions and 52 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Fixed Arch Linux bootstrap (+libnghttp2, -xorg-utils)
Fixed issue of launching Xfce and Mate (issue #807)
Added file system check (issue #785)
Added custom target type
Fixed problem with showing menu button (issue #693)

2.0.1
Added Fedora 25 (issue #683)
Expand Down Expand Up @@ -376,6 +377,7 @@ Updated list packages of base system installation
Исправлена проблема запуска Xfce и Mate (тикет #807)
Добавлена проверка файловой системы (тикет #785)
Добавлен пользовательский тип установки
Исправлена проблема с отображением кнопки меню (тикет #693)

2.0.1
Добавлена поддержка Fedora 25 (тикет #683)
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
applicationId 'ru.meefik.linuxdeploy'
minSdkVersion 10
targetSdkVersion 25
versionCode 223
versionCode 224
versionName "2.0.2"
}
buildTypes {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-hdpi/ic_action_properties_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-hdpi/ic_action_properties_light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-hdpi/ic_action_start_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-hdpi/ic_action_start_light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-hdpi/ic_action_stop_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-hdpi/ic_action_stop_light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-mdpi/ic_action_properties_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-mdpi/ic_action_properties_light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-mdpi/ic_action_start_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-mdpi/ic_action_start_light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-mdpi/ic_action_stop_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-mdpi/ic_action_stop_light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-xhdpi/ic_action_properties_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-xhdpi/ic_action_properties_light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-xhdpi/ic_action_start_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-xhdpi/ic_action_start_light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-xhdpi/ic_action_stop_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-xhdpi/ic_action_stop_light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
65 changes: 37 additions & 28 deletions app/src/main/res/menu/activity_main_landscape.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,43 +6,52 @@
android:orderInCategory="100"
android:title="@string/menu_start"
android:icon="?attr/ic_action_start"
app:showAsAction="ifRoom|withText"/>
app:showAsAction="always|withText"/>
<item
android:id="@+id/menu_stop"
android:orderInCategory="100"
android:title="@string/menu_stop"
android:icon="?attr/ic_action_stop"
app:showAsAction="ifRoom|withText"/>
app:showAsAction="always|withText"/>
<item
android:id="@+id/menu_properties"
android:orderInCategory="100"
android:title="@string/menu_properties"
android:icon="?attr/ic_action_properties"
app:showAsAction="ifRoom"/>
<item
android:id="@+id/menu_install"
android:orderInCategory="100"
android:title="@string/menu_install"
app:showAsAction="never"/>
<item
android:id="@+id/menu_configure"
android:orderInCategory="100"
android:title="@string/menu_configure"
app:showAsAction="never"/>
<item
android:id="@+id/menu_export"
android:orderInCategory="100"
android:title="@string/menu_export"
app:showAsAction="never"/>
<item
android:id="@+id/menu_status"
android:orderInCategory="100"
android:title="@string/menu_status"
app:showAsAction="never"/>
<item
android:id="@+id/menu_clear"
android:orderInCategory="100"
android:title="@string/menu_clear"
app:showAsAction="never"/>
app:showAsAction="always"/>
<item
android:id="@+id/menu_more"
android:orderInCategory="100"
android:title="@string/menu_more"
android:icon="?attr/ic_action_more"
app:showAsAction="always">
<menu>
<item
android:id="@+id/menu_install"
android:orderInCategory="100"
android:title="@string/menu_install"
app:showAsAction="never"/>
<item
android:id="@+id/menu_configure"
android:orderInCategory="100"
android:title="@string/menu_configure"
app:showAsAction="never"/>
<item
android:id="@+id/menu_export"
android:orderInCategory="100"
android:title="@string/menu_export"
app:showAsAction="never"/>
<item
android:id="@+id/menu_status"
android:orderInCategory="100"
android:title="@string/menu_status"
app:showAsAction="never"/>
<item
android:id="@+id/menu_clear"
android:orderInCategory="100"
android:title="@string/menu_clear"
app:showAsAction="never"/>
</menu>
</item>

</menu>
55 changes: 32 additions & 23 deletions app/src/main/res/menu/activity_main_portrait.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,38 @@
xmlns:app="http://schemas.android.com/apk/res-auto">

<item
android:id="@+id/menu_install"
android:id="@+id/menu_more"
android:orderInCategory="100"
android:title="@string/menu_install"
app:showAsAction="never"/>
<item
android:id="@+id/menu_configure"
android:orderInCategory="100"
android:title="@string/menu_configure"
app:showAsAction="never"/>
<item
android:id="@+id/menu_export"
android:orderInCategory="100"
android:title="@string/menu_export"
app:showAsAction="never"/>
<item
android:id="@+id/menu_status"
android:orderInCategory="100"
android:title="@string/menu_status"
app:showAsAction="never"/>
<item
android:id="@+id/menu_clear"
android:orderInCategory="100"
android:title="@string/menu_clear"
app:showAsAction="never"/>
android:title="@string/menu_more"
android:icon="?attr/ic_action_more"
app:showAsAction="always">
<menu>
<item
android:id="@+id/menu_install"
android:orderInCategory="100"
android:title="@string/menu_install"
app:showAsAction="never"/>
<item
android:id="@+id/menu_configure"
android:orderInCategory="100"
android:title="@string/menu_configure"
app:showAsAction="never"/>
<item
android:id="@+id/menu_export"
android:orderInCategory="100"
android:title="@string/menu_export"
app:showAsAction="never"/>
<item
android:id="@+id/menu_status"
android:orderInCategory="100"
android:title="@string/menu_status"
app:showAsAction="never"/>
<item
android:id="@+id/menu_clear"
android:orderInCategory="100"
android:title="@string/menu_clear"
app:showAsAction="never"/>
</menu>
</item>

</menu>
1 change: 1 addition & 0 deletions app/src/main/res/values-ru/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -240,5 +240,6 @@
<string name="updating_env_message">Обновление рабочего окружения...</string>
<string name="repository_purchase_button">Купить</string>
<string name="write_permissions_disallow">Приложению была запрещена запись в память устройства</string>
<string name="menu_more">Меню</string>

</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<string name="menu_delete">Delete</string>
<string name="menu_change_url">Change URL</string>
<string name="menu_refresh">Refresh</string>
<string name="menu_more">Menu</string>
<string name="loading_message">Loading data...</string>
<string name="updating_env_message">Updating operating environment...</string>
<string name="removing_env_message">Removing operating environment...</string>
Expand Down
3 changes: 3 additions & 0 deletions app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,20 @@
<attr name="ic_action_start" format="reference"/>
<attr name="ic_action_stop" format="reference"/>
<attr name="ic_action_properties" format="reference"/>
<attr name="ic_action_more" format="reference"/>
<attr name="color_toolbar_border" format="reference"/>
<style name="DarkTheme" parent="Theme.AppCompat">
<item name="ic_action_start">@drawable/ic_action_start_dark</item>
<item name="ic_action_stop">@drawable/ic_action_stop_dark</item>
<item name="ic_action_properties">@drawable/ic_action_properties_dark</item>
<item name="ic_action_more">@drawable/ic_action_more_dark</item>
<item name="color_toolbar_border">@color/toolbarDark</item>
</style>
<style name="LightTheme" parent="Theme.AppCompat.Light">
<item name="ic_action_start">@drawable/ic_action_start_light</item>
<item name="ic_action_stop">@drawable/ic_action_stop_light</item>
<item name="ic_action_properties">@drawable/ic_action_properties_light</item>
<item name="ic_action_more">@drawable/ic_action_more_light</item>
<item name="color_toolbar_border">@color/toolbarLight</item>
</style>
<style name="NavigationViewTheme" parent="Widget.Design.NavigationView">
Expand Down

0 comments on commit 867e7b5

Please sign in to comment.