mobile/android/base/resources/layout/notification_progress.xml

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

     1 <?xml version="1.0" encoding="utf-8"?>
     2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
     3    - License, v. 2.0. If a copy of the MPL was not distributed with this
     4    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     7               android:layout_width="fill_parent"
     8               android:layout_height="fill_parent"
     9               android:orientation="vertical"
    10               android:paddingTop="7dp"
    11               android:paddingLeft="5dp">
    13     <LinearLayout android:layout_width="fill_parent"
    14                   android:layout_height="wrap_content"
    15                   android:orientation="horizontal">
    17         <ImageView android:id="@+id/notification_image"
    18                    android:layout_width="25dp"
    19                    android:layout_height="25dp"
    20                    android:scaleType="fitCenter"/>
    22         <TextView android:id="@+id/notification_title"
    23                   android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent.Title"
    24                   android:layout_width="fill_parent"
    25                   android:layout_height="wrap_content"
    26                   android:layout_weight="1"
    27                   android:singleLine="true"
    28                   android:ellipsize="marquee"
    29                   android:fadingEdge="horizontal"
    30                   android:paddingLeft="10dp"/>
    32     </LinearLayout>
    34     <LinearLayout android:layout_width="fill_parent"
    35                   android:layout_height="wrap_content"
    36                   android:orientation="horizontal">
    37         <TextView android:id="@+id/notification_text"
    38                   android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent"
    39                   android:layout_width="wrap_content"
    40                   android:layout_height="wrap_content"
    41                   android:paddingLeft="3dp"/>
    42         <ProgressBar android:id="@+id/notification_progressbar"
    43                      style="?android:attr/progressBarStyleHorizontal"
    44                      android:layout_width="fill_parent"
    45                      android:layout_height="wrap_content"
    46                      android:layout_marginTop="1dip"
    47                      android:layout_marginBottom="1dip"
    48                      android:layout_marginLeft="4dip"
    49                      android:layout_marginRight="10dip"
    50                      android:layout_centerHorizontal="true"/>
    51     </LinearLayout>
    53 </LinearLayout>

mercurial