Home | History | Annotate | Download | only in layout-port
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2011 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7 
      8           http://www.apache.org/licenses/LICENSE-2.0
      9 
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 <com.android.launcher2.Cling
     17     xmlns:android="http://schemas.android.com/apk/res/android"
     18     xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher"
     19     launcher:drawIdentifier="all_apps_portrait">
     20     <FrameLayout
     21         android:layout_width="match_parent"
     22         android:layout_height="match_parent"
     23         android:layout_marginStart="20dp"
     24         android:layout_marginTop="20dp">
     25         <LinearLayout
     26             android:layout_width="match_parent"
     27             android:layout_height="wrap_content"
     28             android:orientation="vertical">
     29             <TextView
     30                 style="@style/ClingTitleText"
     31                 android:id="@+id/all_apps_cling_title"
     32                 android:text="@string/all_apps_cling_title" />
     33             <TextView
     34                 style="@style/ClingText"
     35                 android:id="@+id/all_apps_cling_add_item"
     36                 android:layout_width="285dp"
     37                 android:layout_height="wrap_content"
     38                 android:text="@string/all_apps_cling_add_item" />
     39         </LinearLayout>
     40     </FrameLayout>
     41     <Button
     42         style="@style/ClingButton"
     43         android:id="@+id/cling_dismiss"
     44         android:layout_marginBottom="15dp"
     45         android:layout_marginEnd="10dp"
     46         android:layout_gravity="bottom|end"
     47         android:onClick="dismissAllAppsCling" />
     48 </com.android.launcher2.Cling>
     49