show Printing at PDF viewer as an icon

This commit is contained in:
tibbi 2022-07-31 18:40:34 +02:00
parent 9671e858ae
commit 1d00e8ea06
2 changed files with 4 additions and 6 deletions

View File

@ -64,7 +64,7 @@ android {
} }
dependencies { dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:008713a42b' implementation 'com.github.SimpleMobileTools:Simple-Commons:0c82e5f216'
implementation 'com.github.tibbi:AndroidPdfViewer:da57ff410e' implementation 'com.github.tibbi:AndroidPdfViewer:da57ff410e'
implementation 'com.github.Stericson:RootTools:df729dcb13' implementation 'com.github.Stericson:RootTools:df729dcb13'
implementation 'com.github.Stericson:RootShell:1.6' implementation 'com.github.Stericson:RootShell:1.6'

View File

@ -1,11 +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"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto">
xmlns:tools="http://schemas.android.com/tools"
tools:ignore="AppCompatResource">
<item <item
android:id="@+id/menu_print" android:id="@+id/menu_print"
android:showAsAction="never" android:icon="@drawable/ic_print_vector"
android:title="@string/print" android:title="@string/print"
app:showAsAction="never" /> app:showAsAction="always" />
</menu> </menu>