123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- >
- <ImageView android:id="@+id/icon"
- android:layout_width="@android:dimen/notification_large_icon_width"
- android:layout_height="@android:dimen/notification_large_icon_height"
- android:scaleType="center"
- />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:minHeight="@dimen/notification_with_progress_bar_layout_height"
- android:orientation="vertical"
- android:paddingRight="@dimen/notification_with_progress_bar_layout"
- android:paddingLeft="@dimen/notification_with_progress_bar_layout"
- >
- <TextView android:id="@+id/title"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:singleLine="true"
- android:ellipsize="marquee"
- android:fadingEdge="horizontal"
- style="@style/Theme.ownCloud.NotificationText.Title"
- />
- <TextView android:id="@+id/text"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/standard_eighth_margin_negative"
- android:layout_marginBottom="@dimen/standard_eighth_margin_negative"
- android:singleLine="true"
- android:fadingEdge="horizontal"
- android:ellipsize="marquee"
- style="@style/Theme.ownCloud.NotificationText.Content"
- />
- <FrameLayout android:id="@+id/progressHolder"
- android:layout_width="match_parent"
- android:layout_height="@dimen/notification_with_progress_bar_layout"
- >
-
- <ProgressBar
- android:id="@+id/progress"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- style="?android:attr/progressBarStyleHorizontal"
- />
- </FrameLayout>
- </LinearLayout>
- </LinearLayout>
|