| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| |
| Copyright (C) 2019 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. |
| --> |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:id="@+id/page_info" |
| android:layout_height="wrap_content" |
| android:layout_width="match_parent" |
| android:orientation="vertical" |
| android:paddingHorizontal="@dimen/preview_attribution_pane_horizontal_padding" |
| android:theme="@style/WallpaperPicker.BottomPaneStyle"> |
| |
| <Space |
| android:id="@+id/preview_attribution_pane_title_spacer" |
| android:layout_width="0dp" |
| android:layout_height="@dimen/preview_attribution_pane_inner_spacer_height"/> |
| |
| <TextView |
| android:id="@+id/preview_attribution_pane_title" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:minHeight="@dimen/preview_attribution_pane_title_height" |
| android:ellipsize="end" |
| android:forceHasOverlappingRendering="false" |
| android:gravity="center" |
| android:singleLine="true" |
| android:textAppearance="@style/HeaderTextAppearance" |
| android:textColor="@color/material_white_100"/> |
| |
| <TextView |
| android:id="@+id/preview_attribution_pane_subtitle1" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:minHeight="@dimen/preview_attribution_pane_author_height" |
| android:layout_marginTop="@dimen/preview_attribution_pane_author_top_margin" |
| android:forceHasOverlappingRendering="false" |
| android:gravity="center" |
| android:textAppearance="@android:style/TextAppearance.DeviceDefault.Widget.ActionBar.Subtitle" |
| android:textColor="@color/material_white_100" |
| android:visibility="gone"/> |
| |
| <TextView |
| android:id="@+id/preview_attribution_pane_subtitle2" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:minHeight="@dimen/preview_attribution_pane_description_height" |
| android:forceHasOverlappingRendering="false" |
| android:gravity="center_horizontal" |
| android:textAppearance="@android:style/TextAppearance.DeviceDefault.Small" |
| android:textSize="12dp" |
| android:textColor="@color/material_white_100" |
| android:visibility="gone"/> |
| |
| <Space |
| android:id="@+id/preview_attribution_pane_spacer" |
| android:layout_width="0dp" |
| android:layout_height="0dp" |
| android:layout_marginTop="@dimen/preview_attribution_pane_inner_spacer_height" |
| android:layout_weight="1"/> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginBottom="@dimen/preview_attribution_pane_button_bottom_margin" |
| android:gravity="center" |
| android:orientation="horizontal"> |
| |
| <Button |
| style="@style/OutlinedButtonStyle" |
| android:id="@+id/preview_attribution_pane_explore_button" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/explore" |
| android:visibility="gone"/> |
| |
| <Space |
| android:id="@+id/spacer" |
| android:layout_width="0dp" |
| android:layout_height="0dp" |
| android:layout_weight="1" |
| android:visibility="gone"/> |
| |
| <Button |
| style="@style/ButtonStyle" |
| android:id="@+id/preview_attribution_pane_set_wallpaper_button" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/set_wallpaper_button_text" |
| android:visibility="gone"/> |
| |
| </LinearLayout> |
| |
| </LinearLayout> |