mobile/android/base/resources/layout/notification_icon_text.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:paddingLeft="5dp">
    12     <LinearLayout android:layout_width="fill_parent"
    13                   android:layout_height="wrap_content"
    14                   android:orientation="horizontal">
    16         <ImageView android:id="@+id/notification_image"
    17                    android:layout_width="25dp"
    18                    android:layout_height="25dp"
    19                    android:scaleType="fitCenter"/>
    21         <TextView android:id="@+id/notification_title"
    22                   android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent.Title"
    23                   android:layout_width="fill_parent"
    24                   android:layout_height="wrap_content"
    25                   android:layout_weight="1"
    26                   android:singleLine="true"
    27                   android:ellipsize="marquee"
    28                   android:fadingEdge="horizontal"
    29                   android:paddingLeft="4dp"/>
    31     </LinearLayout>
    33     <TextView android:id="@+id/notification_text"
    34               android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent"
    35               android:layout_width="fill_parent"
    36               android:layout_height="wrap_content"
    37               android:paddingLeft="4dp"/>
    39 </LinearLayout>

mercurial