1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <?xml version="1.0" encoding="utf-8"?>
- <!--
- ownCloud Android client application
- Copyright (C) 2014 ownCloud Inc.
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License version 2,
- as published by the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
- -->
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:paddingTop="5dp"
- android:paddingLeft="5dp"
- >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:paddingTop="3dp"
- >
- <ImageView android:id="@+id/icon"
- android:layout_width="25dp"
- android:layout_height="25dp"
- android:scaleType="centerInside"
- />
- <TextView android:id="@+id/title"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:singleLine="true"
- android:ellipsize="marquee"
- android:fadingEdge="horizontal"
- android:paddingLeft="4dp"
- style="@style/Theme.ownCloud.NotificationText.Title"
- />
- </LinearLayout>
- <TextView android:id="@+id/text"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:singleLine="true"
- android:ellipsize="marquee"
- android:fadingEdge="horizontal"
- style="@style/Theme.ownCloud.NotificationText.Content"
- />
- <FrameLayout android:id="@+id/progressHolder"
- android:layout_width="match_parent"
- android:layout_height="10dp"
- android:paddingTop="2dp"
- android:paddingBottom="2dp"
- >
- <!-- the FrameLayout is needed to change visibility of the
- progress bar in Android 2.2, even though
- https://code.google.com/p/android/issues/detail?id=11040 -->
- <ProgressBar
- android:id="@+id/progress"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- style="?android:attr/progressBarStyleHorizontal"
- />
- </FrameLayout>
- </LinearLayout>
|