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 21 <com.android.launcher3.WallpaperRootView 22 xmlns:android="http://schemas.android.com/apk/res/android" 23 android:id="@+id/wallpaper_root" 24 android:layout_width="match_parent" 25 android:layout_height="match_parent"> 26 <com.android.launcher3.CropView 27 android:id="@+id/cropView" 28 android:layout_width="match_parent" 29 android:layout_height="match_parent" /> 30 <ProgressBar 31 android:id="@+id/loading" 32 style="@android:style/Widget.Holo.ProgressBar.Large" 33 android:visibility="invisible" 34 android:layout_width="wrap_content" 35 android:layout_height="wrap_content" 36 android:layout_centerInParent="true" 37 android:indeterminate="true" 38 android:indeterminateOnly="true" 39 android:background="@android:color/transparent" /> 40 <LinearLayout 41 android:id="@+id/wallpaper_strip" 42 android:layout_width="match_parent" 43 android:layout_height="wrap_content" 44 android:layout_alignParentBottom="true" 45 android:orientation="vertical" > 46 <View 47 android:layout_width="match_parent" 48 android:layout_height="2dp" 49 android:background="@drawable/tile_shadow_top" /> 50 <HorizontalScrollView 51 android:id="@+id/wallpaper_scroll_container" 52 android:layout_width="match_parent" 53 android:layout_height="wrap_content" > 54 <LinearLayout android:id="@+id/master_wallpaper_list" 55 android:layout_width="wrap_content" 56 android:layout_height="wrap_content" 57 android:orientation="horizontal" > 58 <LinearLayout android:id="@+id/wallpaper_list" 59 android:layout_width="wrap_content" 60 android:layout_height="wrap_content" 61 android:orientation="horizontal" /> 62 <LinearLayout android:id="@+id/live_wallpaper_list" 63 android:layout_width="wrap_content" 64 android:layout_height="wrap_content" 65 android:orientation="horizontal" /> 66 <LinearLayout android:id="@+id/third_party_wallpaper_list" 67 android:layout_width="wrap_content" 68 android:layout_height="wrap_content" 69 android:orientation="horizontal" /> 70 </LinearLayout> 71 </HorizontalScrollView> 72 <View 73 android:layout_width="match_parent" 74 android:layout_height="2dp" 75 android:background="@drawable/tile_shadow_bottom" /> 76 </LinearLayout> 77 </com.android.launcher3.WallpaperRootView> 78