| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (C) 2023 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.wallpaper.picker.customization.ui.section.WallpaperQuickSwitchView |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:tools="http://schemas.android.com/tools" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginHorizontal="24dp" |
| android:orientation="vertical" |
| android:background="@drawable/bottom_connected_section_background" |
| android:paddingTop="16dp" |
| android:paddingHorizontal="24dp"> |
| <!-- |
| See ResponsiveLayoutSectionController to see whether and how the background is replaced in code. |
| --> |
| |
| <LinearLayout |
| android:id="@+id/options" |
| android:layout_width="match_parent" |
| android:layout_height="@dimen/wallpaper_quick_switch_selected_option_height" |
| android:orientation="horizontal" |
| android:divider="@drawable/horizontal_divider_8dp" |
| android:showDividers="middle" /> |
| |
| <TextView |
| android:id="@+id/more_wallpapers" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center_horizontal" |
| android:minHeight="24dp" |
| android:paddingVertical="16dp" |
| android:gravity="center" |
| android:drawablePadding="12dp" |
| android:drawableStart="@drawable/ic_nav_wallpaper" |
| android:drawableTint="@color/system_primary" |
| android:text="@string/more_wallpapers" |
| android:textAppearance="@android:style/TextAppearance.DeviceDefault.Small" |
| android:textColor="@color/system_primary" |
| android:textSize="@dimen/wallpaper_header_text_size" |
| tools:ignore="UseCompatTextViewDrawableXml" /> |
| |
| </com.android.wallpaper.picker.customization.ui.section.WallpaperQuickSwitchView> |