2009-03-04 03:32:27 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-02-27 01:43:50 +00:00
|
|
|
<!--
|
2015-04-09 21:17:14 +00:00
|
|
|
Copyright (C) 2015 The Android Open Source Project
|
2009-03-04 03:32:27 +00:00
|
|
|
|
|
|
|
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
|
2011-06-13 23:55:12 +00:00
|
|
|
|
2009-03-04 03:32:27 +00:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2011-06-13 23:55:12 +00:00
|
|
|
|
2009-03-04 03:32:27 +00:00
|
|
|
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.
|
|
|
|
-->
|
2016-02-17 21:24:20 +00:00
|
|
|
<com.android.launcher3.Folder xmlns:android="http://schemas.android.com/apk/res/android"
|
2014-11-03 19:39:27 +00:00
|
|
|
xmlns:launcher="http://schemas.android.com/apk/res-auto"
|
2011-06-17 20:26:23 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2015-05-13 20:06:11 +00:00
|
|
|
android:background="@drawable/quantum_panel"
|
2015-05-07 23:13:12 +00:00
|
|
|
android:elevation="5dp"
|
2015-02-27 01:43:50 +00:00
|
|
|
android:orientation="vertical" >
|
2011-05-02 22:36:58 +00:00
|
|
|
|
2015-02-27 01:43:50 +00:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/folder_content_wrapper"
|
2013-06-07 04:27:03 +00:00
|
|
|
android:layout_width="match_parent"
|
2015-02-27 01:43:50 +00:00
|
|
|
android:layout_height="match_parent" >
|
|
|
|
|
|
|
|
<!-- Actual size of the indicator doesn't matter as it is scaled to match the view size -->
|
|
|
|
|
|
|
|
<com.android.launcher3.FocusIndicatorView
|
|
|
|
android:id="@+id/focus_indicator"
|
|
|
|
android:layout_width="20dp"
|
|
|
|
android:layout_height="20dp" />
|
|
|
|
|
2016-01-16 00:47:43 +00:00
|
|
|
<com.android.launcher3.folder.FolderPagedView
|
2015-02-27 01:43:50 +00:00
|
|
|
android:id="@+id/folder_content"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2015-05-13 23:01:07 +00:00
|
|
|
android:paddingLeft="4dp"
|
|
|
|
android:paddingRight="4dp"
|
2015-06-01 18:00:38 +00:00
|
|
|
android:paddingTop="8dp"
|
2015-04-09 21:17:14 +00:00
|
|
|
launcher:pageIndicator="@+id/folder_page_indicator" />
|
2015-02-27 01:43:50 +00:00
|
|
|
</FrameLayout>
|
2011-06-17 20:26:23 +00:00
|
|
|
|
2015-04-09 21:17:14 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/folder_footer"
|
2011-06-17 20:26:23 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-06-01 18:00:38 +00:00
|
|
|
android:clipChildren="false"
|
2015-05-07 21:51:31 +00:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingLeft="8dp"
|
|
|
|
android:paddingRight="8dp" >
|
2015-04-09 21:17:14 +00:00
|
|
|
|
2015-08-13 22:18:25 +00:00
|
|
|
<com.android.launcher3.ExtendedEditText
|
2015-04-09 21:17:14 +00:00
|
|
|
android:id="@+id/folder_name"
|
2015-05-07 21:51:31 +00:00
|
|
|
android:layout_width="0dp"
|
2015-04-09 21:17:14 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
2015-05-07 21:51:31 +00:00
|
|
|
android:layout_weight="1"
|
2015-04-09 21:17:14 +00:00
|
|
|
android:background="#00000000"
|
|
|
|
android:fontFamily="sans-serif-condensed"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:hint="@string/folder_hint_text"
|
|
|
|
android:imeOptions="flagNoExtractUi"
|
2015-06-01 18:00:38 +00:00
|
|
|
android:paddingBottom="8dp"
|
|
|
|
android:paddingTop="4dp"
|
2015-04-09 21:17:14 +00:00
|
|
|
android:singleLine="true"
|
|
|
|
android:textColor="#ff777777"
|
|
|
|
android:textColorHighlight="#ffCCCCCC"
|
|
|
|
android:textColorHint="#ff808080"
|
|
|
|
android:textSize="14sp" />
|
2015-05-07 21:51:31 +00:00
|
|
|
|
|
|
|
<include
|
|
|
|
android:id="@+id/folder_page_indicator"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="12dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
layout="@layout/page_indicator" />
|
2015-06-01 18:00:38 +00:00
|
|
|
|
2015-04-09 21:17:14 +00:00
|
|
|
</LinearLayout>
|
2015-02-27 01:43:50 +00:00
|
|
|
|
2016-02-17 21:24:20 +00:00
|
|
|
</com.android.launcher3.Folder>
|