diff options
author | Abhisek Devkota <ciwrl@cyanogenmod.com> | 2014-06-04 17:53:41 +0000 |
---|---|---|
committer | Danesh M <daneshm90@gmail.com> | 2014-06-05 23:03:27 -0700 |
commit | d90bcfe751dc99b4712a883206bf2a164af8f6c4 (patch) | |
tree | 5dbb5df14c93f76d7129e214b586857654aed9c1 /res/layout-sw720dp | |
parent | 129b7163fc3d3df45e2ba76794d6184454431963 (diff) | |
download | android_packages_apps_Trebuchet-d90bcfe751dc99b4712a883206bf2a164af8f6c4.tar.gz android_packages_apps_Trebuchet-d90bcfe751dc99b4712a883206bf2a164af8f6c4.tar.bz2 android_packages_apps_Trebuchet-d90bcfe751dc99b4712a883206bf2a164af8f6c4.zip |
Revert "Trebuchet : Show cling for allapps overview"
This reverts commit 20109c489eed6e97803ed5e5745c8c377b0446cb.
Change-Id: I025c038d85256e2aa8500e098646a57a2fb41d5c
Diffstat (limited to 'res/layout-sw720dp')
-rw-r--r-- | res/layout-sw720dp/all_apps_cling.xml | 46 | ||||
-rw-r--r-- | res/layout-sw720dp/launcher.xml | 6 |
2 files changed, 46 insertions, 6 deletions
diff --git a/res/layout-sw720dp/all_apps_cling.xml b/res/layout-sw720dp/all_apps_cling.xml new file mode 100644 index 000000000..824d84f0d --- /dev/null +++ b/res/layout-sw720dp/all_apps_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.launcher3.Cling + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3" + launcher:drawIdentifier="all_apps_large"> + <FrameLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_marginStart="@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/all_apps_cling_title" + android:text="@string/all_apps_cling_title" /> + <TextView + style="@style/ClingText" + android:id="@+id/all_apps_cling_add_item" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/all_apps_cling_add_item" /> + <Button + style="@style/ClingButton" + android:id="@+id/cling_dismiss" + android:layout_marginTop="15dp" + android:onClick="dismissAllAppsCling" /> + </LinearLayout> + </FrameLayout> +</com.android.launcher3.Cling> diff --git a/res/layout-sw720dp/launcher.xml b/res/layout-sw720dp/launcher.xml index 7b0d770ec..4f6aaf503 100644 --- a/res/layout-sw720dp/launcher.xml +++ b/res/layout-sw720dp/launcher.xml @@ -94,12 +94,6 @@ android:layout_height="match_parent" android:visibility="invisible" /> - <include layout="@layout/all_apps_cling" - android:id="@+id/all_apps_cling" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:visibility="gone" /> - <include layout="@layout/overview_panel" android:id="@+id/overview_panel" android:visibility="gone" /> |