aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-08-26 16:05:38 +0200
committerDaniel Gultsch <daniel@gultsch.de>2016-08-26 16:05:38 +0200
commit76cbb4f72751ec6255aa40b72218db80ea6d9472 (patch)
tree092f9bd00495e0c610682f90a2c3a56ff388a920 /src/main/res
parente33d8451a899bd014ef5b142289c3c1c35c989bd (diff)
some multi-window optimizations. set min width to 300
Diffstat (limited to 'src/main/res')
-rw-r--r--src/main/res/values-sw600dp/defaults.xml1
-rw-r--r--src/main/res/values-w300dp/dimens.xml3
-rw-r--r--src/main/res/values/defaults.xml1
3 files changed, 5 insertions, 0 deletions
diff --git a/src/main/res/values-sw600dp/defaults.xml b/src/main/res/values-sw600dp/defaults.xml
index e23a93de..b22a4ca8 100644
--- a/src/main/res/values-sw600dp/defaults.xml
+++ b/src/main/res/values-sw600dp/defaults.xml
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="default_resource">Tablet</string>
+ <bool name="portrait_only">false</bool>
</resources> \ No newline at end of file
diff --git a/src/main/res/values-w300dp/dimens.xml b/src/main/res/values-w300dp/dimens.xml
new file mode 100644
index 00000000..28341a39
--- /dev/null
+++ b/src/main/res/values-w300dp/dimens.xml
@@ -0,0 +1,3 @@
+<resources>
+ <dimen name="conversations_overview_width">276dp</dimen>
+</resources>
diff --git a/src/main/res/values/defaults.xml b/src/main/res/values/defaults.xml
index be795ed4..7d613ab5 100644
--- a/src/main/res/values/defaults.xml
+++ b/src/main/res/values/defaults.xml
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="default_resource">Phone</string>
+ <bool name="portrait_only">true</bool>
</resources> \ No newline at end of file