Weather/res/layout/notification_item.xml
2021-05-10 10:13:34 +02:00

8 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:background="#ff898989" android:padding="3.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@id/notificationImage" android:paddingLeft="16.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@android:drawable/stat_sys_download" />
<TextView android:textColor="#ffffffff" android:id="@id/notificationTitle" android:paddingLeft="26.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toRightOf="@id/notificationImage" android:layout_alignParentRight="true" />
<TextView android:textColor="#ffffffff" android:id="@id/notificationPercent" android:paddingLeft="16.0dip" android:paddingTop="2.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/notificationImage" />
<ProgressBar android:id="@id/notificationProgress" android:paddingLeft="26.0dip" android:paddingTop="2.0dip" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/notificationTitle" android:layout_alignLeft="@id/notificationTitle" android:layout_alignTop="@id/notificationPercent" android:layout_alignParentRight="true" style="?android:progressBarStyleHorizontal" />
</RelativeLayout>