blob: af69de966ec931caa4e0a78ad6ee1c67246aeb95 [file] [log] [blame]
Santiago Etchebeherebcf9b412019-04-11 16:49:57 -03001<?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"
Santiago Etchebehere0831fa82019-04-26 15:53:52 -070020 android:id="@+id/theme_preview_top_bar"
Santiago Etchebeherebcf9b412019-04-11 16:49:57 -030021 android:layout_width="match_parent"
22 android:layout_height="wrap_content"
Santiago Etchebehere60c3f2f2019-05-22 14:38:19 -070023 tools:visibility="visible"
24 tools:showIn="@layout/theme_preview_card">
Santiago Etchebeherebcf9b412019-04-11 16:49:57 -030025 <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"
Tianguang Zhang12827ff2021-04-14 00:32:20 +020030 android:textColor="?android:textColorSecondary"
Santiago Etchebeheref039b692019-06-05 14:29:25 -070031 android:textSize="@dimen/preview_theme_cover_topbar_clock_size"
Santiago Etchebeherebcf9b412019-04-11 16:49:57 -030032 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"
Tianguang Zhang12827ff2021-04-14 00:32:20 +020043 android:tint="?android:textColorSecondary"/>
Santiago Etchebeherebcf9b412019-04-11 16:49:57 -030044 <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"
Tianguang Zhang12827ff2021-04-14 00:32:20 +020049 android:tint="?android:textColorSecondary"/>
Santiago Etchebeherebcf9b412019-04-11 16:49:57 -030050 <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"
Tianguang Zhang12827ff2021-04-14 00:32:20 +020054 android:tint="?android:textColorSecondary"/>
Santiago Etchebeherebcf9b412019-04-11 16:49:57 -030055 </LinearLayout>
56</FrameLayout>