mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 07:05:24 +00:00
50 lines
2.2 KiB
XML
50 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:orientation="vertical"
|
|
android:paddingLeft="5dp">
|
|
|
|
<LinearLayout android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView android:id="@+id/notification_image"
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:scaleType="fitCenter"/>
|
|
|
|
<TextView android:id="@+id/notification_title"
|
|
android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent.Title"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:singleLine="true"
|
|
android:ellipsize="marquee"
|
|
android:fadingEdge="horizontal"
|
|
android:paddingLeft="4dp"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<ProgressBar android:id="@+id/notification_progressbar"
|
|
style="?android:attr/progressBarStyleHorizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="16dip"
|
|
android:layout_marginTop="1dip"
|
|
android:layout_marginBottom="1dip"
|
|
android:layout_marginLeft="10dip"
|
|
android:layout_marginRight="10dip"
|
|
android:layout_centerHorizontal="true" />
|
|
|
|
<TextView android:id="@+id/notification_text"
|
|
android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="4dp"/>
|
|
|
|
</LinearLayout>
|