xref: /aosp_15_r20/sdk/apps/NotificationStudio/res/layout/preview.xml (revision 1789df15502f1991eff51ff970dce5df8404dd56)
1*1789df15SXin Li<!--
2*1789df15SXin Li  Copyright 2012 The Android Open Source Project
3*1789df15SXin Li
4*1789df15SXin Li  Licensed under the Apache License, Version 2.0 (the "License");
5*1789df15SXin Li  you may not use this file except in compliance with the License.
6*1789df15SXin Li  You may obtain a copy of the License at
7*1789df15SXin Li
8*1789df15SXin Li      http://www.apache.org/licenses/LICENSE-2.0
9*1789df15SXin Li
10*1789df15SXin Li  Unless required by applicable law or agreed to in writing, software
11*1789df15SXin Li  distributed under the License is distributed on an "AS IS" BASIS,
12*1789df15SXin Li  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*1789df15SXin Li  See the License for the specific language governing permissions and
14*1789df15SXin Li  limitations under the License.
15*1789df15SXin Li-->
16*1789df15SXin Li
17*1789df15SXin Li<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
18*1789df15SXin Li    xmlns:tools="http://schemas.android.com/tools"
19*1789df15SXin Li    android:id="@+id/preview"
20*1789df15SXin Li    android:layout_width="match_parent"
21*1789df15SXin Li    android:layout_height="wrap_content" >
22*1789df15SXin Li
23*1789df15SXin Li    <FrameLayout
24*1789df15SXin Li        android:id="@+id/ticker"
25*1789df15SXin Li        android:layout_width="match_parent"
26*1789df15SXin Li        android:layout_height="wrap_content"
27*1789df15SXin Li        android:visibility="gone" />
28*1789df15SXin Li
29*1789df15SXin Li    <ImageView
30*1789df15SXin Li        android:id="@+id/large_icon"
31*1789df15SXin Li        android:layout_width="@android:dimen/notification_large_icon_width"
32*1789df15SXin Li        android:layout_height="@android:dimen/notification_large_icon_height"
33*1789df15SXin Li        android:layout_alignParentLeft="true"
34*1789df15SXin Li        android:layout_below="@id/ticker"
35*1789df15SXin Li        android:scaleType="center"
36*1789df15SXin Li        android:visibility="gone"
37*1789df15SXin Li        tools:ignore="ContentDescription" />
38*1789df15SXin Li
39*1789df15SXin Li    <FrameLayout
40*1789df15SXin Li        android:id="@+id/oneU"
41*1789df15SXin Li        android:layout_width="match_parent"
42*1789df15SXin Li        android:layout_height="wrap_content"
43*1789df15SXin Li        android:layout_below="@id/ticker"
44*1789df15SXin Li        android:layout_marginTop="5dp"
45*1789df15SXin Li        android:layout_toRightOf="@id/large_icon"
46*1789df15SXin Li        android:visibility="gone" />
47*1789df15SXin Li
48*1789df15SXin Li    <FrameLayout
49*1789df15SXin Li        android:id="@+id/fourU"
50*1789df15SXin Li        android:layout_width="match_parent"
51*1789df15SXin Li        android:layout_height="wrap_content"
52*1789df15SXin Li        android:layout_below="@id/oneU"
53*1789df15SXin Li        android:layout_marginTop="5dp"
54*1789df15SXin Li        android:visibility="gone" />
55*1789df15SXin Li
56*1789df15SXin Li</RelativeLayout>