blob: 49d0405dec2b9b580db31ae258a800e390f47df8 [file] [log] [blame]
Joe Onoratoef1e7762010-09-17 18:38:38 -04001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Copyright (C) 2010 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
Daniel Sandlera3850b62011-12-06 13:36:03 -050018<RelativeLayout
Joe Onoratoef1e7762010-09-17 18:38:38 -040019 xmlns:android="http://schemas.android.com/apk/res/android"
20 android:layout_width="match_parent"
Daniel Sandler6aa2d3a2011-01-26 11:52:48 -050021 android:layout_height="match_parent"
Joe Onoratoef1e7762010-09-17 18:38:38 -040022 >
23
Daniel Sandlera3850b62011-12-06 13:36:03 -050024 <View
Daniel Sandler4a066c52012-04-20 14:49:13 -040025 android:layout_height="@*android:dimen/system_bar_height"
Daniel Sandlera3850b62011-12-06 13:36:03 -050026 android:layout_width="match_parent"
Daniel Sandler4a066c52012-04-20 14:49:13 -040027 android:background="@drawable/system_bar_ticker_background"
Fabrice Di Meglio8afcd142012-07-27 18:27:11 -070028 android:layout_alignParentStart="true"
Daniel Sandlera3850b62011-12-06 13:36:03 -050029 android:layout_alignParentBottom="true"
30 android:clickable="false"
31 />
32
Joe Onorato561d3852010-11-20 18:09:34 -080033 <ImageView
34 android:id="@+id/large_icon"
Joe Onoratoa032c902011-01-16 10:50:23 -080035 android:layout_width="@android:dimen/notification_large_icon_height"
36 android:layout_height="@android:dimen/notification_large_icon_width"
Joe Onorato561d3852010-11-20 18:09:34 -080037 android:scaleType="center"
38 android:visibility="gone"
Fabrice Di Meglio8afcd142012-07-27 18:27:11 -070039 android:layout_alignParentStart="true"
Daniel Sandlera3850b62011-12-06 13:36:03 -050040 android:layout_alignParentBottom="true"
Joe Onorato561d3852010-11-20 18:09:34 -080041 />
Joe Onoratoef1e7762010-09-17 18:38:38 -040042
Daniel Sandler6aa2d3a2011-01-26 11:52:48 -050043 <FrameLayout
44 android:id="@+id/ticker_expanded"
45 android:layout_weight="1"
Daniel Sandler4a066c52012-04-20 14:49:13 -040046 android:layout_height="@*android:dimen/system_bar_height"
Daniel Sandler6aa2d3a2011-01-26 11:52:48 -050047 android:layout_width="match_parent"
Fabrice Di Meglio8afcd142012-07-27 18:27:11 -070048 android:layout_toEndOf="@id/large_icon"
Daniel Sandlera3850b62011-12-06 13:36:03 -050049 android:layout_alignParentBottom="true"
50 android:layout_alignWithParentIfMissing="true"
Daniel Sandler6aa2d3a2011-01-26 11:52:48 -050051 />
Daniel Sandlera3850b62011-12-06 13:36:03 -050052</RelativeLayout>