diff options
author | Winson Chung <winsonc@google.com> | 2011-11-15 15:04:42 -0800 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2011-11-18 11:43:44 -0800 |
commit | d016015c2396b885a7ba30f3678d5c50830c20bd (patch) | |
tree | a3a50b4de4e2b9fa1827adbb1d8336ba2d01bb78 /res/layout-sw600dp-port/folder_cling.xml | |
parent | 601cac2f3e2f3ce13d8e2e07dbe51945686044eb (diff) | |
download | android_packages_apps_Trebuchet-d016015c2396b885a7ba30f3678d5c50830c20bd.tar.gz android_packages_apps_Trebuchet-d016015c2396b885a7ba30f3678d5c50830c20bd.tar.bz2 android_packages_apps_Trebuchet-d016015c2396b885a7ba30f3678d5c50830c20bd.zip |
Enabling clings for tablets (Bug 5506377)
Change-Id: Id0cdc7e2a101788f790340cd5acf6abb33419de6
Diffstat (limited to 'res/layout-sw600dp-port/folder_cling.xml')
-rw-r--r-- | res/layout-sw600dp-port/folder_cling.xml | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/res/layout-sw600dp-port/folder_cling.xml b/res/layout-sw600dp-port/folder_cling.xml new file mode 100644 index 000000000..017d0fde9 --- /dev/null +++ b/res/layout-sw600dp-port/folder_cling.xml @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + 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. +--> +<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="folder_large"> + <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"> + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical"> + <TextView + style="@style/ClingTitleText" + android:id="@+id/folder_cling_title" + android:text="@string/folder_cling_title" /> + <TextView + style="@style/ClingText" + android:id="@+id/folder_cling_create_folder" + android:layout_width="480dp" + android:layout_height="wrap_content" + android:text="@string/folder_cling_create_folder" /> + <Button + style="@style/ClingButton" + android:id="@+id/cling_dismiss" + android:layout_marginTop="15dp" + android:onClick="dismissFolderCling" /> + </LinearLayout> + </FrameLayout> +</com.android.launcher2.Cling> |