Browse Source

Display back and forward buttons on tablets

master
Anthony Restaino 10 years ago
parent
commit
58ca7fa303
  1. 34
      res/menu-xlarge/incognito.xml
  2. 40
      res/menu-xlarge/main.xml
  3. 21
      res/menu/incognito.xml
  4. 45
      res/menu/main.xml

34
res/menu-xlarge/incognito.xml

@ -1,27 +1,37 @@ @@ -1,27 +1,37 @@
<?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
android:id="@+id/action_back"
android:checkable="false"
android:enabled="true"
android:icon="?arrowBackDrawable"
android:showAsAction="always"
android:title="@string/action_back"
android:visible="true">
</item>
android:visible="true"
app:showAsAction="ifRoom"/>
<item
android:id="@+id/action_forward"
android:checkable="false"
android:enabled="true"
android:icon="?arrowForwardDrawable"
android:showAsAction="always"
android:title="@string/action_forward"
android:visible="true">
</item>
<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>
android:visible="true"
app:showAsAction="ifRoom"/>
<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>

40
res/menu-xlarge/main.xml

@ -14,64 +14,54 @@ @@ -14,64 +14,54 @@
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
android:id="@+id/action_back"
android:checkable="false"
android:enabled="true"
android:icon="?arrowBackDrawable"
android:showAsAction="always"
android:title="@string/action_back"
android:visible="true">
</item>
android:visible="true"
app:showAsAction="ifRoom"/>
<item
android:id="@+id/action_forward"
android:checkable="false"
android:enabled="true"
android:icon="?arrowForwardDrawable"
android:showAsAction="always"
android:title="@string/action_forward"
android:visible="true">
</item>
android:visible="true"
app:showAsAction="ifRoom"/>
<item
android:id="@+id/action_new_tab"
android:title="@string/action_new_tab">
</item>
android:title="@string/action_new_tab"/>
<item
android:id="@+id/action_incognito"
android:title="@string/action_incognito">
</item>
android:title="@string/action_incognito"/>
<item
android:id="@+id/action_share"
android:title="@string/action_share"/>
<item
android:id="@+id/action_history"
android:title="@string/action_history">
</item>
android:title="@string/action_history"/>
<item
android:id="@+id/action_find"
android:title="@string/action_find">
</item>
android:title="@string/action_find"/>
<item
android:id="@+id/action_copy"
android:title="@string/action_copy">
</item>
android:title="@string/action_copy"/>
<item
android:id="@+id/action_bookmarks"
android:title="@string/action_bookmarks">
</item>
android:title="@string/action_bookmarks"/>
<item
android:id="@+id/action_add_bookmark"
android:title="@string/action_add_bookmark">
</item>
android:title="@string/action_add_bookmark"/>
<item
android:id="@+id/action_reading_mode"
android:title="@string/reading_mode">
</item>
android:title="@string/reading_mode"/>
<item
android:id="@+id/action_settings"
android:title="@string/settings">
</item>
android:title="@string/settings"/>
</menu>

21
res/menu/incognito.xml

@ -1,9 +1,20 @@ @@ -1,9 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<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>
<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>

45
res/menu/main.xml

@ -12,18 +12,39 @@ @@ -12,18 +12,39 @@
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-->
<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 android:id="@+id/action_share" android:title="@string/action_share" />
<item android:id="@+id/action_history" android:title="@string/action_history" ></item>
<item android:id="@+id/action_find" android:title="@string/action_find"></item>
<item android:id="@+id/action_copy" android:title="@string/action_copy" ></item>
<item android:id="@+id/action_bookmarks" android:title="@string/action_bookmarks" ></item>
<item android:id="@+id/action_add_bookmark" android:title="@string/action_add_bookmark" ></item>
<item android:id="@+id/action_reading_mode" android:title="@string/reading_mode" ></item>
<item android:id="@+id/action_settings" android:title="@string/settings" ></item>
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:id="@+id/action_new_tab"
android:title="@string/action_new_tab"/>
<item
android:id="@+id/action_incognito"
android:title="@string/action_incognito"/>
<item
android:id="@+id/action_share"
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>
Loading…
Cancel
Save