1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mobile/android/base/resources/layout/notification_progress.xml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,53 @@ 1.4 +<?xml version="1.0" encoding="utf-8"?> 1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public 1.6 + - License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 1.8 + 1.9 +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 1.10 + android:layout_width="fill_parent" 1.11 + android:layout_height="fill_parent" 1.12 + android:orientation="vertical" 1.13 + android:paddingTop="7dp" 1.14 + android:paddingLeft="5dp"> 1.15 + 1.16 + <LinearLayout android:layout_width="fill_parent" 1.17 + android:layout_height="wrap_content" 1.18 + android:orientation="horizontal"> 1.19 + 1.20 + <ImageView android:id="@+id/notification_image" 1.21 + android:layout_width="25dp" 1.22 + android:layout_height="25dp" 1.23 + android:scaleType="fitCenter"/> 1.24 + 1.25 + <TextView android:id="@+id/notification_title" 1.26 + android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent.Title" 1.27 + android:layout_width="fill_parent" 1.28 + android:layout_height="wrap_content" 1.29 + android:layout_weight="1" 1.30 + android:singleLine="true" 1.31 + android:ellipsize="marquee" 1.32 + android:fadingEdge="horizontal" 1.33 + android:paddingLeft="10dp"/> 1.34 + 1.35 + </LinearLayout> 1.36 + 1.37 + <LinearLayout android:layout_width="fill_parent" 1.38 + android:layout_height="wrap_content" 1.39 + android:orientation="horizontal"> 1.40 + <TextView android:id="@+id/notification_text" 1.41 + android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent" 1.42 + android:layout_width="wrap_content" 1.43 + android:layout_height="wrap_content" 1.44 + android:paddingLeft="3dp"/> 1.45 + <ProgressBar android:id="@+id/notification_progressbar" 1.46 + style="?android:attr/progressBarStyleHorizontal" 1.47 + android:layout_width="fill_parent" 1.48 + android:layout_height="wrap_content" 1.49 + android:layout_marginTop="1dip" 1.50 + android:layout_marginBottom="1dip" 1.51 + android:layout_marginLeft="4dip" 1.52 + android:layout_marginRight="10dip" 1.53 + android:layout_centerHorizontal="true"/> 1.54 + </LinearLayout> 1.55 + 1.56 +</LinearLayout>