1 <?xml version="1.0" encoding="utf-8"?>
3 Copyright (C) 2015 The Android Open Source Project
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
9 http://www.apache.org/licenses/LICENSE-2.0
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
17 <com.android.launcher3.Folder xmlns:android="http://schemas.android.com/apk/res/android"
18 xmlns:launcher="http://schemas.android.com/apk/res-auto"
19 android:layout_width="wrap_content"
20 android:layout_height="wrap_content"
21 android:background="@drawable/quantum_panel"
22 android:elevation="5dp"
23 android:orientation="vertical" >
26 android:id="@+id/folder_content_wrapper"
27 android:layout_width="match_parent"
28 android:layout_height="match_parent" >
30 <!-- Actual size of the indicator doesn't matter as it is scaled to match the view size -->
32 <com.android.launcher3.FocusIndicatorView
33 android:id="@+id/focus_indicator"
34 android:layout_width="20dp"
35 android:layout_height="20dp" />
37 <com.android.launcher3.FolderPagedView
38 android:id="@+id/folder_content"
39 android:layout_width="match_parent"
40 android:layout_height="match_parent"
41 android:paddingLeft="4dp"
42 android:paddingRight="4dp"
43 android:paddingTop="8dp"
44 launcher:pageIndicator="@+id/folder_page_indicator" />
48 android:id="@+id/folder_footer"
49 android:layout_width="match_parent"
50 android:layout_height="wrap_content"
51 android:clipChildren="false"
52 android:orientation="horizontal"
53 android:paddingLeft="8dp"
54 android:paddingRight="8dp" >
56 <com.android.launcher3.ExtendedEditText
57 android:id="@+id/folder_name"
58 android:layout_width="0dp"
59 android:layout_height="wrap_content"
60 android:layout_gravity="center_vertical"
61 android:layout_weight="1"
62 android:background="#00000000"
63 android:fontFamily="sans-serif-condensed"
64 android:gravity="center_horizontal"
65 android:hint="@string/folder_hint_text"
66 android:imeOptions="flagNoExtractUi"
67 android:paddingBottom="8dp"
68 android:paddingTop="4dp"
69 android:singleLine="true"
70 android:textColor="#ff777777"
71 android:textColorHighlight="#ffCCCCCC"
72 android:textColorHint="#ff808080"
73 android:textSize="14sp" />
76 android:id="@+id/folder_page_indicator"
77 android:layout_width="wrap_content"
78 android:layout_height="12dp"
79 android:layout_gravity="center_vertical"
80 layout="@layout/page_indicator" />
84 </com.android.launcher3.Folder>