mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Fixes janky transition when going from default wallpaper to another wallpaper Bug: 11278179 Change-Id: I738d1ae7bbc5e2d139a084e721b53fed9008367f
78 lines
3.2 KiB
XML
78 lines
3.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
/*
|
|
**
|
|
** Copyright 2013, The Android Open Source Project
|
|
**
|
|
** 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
|
|
**
|
|
** http://www.apache.org/licenses/LICENSE-2.0
|
|
**
|
|
** 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.
|
|
*/
|
|
-->
|
|
|
|
<com.android.launcher3.WallpaperRootView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/wallpaper_root"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<com.android.launcher3.CropView
|
|
android:id="@+id/cropView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
<ProgressBar
|
|
android:id="@+id/loading"
|
|
style="@android:style/Widget.Holo.ProgressBar.Large"
|
|
android:visibility="invisible"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:indeterminate="true"
|
|
android:indeterminateOnly="true"
|
|
android:background="@android:color/transparent" />
|
|
<LinearLayout
|
|
android:id="@+id/wallpaper_strip"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:orientation="vertical" >
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="2dp"
|
|
android:background="@drawable/tile_shadow_top" />
|
|
<HorizontalScrollView
|
|
android:id="@+id/wallpaper_scroll_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" >
|
|
<LinearLayout android:id="@+id/master_wallpaper_list"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
<LinearLayout android:id="@+id/wallpaper_list"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" />
|
|
<LinearLayout android:id="@+id/live_wallpaper_list"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" />
|
|
<LinearLayout android:id="@+id/third_party_wallpaper_list"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" />
|
|
</LinearLayout>
|
|
</HorizontalScrollView>
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="2dp"
|
|
android:background="@drawable/tile_shadow_bottom" />
|
|
</LinearLayout>
|
|
</com.android.launcher3.WallpaperRootView>
|