summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/layout-land/workspace_cling.xml6
-rw-r--r--res/layout-port/workspace_cling.xml6
-rw-r--r--res/layout-sw720dp/workspace_cling.xml6
-rw-r--r--res/layout/custom_workspace_cling.xml2
-rw-r--r--res/values/strings.xml8
-rw-r--r--res/values/styles.xml2
6 files changed, 26 insertions, 4 deletions
diff --git a/res/layout-land/workspace_cling.xml b/res/layout-land/workspace_cling.xml
index b66f1bd8a..b035aa1d4 100644
--- a/res/layout-land/workspace_cling.xml
+++ b/res/layout-land/workspace_cling.xml
@@ -16,6 +16,8 @@
<com.android.launcher2.Cling
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
launcher:drawIdentifier="workspace_landscape">
<FrameLayout
android:layout_width="match_parent"
@@ -28,6 +30,8 @@
android:orientation="vertical">
<TextView
style="@style/ClingTitleText"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
android:text="@string/workspace_cling_title" />
<TextView
style="@style/ClingText"
@@ -46,6 +50,8 @@
android:text="@string/workspace_cling_open_all_apps" />
<Button
style="@style/ClingButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
android:layout_marginBottom="15dp"
android:layout_marginRight="10dp"
android:layout_gravity="bottom|right"
diff --git a/res/layout-port/workspace_cling.xml b/res/layout-port/workspace_cling.xml
index 10e697620..738e2c571 100644
--- a/res/layout-port/workspace_cling.xml
+++ b/res/layout-port/workspace_cling.xml
@@ -16,6 +16,8 @@
<com.android.launcher2.Cling
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
launcher:drawIdentifier="workspace_portrait">
<FrameLayout
android:layout_width="match_parent"
@@ -29,6 +31,8 @@
android:orientation="vertical">
<TextView
style="@style/ClingTitleText"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
android:text="@string/workspace_cling_title" />
<TextView
style="@style/ClingText"
@@ -49,6 +53,8 @@
android:text="@string/workspace_cling_open_all_apps" />
<Button
style="@style/ClingButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
android:layout_marginBottom="15dp"
android:layout_marginRight="10dp"
android:layout_gravity="bottom|right"
diff --git a/res/layout-sw720dp/workspace_cling.xml b/res/layout-sw720dp/workspace_cling.xml
index 10e697620..738e2c571 100644
--- a/res/layout-sw720dp/workspace_cling.xml
+++ b/res/layout-sw720dp/workspace_cling.xml
@@ -16,6 +16,8 @@
<com.android.launcher2.Cling
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
launcher:drawIdentifier="workspace_portrait">
<FrameLayout
android:layout_width="match_parent"
@@ -29,6 +31,8 @@
android:orientation="vertical">
<TextView
style="@style/ClingTitleText"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
android:text="@string/workspace_cling_title" />
<TextView
style="@style/ClingText"
@@ -49,6 +53,8 @@
android:text="@string/workspace_cling_open_all_apps" />
<Button
style="@style/ClingButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
android:layout_marginBottom="15dp"
android:layout_marginRight="10dp"
android:layout_gravity="bottom|right"
diff --git a/res/layout/custom_workspace_cling.xml b/res/layout/custom_workspace_cling.xml
index 5bdc58719..0fdb57509 100644
--- a/res/layout/custom_workspace_cling.xml
+++ b/res/layout/custom_workspace_cling.xml
@@ -17,6 +17,8 @@
<com.android.launcher2.Cling
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
launcher:drawIdentifier="workspace_custom">
<TextView
android:layout_width="wrap_content"
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 04e45ae01..0ea12c4ef 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -266,12 +266,12 @@ s -->
<!-- Clings -->
<!-- Dummy string [CHAR_LIMIT=40] -->
- <add-resource type="string" name="custom_workspace_cling_title_1"/>
+ <string name="custom_workspace_cling_title_1"></string>
<!-- Dummy string [CHAR_LIMIT=60] -->
- <add-resource type="string" name="custom_workspace_cling_description_1"/>
+ <string name="custom_workspace_cling_description_1"></string>
<!-- Dummy string [CHAR_LIMIT=40] -->
- <add-resource type="string" name="custom_workspace_cling_title_2"/>
+ <string name="custom_workspace_cling_title_2"></string>
<!-- Dummy string [CHAR_LIMIT=60] -->
- <add-resource type="string" name="custom_workspace_cling_description_2"/>
+ <string name="custom_workspace_cling_description_2"></string>
</resources>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 0960269d9..c3fe7efed 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -46,6 +46,8 @@
<item name="android:shadowRadius">2.0</item>
</style>
<style name="ClingText">
+ <item name="android:layout_width">wrap_content</item>
+ <item name="android:layout_height">wrap_content</item>
<item name="android:textSize">15sp</item>
<item name="android:textColor">#FFFFFF</item>
<item name="android:shadowColor">#000000</item>