mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Show count of uploads being queued up
This commit is contained in:
parent
738cdd4c8a
commit
dd758a7964
5 changed files with 52 additions and 8 deletions
|
|
@ -29,15 +29,34 @@
|
|||
android:focusableInTouchMode="true"
|
||||
android:ellipsize="marquee"/>
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/uploadNotificationProgress"
|
||||
<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:progressDrawable="@android:drawable/progress_horizontal" >
|
||||
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:text="1 left"
|
||||
android:focusableInTouchMode="true"
|
||||
style="@style/NotificationText"
|
||||
android:layout_marginLeft="8dp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
|
@ -1,5 +1,7 @@
|
|||
<resources>
|
||||
|
||||
<style name="AppTheme" parent="android:Theme.Holo.Light.DarkActionBar" />
|
||||
<style name="AppTheme" parent="android:Theme.Holo.Light" />
|
||||
|
||||
<style name="NotificationProgress" parent="android:Widget.Holo.ProgressBar.Horizontal" />
|
||||
|
||||
</resources>
|
||||
|
|
@ -28,6 +28,7 @@
|
|||
<string name="upload_progress_notification_title_finishing">Finishing uploading %1$s</string>
|
||||
<string name="upload_failed_notification_title">Uploading %1$s failed</string>
|
||||
<string name="upload_failed_notification_subtitle">Tap to retry</string>
|
||||
<string name="uploads_pending_notification_indicator">%d</string>
|
||||
|
||||
<string name="transcoding_progress_title_start">Starting %1$s Transcoding</string>
|
||||
<string name="transcoding_progress_title_in_progress">Transcoding %1$s</string>
|
||||
|
|
|
|||
|
|
@ -15,4 +15,6 @@
|
|||
<item name="android:textStyle">bold</item>
|
||||
</style>
|
||||
|
||||
<style name="NotificationProgress" parent="Theme.Commons" />
|
||||
|
||||
</resources>
|
||||
Loading…
Add table
Add a link
Reference in a new issue