wallpaper_picker.xml 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. /*
  4. **
  5. ** Copyright 2013, The Android Open Source Project
  6. **
  7. ** Licensed under the Apache License, Version 2.0 (the "License");
  8. ** you may not use this file except in compliance with the License.
  9. ** You may obtain a copy of the License at
  10. **
  11. ** http://www.apache.org/licenses/LICENSE-2.0
  12. **
  13. ** Unless required by applicable law or agreed to in writing, software
  14. ** distributed under the License is distributed on an "AS IS" BASIS,
  15. ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  16. ** See the License for the specific language governing permissions and
  17. ** limitations under the License.
  18. */
  19. -->
  20. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  21. xmlns:launcher="http://schemas.android.com/apk/res-auto"
  22. android:layout_width="match_parent"
  23. android:layout_height="match_parent" >
  24. <com.android.launcher3.CropView
  25. android:id="@+id/cropView"
  26. android:layout_width="match_parent"
  27. android:layout_height="match_parent" />
  28. <ProgressBar
  29. android:id="@+id/loading"
  30. style="?android:attr/progressBarStyleLarge"
  31. android:layout_width="wrap_content"
  32. android:layout_height="wrap_content"
  33. android:layout_gravity="center"
  34. android:indeterminate="true"
  35. android:indeterminateOnly="true"
  36. android:visibility="invisible" />
  37. <LinearLayout
  38. android:id="@+id/wallpaper_strip"
  39. android:layout_width="match_parent"
  40. android:layout_height="wrap_content"
  41. android:layout_gravity="bottom"
  42. android:fitsSystemWindows="true"
  43. android:orientation="vertical" >
  44. <View
  45. android:layout_width="match_parent"
  46. android:layout_height="2dp"
  47. android:background="@drawable/tile_shadow_top" />
  48. <HorizontalScrollView
  49. android:id="@+id/wallpaper_scroll_container"
  50. android:layout_width="match_parent"
  51. android:layout_height="wrap_content" >
  52. <LinearLayout
  53. android:id="@+id/master_wallpaper_list"
  54. android:layout_width="wrap_content"
  55. android:layout_height="wrap_content"
  56. android:orientation="horizontal" >
  57. <LinearLayout
  58. android:id="@+id/wallpaper_list"
  59. android:layout_width="wrap_content"
  60. android:layout_height="wrap_content"
  61. android:orientation="horizontal" />
  62. <LinearLayout
  63. android:id="@+id/live_wallpaper_list"
  64. android:layout_width="wrap_content"
  65. android:layout_height="wrap_content"
  66. android:orientation="horizontal" />
  67. <LinearLayout
  68. android:id="@+id/third_party_wallpaper_list"
  69. android:layout_width="wrap_content"
  70. android:layout_height="wrap_content"
  71. android:orientation="horizontal" />
  72. </LinearLayout>
  73. </HorizontalScrollView>
  74. <View
  75. android:layout_width="match_parent"
  76. android:layout_height="2dp"
  77. android:background="@drawable/tile_shadow_bottom" />
  78. </LinearLayout>
  79. </FrameLayout>