apps-android-commons/commons/res/layout/layout_upload_progress.xml
2013-01-30 16:31:08 +05:30

61 lines
No EOL
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="10dp" >
<ImageView
android:id="@+id/uploadNotificationIcon"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:src="@drawable/ic_launcher"
android:layout_marginRight="10dp" />
<LinearLayout android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/uploadNotificationTitle"
style="@style/NotificationTitle"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Uploading image to commons"
android:singleLine="true"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true"
android:focusable="true"
android:focusableInTouchMode="true"
android:ellipsize="marquee"/>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
>
<ProgressBar
android:id="@+id/uploadNotificationProgress"
android:layout_width="0px"
android:layout_height="fill_parent"
android:indeterminate="false"
android:indeterminateOnly="false"
android:layout_weight="1"
style="@style/NotificationProgress" >
</ProgressBar>
<TextView
android:id="@+id/uploadNotificationsCount"
android:layout_height="fill_parent"
android:layout_width="wrap_content"
android:singleLine="true"
android:focusable="true"
android:focusableInTouchMode="true"
style="@style/NotificationText"
android:layout_marginLeft="8dp"
/>
</LinearLayout>
</LinearLayout>
</LinearLayout>