1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2019 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16--> 17<FrameLayout 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:tools="http://schemas.android.com/tools" 20 android:id="@+id/theme_preview_top_bar" 21 android:layout_width="match_parent" 22 android:layout_height="wrap_content" 23 tools:visibility="visible" 24 tools:showIn="@layout/theme_preview_card"> 25 <TextView 26 android:id="@+id/theme_preview_clock" 27 android:layout_width="wrap_content" 28 android:layout_height="wrap_content" 29 android:layout_gravity="start|center_vertical" 30 android:textColor="@color/icon_thumbnail_color" 31 android:textSize="@dimen/preview_theme_cover_topbar_clock_size" 32 tools:text="8:10"/> 33 <LinearLayout 34 android:id="@+id/theme_preview_top_bar_icons" 35 android:layout_width="wrap_content" 36 android:layout_height="wrap_content" 37 android:layout_gravity="end|center_vertical" 38 android:orientation="horizontal"> 39 <ImageView 40 android:id="@+id/preview_icon_0" 41 android:layout_width="@dimen/preview_theme_cover_topbar_icon_size" 42 android:layout_height="@dimen/preview_theme_cover_topbar_icon_size" 43 android:tint="@color/icon_thumbnail_color"/> 44 <ImageView 45 android:id="@+id/preview_icon_1" 46 android:layout_width="@dimen/preview_theme_cover_topbar_icon_size" 47 android:layout_height="@dimen/preview_theme_cover_topbar_icon_size" 48 android:layout_marginHorizontal="8dp" 49 android:tint="@color/icon_thumbnail_color"/> 50 <ImageView 51 android:id="@+id/preview_icon_2" 52 android:layout_width="@dimen/preview_theme_cover_topbar_icon_size" 53 android:layout_height="@dimen/preview_theme_cover_topbar_icon_size" 54 android:tint="@color/icon_thumbnail_color"/> 55 </LinearLayout> 56</FrameLayout>