summaryrefslogtreecommitdiffstats
path: root/res/layout-sw720dp
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2012-08-23 11:58:30 -0700
committerWinson Chung <winsonc@google.com>2012-08-23 12:00:25 -0700
commit74ba65b593e845643f6f96a6e5e3f8e038a3f2d4 (patch)
tree89121dc2bdc11fb70341373e7db28bcaeb5ab2a0 /res/layout-sw720dp
parentfa63e43890505fed44a0d99c0bed9b68c47d6eaa (diff)
downloadandroid_packages_apps_Trebuchet-74ba65b593e845643f6f96a6e5e3f8e038a3f2d4.zip
android_packages_apps_Trebuchet-74ba65b593e845643f6f96a6e5e3f8e038a3f2d4.tar.gz
android_packages_apps_Trebuchet-74ba65b593e845643f6f96a6e5e3f8e038a3f2d4.tar.bz2
Fixing hotseat gradient and removing landscape cling with new xlarge layout.
Change-Id: I30f5672fc32c80c247be03efb557ace4654312bb
Diffstat (limited to 'res/layout-sw720dp')
-rw-r--r--res/layout-sw720dp/workspace_cling.xml28
1 files changed, 16 insertions, 12 deletions
diff --git a/res/layout-sw720dp/workspace_cling.xml b/res/layout-sw720dp/workspace_cling.xml
index fd7d4f8..10e6976 100644
--- a/res/layout-sw720dp/workspace_cling.xml
+++ b/res/layout-sw720dp/workspace_cling.xml
@@ -16,12 +16,13 @@
<com.android.launcher2.Cling
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher"
- launcher:drawIdentifier="workspace_large">
+ launcher:drawIdentifier="workspace_portrait">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_marginLeft="@dimen/cling_text_block_offset_x"
- android:layout_marginTop="@dimen/cling_text_block_offset_y">
+ android:layout_marginLeft="20dp"
+ android:layout_marginRight="20dp"
+ android:layout_marginTop="90dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -34,19 +35,22 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/workspace_cling_move_item" />
- <Button
- style="@style/ClingButton"
- android:layout_marginTop="15dp"
- android:onClick="dismissWorkspaceCling" />
</LinearLayout>
</FrameLayout>
<TextView
style="@style/ClingText"
- android:layout_width="180dp"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginTop="90dp"
- android:layout_marginRight="130dp"
- android:layout_gravity="right"
- android:gravity="right"
+ android:layout_marginLeft="20dp"
+ android:layout_marginRight="20dp"
+ android:layout_marginBottom="130dp"
+ android:layout_gravity="bottom"
+ android:gravity="center"
android:text="@string/workspace_cling_open_all_apps" />
+ <Button
+ style="@style/ClingButton"
+ android:layout_marginBottom="15dp"
+ android:layout_marginRight="10dp"
+ android:layout_gravity="bottom|right"
+ android:onClick="dismissWorkspaceCling" />
</com.android.launcher2.Cling>