summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/values-land
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/base/resources/values-land')
-rw-r--r--mobile/android/base/resources/values-land/dimens.xml11
-rw-r--r--mobile/android/base/resources/values-land/integers.xml11
-rw-r--r--mobile/android/base/resources/values-land/styles.xml32
3 files changed, 54 insertions, 0 deletions
diff --git a/mobile/android/base/resources/values-land/dimens.xml b/mobile/android/base/resources/values-land/dimens.xml
new file mode 100644
index 000000000..561b81b76
--- /dev/null
+++ b/mobile/android/base/resources/values-land/dimens.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<resources>
+
+ <!-- Remote Tabs static view top padding. Less in landscape on phones. -->
+ <dimen name="home_remote_tabs_top_padding">16dp</dimen>
+ <dimen name="tab_panel_grid_padding">48dp</dimen>
+</resources>
diff --git a/mobile/android/base/resources/values-land/integers.xml b/mobile/android/base/resources/values-land/integers.xml
new file mode 100644
index 000000000..c70badd26
--- /dev/null
+++ b/mobile/android/base/resources/values-land/integers.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<resources>
+
+ <integer name="number_of_top_sites_cols">3</integer>
+ <integer name="panel_icon_grid_view_columns">6</integer>
+
+</resources>
diff --git a/mobile/android/base/resources/values-land/styles.xml b/mobile/android/base/resources/values-land/styles.xml
new file mode 100644
index 000000000..b9362223a
--- /dev/null
+++ b/mobile/android/base/resources/values-land/styles.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<resources>
+
+ <style name="TabsLayout" parent="TabsLayoutBase">
+ <item name="android:orientation">horizontal</item>
+ <item name="android:scrollbars">horizontal</item>
+ </style>
+
+ <style name="TabsItem">
+ <item name="android:nextFocusDown">@+id/close</item>
+ </style>
+
+ <style name="TabsItemClose">
+ <item name="android:nextFocusUp">@+id/info</item>
+ </style>
+
+ <!-- Tabs panel -->
+ <style name="TabsPanelSection" parent="TabsPanelSectionBase">
+ <item name="android:layout_weight">1</item>
+ </style>
+
+ <style name="TabsPanelItem">
+ <item name="android:layout_marginBottom">20dp</item>
+ <item name="android:layout_gravity">left</item>
+ <item name="android:gravity">left</item>
+ </style>
+
+</resources>