| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (C) 2020 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. |
| --> |
| <FrameLayout |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:app="http://schemas.android.com/apk/res-auto" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:background="?android:colorPrimary"> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:layout_marginBottom="@dimen/bottom_navbar_height" |
| android:orientation="vertical"> |
| |
| <include layout="@layout/section_header" /> |
| |
| <androidx.constraintlayout.widget.ConstraintLayout |
| android:id="@+id/live_wallpaper_preview" |
| android:layout_width="match_parent" |
| android:layout_height="0dp" |
| android:layout_weight="1" |
| android:layout_gravity="center" |
| android:clipChildren="false" |
| android:clipToPadding="false" |
| android:background="@color/fullscreen_preview_background" |
| android:paddingVertical="@dimen/full_preview_page_default_padding_top"> |
| |
| <com.android.wallpaper.picker.TouchForwardingLayout |
| android:id="@+id/touch_forwarding_layout" |
| android:layout_width="0dp" |
| android:layout_height="wrap_content" |
| app:layout_constraintLeft_toLeftOf="parent" |
| app:layout_constraintRight_toRightOf="parent" |
| app:layout_constraintTop_toTopOf="parent" |
| app:layout_constraintBottom_toBottomOf="parent"> |
| |
| <include |
| android:id="@+id/wallpaper_full_preview_card" |
| layout="@layout/wallpaper_preview_card" /> |
| </com.android.wallpaper.picker.TouchForwardingLayout> |
| </androidx.constraintlayout.widget.ConstraintLayout> |
| |
| </LinearLayout> |
| |
| <FrameLayout |
| android:id="@+id/loading" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:forceHasOverlappingRendering="false"> |
| |
| <androidx.core.widget.ContentLoadingProgressBar |
| android:id="@+id/loading_indicator" |
| style="@android:style/Widget.DeviceDefault.ProgressBar" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center" |
| android:indeterminate="true" /> |
| </FrameLayout> |
| |
| <include layout="@layout/bottom_action_bar" /> |
| </FrameLayout> |