1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 4 Copyright (C) 2019 The Android Open Source Project 5 6 Licensed under the Apache License, Version 2.0 (the "License"); 7 you may not use this file except in compliance with the License. 8 You may obtain a copy of the License at 9 10 http://www.apache.org/licenses/LICENSE-2.0 11 12 Unless required by applicable law or agreed to in writing, software 13 distributed under the License is distributed on an "AS IS" BASIS, 14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 See the License for the specific language governing permissions and 16 limitations under the License. 17--> 18<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 19 android:id="@+id/page_info" 20 android:layout_height="wrap_content" 21 android:layout_width="match_parent" 22 android:orientation="vertical" 23 android:paddingHorizontal="@dimen/preview_attribution_pane_horizontal_padding" 24 android:theme="@style/WallpaperPicker.BottomPaneStyle"> 25 26 <Space 27 android:id="@+id/preview_attribution_pane_title_spacer" 28 android:layout_width="0dp" 29 android:layout_height="@dimen/preview_attribution_pane_inner_spacer_height"/> 30 31 <TextView 32 android:id="@+id/preview_attribution_pane_title" 33 android:layout_width="match_parent" 34 android:layout_height="wrap_content" 35 android:minHeight="@dimen/preview_attribution_pane_title_height" 36 android:ellipsize="end" 37 android:forceHasOverlappingRendering="false" 38 android:gravity="center" 39 android:singleLine="true" 40 android:textAppearance="@style/HeaderTextAppearance" 41 android:textColor="@color/material_white_100"/> 42 43 <TextView 44 android:id="@+id/preview_attribution_pane_subtitle1" 45 android:layout_width="match_parent" 46 android:layout_height="wrap_content" 47 android:minHeight="@dimen/preview_attribution_pane_author_height" 48 android:layout_marginTop="@dimen/preview_attribution_pane_author_top_margin" 49 android:forceHasOverlappingRendering="false" 50 android:gravity="center" 51 android:textAppearance="@android:style/TextAppearance.DeviceDefault.Widget.ActionBar.Subtitle" 52 android:textColor="@color/material_white_100" 53 android:visibility="gone"/> 54 55 <TextView 56 android:id="@+id/preview_attribution_pane_subtitle2" 57 android:layout_width="match_parent" 58 android:layout_height="wrap_content" 59 android:minHeight="@dimen/preview_attribution_pane_description_height" 60 android:forceHasOverlappingRendering="false" 61 android:gravity="center_horizontal" 62 android:textAppearance="@android:style/TextAppearance.DeviceDefault.Small" 63 android:textSize="12dp" 64 android:textColor="@color/material_white_100" 65 android:visibility="gone"/> 66 67 <Space 68 android:id="@+id/preview_attribution_pane_spacer" 69 android:layout_width="0dp" 70 android:layout_height="0dp" 71 android:layout_marginTop="@dimen/preview_attribution_pane_inner_spacer_height" 72 android:layout_weight="1"/> 73 74 <LinearLayout 75 android:layout_width="match_parent" 76 android:layout_height="wrap_content" 77 android:layout_marginBottom="@dimen/preview_attribution_pane_button_bottom_margin" 78 android:gravity="center" 79 android:orientation="horizontal"> 80 81 <Button 82 style="@style/OutlinedButtonStyle" 83 android:id="@+id/preview_attribution_pane_explore_button" 84 android:layout_width="wrap_content" 85 android:layout_height="wrap_content" 86 android:text="@string/explore" 87 android:visibility="gone"/> 88 89 <Space 90 android:id="@+id/spacer" 91 android:layout_width="0dp" 92 android:layout_height="0dp" 93 android:layout_weight="1" 94 android:visibility="gone"/> 95 96 <Button 97 style="@style/ButtonStyle" 98 android:id="@+id/preview_attribution_pane_set_wallpaper_button" 99 android:layout_width="wrap_content" 100 android:layout_height="wrap_content" 101 android:text="@string/set_wallpaper_button_text" 102 android:visibility="gone"/> 103 104 </LinearLayout> 105 106</LinearLayout>