Home | History | Annotate | Download | only in layout
      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.launcher3.AppsCustomizeTabHost
     17     xmlns:android="http://schemas.android.com/apk/res/android"
     18     xmlns:launcher="http://schemas.android.com/apk/res-auto"
     19     android:clipChildren="false">
     20 
     21     <LinearLayout
     22         android:id="@+id/content"
     23         android:layout_width="match_parent"
     24         android:layout_height="match_parent"
     25         android:clipChildren="false"
     26         android:orientation="vertical">
     27 
     28         <FrameLayout
     29             android:layout_width="match_parent"
     30             android:layout_height="0dp"
     31             android:layout_weight="1"
     32             android:clipChildren="false">
     33             <FrameLayout
     34                 android:id="@+id/fake_page_container"
     35                 android:layout_width="match_parent"
     36                 android:layout_height="match_parent"
     37                 android:clipChildren="false"
     38                 android:clipToPadding="false">
     39                 <FrameLayout
     40                     android:id="@+id/fake_page"
     41                     android:layout_width="match_parent"
     42                     android:layout_height="match_parent"
     43                     android:visibility="invisible"
     44                     android:clipToPadding="false" />
     45             </FrameLayout>
     46             <com.android.launcher3.AppsCustomizePagedView
     47                 android:id="@+id/apps_customize_pane_content"
     48                 android:layout_width="match_parent"
     49                 android:layout_height="match_parent"
     50                 launcher:widgetCountX="@integer/apps_customize_widget_cell_count_x"
     51                 launcher:widgetCountY="@integer/apps_customize_widget_cell_count_y"
     52                 launcher:maxGap="@dimen/workspace_max_gap"
     53                 launcher:pageIndicator="@+id/apps_customize_page_indicator" />
     54         </FrameLayout>
     55         <include
     56             android:id="@+id/apps_customize_page_indicator"
     57             layout="@layout/page_indicator"
     58             android:layout_width="wrap_content"
     59             android:layout_height="wrap_content"
     60             android:layout_gravity="center" />
     61     </LinearLayout>
     62 </com.android.launcher3.AppsCustomizeTabHost>
     63