Display back and forward buttons on tablets
This commit is contained in:
parent
1f1ed20a7e
commit
58ca7fa303
@ -1,27 +1,37 @@
|
|||||||
<?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" >
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/action_back"
|
android:id="@+id/action_back"
|
||||||
android:checkable="false"
|
android:checkable="false"
|
||||||
android:enabled="true"
|
android:enabled="true"
|
||||||
android:icon="?arrowBackDrawable"
|
android:icon="?arrowBackDrawable"
|
||||||
android:showAsAction="always"
|
|
||||||
android:title="@string/action_back"
|
android:title="@string/action_back"
|
||||||
android:visible="true">
|
android:visible="true"
|
||||||
</item>
|
app:showAsAction="ifRoom"/>
|
||||||
<item
|
<item
|
||||||
android:id="@+id/action_forward"
|
android:id="@+id/action_forward"
|
||||||
android:checkable="false"
|
android:checkable="false"
|
||||||
android:enabled="true"
|
android:enabled="true"
|
||||||
android:icon="?arrowForwardDrawable"
|
android:icon="?arrowForwardDrawable"
|
||||||
android:showAsAction="always"
|
|
||||||
android:title="@string/action_forward"
|
android:title="@string/action_forward"
|
||||||
android:visible="true">
|
android:visible="true"
|
||||||
</item>
|
app:showAsAction="ifRoom"/>
|
||||||
<item android:id="@+id/action_new_tab" android:title="@string/action_new_tab"></item>
|
<item
|
||||||
<item android:id="@+id/action_share" android:title="@string/action_share" />
|
android:id="@+id/action_new_tab"
|
||||||
<item android:id="@+id/action_find" android:title="@string/action_find"></item>
|
android:title="@string/action_new_tab"/>
|
||||||
<item android:id="@+id/action_history" android:title="@string/action_history" ></item>
|
<item
|
||||||
<item android:id="@+id/action_bookmarks" android:title="@string/action_bookmarks" ></item>
|
android:id="@+id/action_share"
|
||||||
|
android:title="@string/action_share"/>
|
||||||
|
<item
|
||||||
|
android:id="@+id/action_find"
|
||||||
|
android:title="@string/action_find"/>
|
||||||
|
<item
|
||||||
|
android:id="@+id/action_history"
|
||||||
|
android:title="@string/action_history"/>
|
||||||
|
<item
|
||||||
|
android:id="@+id/action_bookmarks"
|
||||||
|
android:title="@string/action_bookmarks"/>
|
||||||
|
|
||||||
</menu>
|
</menu>
|
@ -11,67 +11,57 @@
|
|||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<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" >
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/action_back"
|
android:id="@+id/action_back"
|
||||||
android:checkable="false"
|
android:checkable="false"
|
||||||
android:enabled="true"
|
android:enabled="true"
|
||||||
android:icon="?arrowBackDrawable"
|
android:icon="?arrowBackDrawable"
|
||||||
android:showAsAction="always"
|
|
||||||
android:title="@string/action_back"
|
android:title="@string/action_back"
|
||||||
android:visible="true">
|
android:visible="true"
|
||||||
</item>
|
app:showAsAction="ifRoom"/>
|
||||||
<item
|
<item
|
||||||
android:id="@+id/action_forward"
|
android:id="@+id/action_forward"
|
||||||
android:checkable="false"
|
android:checkable="false"
|
||||||
android:enabled="true"
|
android:enabled="true"
|
||||||
android:icon="?arrowForwardDrawable"
|
android:icon="?arrowForwardDrawable"
|
||||||
android:showAsAction="always"
|
|
||||||
android:title="@string/action_forward"
|
android:title="@string/action_forward"
|
||||||
android:visible="true">
|
android:visible="true"
|
||||||
</item>
|
app:showAsAction="ifRoom"/>
|
||||||
<item
|
<item
|
||||||
android:id="@+id/action_new_tab"
|
android:id="@+id/action_new_tab"
|
||||||
android:title="@string/action_new_tab">
|
android:title="@string/action_new_tab"/>
|
||||||
</item>
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/action_incognito"
|
android:id="@+id/action_incognito"
|
||||||
android:title="@string/action_incognito">
|
android:title="@string/action_incognito"/>
|
||||||
</item>
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/action_share"
|
android:id="@+id/action_share"
|
||||||
android:title="@string/action_share"/>
|
android:title="@string/action_share"/>
|
||||||
<item
|
<item
|
||||||
android:id="@+id/action_history"
|
android:id="@+id/action_history"
|
||||||
android:title="@string/action_history">
|
android:title="@string/action_history"/>
|
||||||
</item>
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/action_find"
|
android:id="@+id/action_find"
|
||||||
android:title="@string/action_find">
|
android:title="@string/action_find"/>
|
||||||
</item>
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/action_copy"
|
android:id="@+id/action_copy"
|
||||||
android:title="@string/action_copy">
|
android:title="@string/action_copy"/>
|
||||||
</item>
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/action_bookmarks"
|
android:id="@+id/action_bookmarks"
|
||||||
android:title="@string/action_bookmarks">
|
android:title="@string/action_bookmarks"/>
|
||||||
</item>
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/action_add_bookmark"
|
android:id="@+id/action_add_bookmark"
|
||||||
android:title="@string/action_add_bookmark">
|
android:title="@string/action_add_bookmark"/>
|
||||||
</item>
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/action_reading_mode"
|
android:id="@+id/action_reading_mode"
|
||||||
android:title="@string/reading_mode">
|
android:title="@string/reading_mode"/>
|
||||||
</item>
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/action_settings"
|
android:id="@+id/action_settings"
|
||||||
android:title="@string/settings">
|
android:title="@string/settings"/>
|
||||||
</item>
|
|
||||||
|
|
||||||
</menu>
|
</menu>
|
@ -1,9 +1,20 @@
|
|||||||
<?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" >
|
||||||
<item android:id="@+id/action_new_tab" android:title="@string/action_new_tab"></item>
|
|
||||||
<item android:id="@+id/action_share" android:title="@string/action_share" />
|
|
||||||
<item android:id="@+id/action_find" android:title="@string/action_find"></item>
|
|
||||||
<item android:id="@+id/action_history" android:title="@string/action_history" ></item>
|
|
||||||
<item android:id="@+id/action_bookmarks" android:title="@string/action_bookmarks" ></item>
|
|
||||||
|
|
||||||
</menu>
|
<item
|
||||||
|
android:id="@+id/action_new_tab"
|
||||||
|
android:title="@string/action_new_tab"/>
|
||||||
|
<item
|
||||||
|
android:id="@+id/action_share"
|
||||||
|
android:title="@string/action_share"/>
|
||||||
|
<item
|
||||||
|
android:id="@+id/action_find"
|
||||||
|
android:title="@string/action_find"/>
|
||||||
|
<item
|
||||||
|
android:id="@+id/action_history"
|
||||||
|
android:title="@string/action_history"/>
|
||||||
|
<item
|
||||||
|
android:id="@+id/action_bookmarks"
|
||||||
|
android:title="@string/action_bookmarks"/>
|
||||||
|
|
||||||
|
</menu>
|
@ -1,29 +1,50 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright 2014 A.C.R. Development
|
Copyright 2014 A.C.R. Development
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
Unless required by applicable law or agreed to in writing, software
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||||
<item android:id="@+id/action_new_tab" android:title="@string/action_new_tab"></item>
|
|
||||||
<item android:id="@+id/action_incognito" android:title="@string/action_incognito" ></item>
|
<item
|
||||||
<item android:id="@+id/action_share" android:title="@string/action_share" />
|
android:id="@+id/action_new_tab"
|
||||||
<item android:id="@+id/action_history" android:title="@string/action_history" ></item>
|
android:title="@string/action_new_tab"/>
|
||||||
<item android:id="@+id/action_find" android:title="@string/action_find"></item>
|
<item
|
||||||
<item android:id="@+id/action_copy" android:title="@string/action_copy" ></item>
|
android:id="@+id/action_incognito"
|
||||||
<item android:id="@+id/action_bookmarks" android:title="@string/action_bookmarks" ></item>
|
android:title="@string/action_incognito"/>
|
||||||
<item android:id="@+id/action_add_bookmark" android:title="@string/action_add_bookmark" ></item>
|
<item
|
||||||
<item android:id="@+id/action_reading_mode" android:title="@string/reading_mode" ></item>
|
android:id="@+id/action_share"
|
||||||
<item android:id="@+id/action_settings" android:title="@string/settings" ></item>
|
android:title="@string/action_share"/>
|
||||||
|
<item
|
||||||
|
android:id="@+id/action_history"
|
||||||
|
android:title="@string/action_history"/>
|
||||||
|
<item
|
||||||
|
android:id="@+id/action_find"
|
||||||
|
android:title="@string/action_find"/>
|
||||||
|
<item
|
||||||
|
android:id="@+id/action_copy"
|
||||||
|
android:title="@string/action_copy"/>
|
||||||
|
<item
|
||||||
|
android:id="@+id/action_bookmarks"
|
||||||
|
android:title="@string/action_bookmarks"/>
|
||||||
|
<item
|
||||||
|
android:id="@+id/action_add_bookmark"
|
||||||
|
android:title="@string/action_add_bookmark"/>
|
||||||
|
<item
|
||||||
|
android:id="@+id/action_reading_mode"
|
||||||
|
android:title="@string/reading_mode"/>
|
||||||
|
<item
|
||||||
|
android:id="@+id/action_settings"
|
||||||
|
android:title="@string/settings"/>
|
||||||
|
|
||||||
</menu>
|
</menu>
|
Loading…
x
Reference in New Issue
Block a user