Santiago Etchebehere | bcf9b41 | 2019-04-11 16:49:57 -0300 | [diff] [blame] | 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" |
Santiago Etchebehere | 0831fa8 | 2019-04-26 15:53:52 -0700 | [diff] [blame] | 20 | android:id="@+id/theme_preview_top_bar" |
Santiago Etchebehere | bcf9b41 | 2019-04-11 16:49:57 -0300 | [diff] [blame] | 21 | android:layout_width="match_parent" |
| 22 | android:layout_height="wrap_content" |
Santiago Etchebehere | 60c3f2f | 2019-05-22 14:38:19 -0700 | [diff] [blame] | 23 | tools:visibility="visible" |
| 24 | tools:showIn="@layout/theme_preview_card"> |
Santiago Etchebehere | bcf9b41 | 2019-04-11 16:49:57 -0300 | [diff] [blame] | 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" |
Tianguang Zhang | 12827ff | 2021-04-14 00:32:20 +0200 | [diff] [blame] | 30 | android:textColor="?android:textColorSecondary" |
Santiago Etchebehere | f039b69 | 2019-06-05 14:29:25 -0700 | [diff] [blame] | 31 | android:textSize="@dimen/preview_theme_cover_topbar_clock_size" |
Santiago Etchebehere | bcf9b41 | 2019-04-11 16:49:57 -0300 | [diff] [blame] | 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" |
Tianguang Zhang | 12827ff | 2021-04-14 00:32:20 +0200 | [diff] [blame] | 43 | android:tint="?android:textColorSecondary"/> |
Santiago Etchebehere | bcf9b41 | 2019-04-11 16:49:57 -0300 | [diff] [blame] | 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" |
Tianguang Zhang | 12827ff | 2021-04-14 00:32:20 +0200 | [diff] [blame] | 49 | android:tint="?android:textColorSecondary"/> |
Santiago Etchebehere | bcf9b41 | 2019-04-11 16:49:57 -0300 | [diff] [blame] | 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" |
Tianguang Zhang | 12827ff | 2021-04-14 00:32:20 +0200 | [diff] [blame] | 54 | android:tint="?android:textColorSecondary"/> |
Santiago Etchebehere | bcf9b41 | 2019-04-11 16:49:57 -0300 | [diff] [blame] | 55 | </LinearLayout> |
| 56 | </FrameLayout> |