user_folder_icon_normalized.xml 3.2 KB

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