gecko/embedding/android/resources/layout/notification_progress_text.xml

44 lines
1.9 KiB
XML
Raw Normal View History

2011-10-13 12:22:26 -07:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2011-10-13 12:22:26 -07:00
style="@style/Layout.Vertical"
android:paddingLeft="5dp">
<LinearLayout android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView android:id="@+id/notificationImage"
2011-10-13 12:22:26 -07:00
android:layout_width="25dp"
android:layout_height="25dp"
android:scaleType="fitCenter"/>
<TextView android:id="@+id/notificationTitle"
2011-10-13 12:22:26 -07:00
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/notificationProgressbar"
2011-10-13 12:22:26 -07:00
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/notificationText"
2011-10-13 12:22:26 -07:00
android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingLeft="4dp"/>
</LinearLayout>