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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mobile/android/base/resources/layout/notification_icon_text.xml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,39 @@
     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:paddingLeft="5dp">
    1.14 +
    1.15 +    <LinearLayout android:layout_width="fill_parent"
    1.16 +                  android:layout_height="wrap_content"
    1.17 +                  android:orientation="horizontal">
    1.18 +
    1.19 +        <ImageView android:id="@+id/notification_image"
    1.20 +                   android:layout_width="25dp"
    1.21 +                   android:layout_height="25dp"
    1.22 +                   android:scaleType="fitCenter"/>
    1.23 +
    1.24 +        <TextView android:id="@+id/notification_title"
    1.25 +                  android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent.Title"
    1.26 +                  android:layout_width="fill_parent"
    1.27 +                  android:layout_height="wrap_content"
    1.28 +                  android:layout_weight="1"
    1.29 +                  android:singleLine="true"
    1.30 +                  android:ellipsize="marquee"
    1.31 +                  android:fadingEdge="horizontal"
    1.32 +                  android:paddingLeft="4dp"/>
    1.33 +
    1.34 +    </LinearLayout>
    1.35 +
    1.36 +    <TextView android:id="@+id/notification_text"
    1.37 +              android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent"
    1.38 +              android:layout_width="fill_parent"
    1.39 +              android:layout_height="wrap_content"
    1.40 +              android:paddingLeft="4dp"/>
    1.41 +
    1.42 +</LinearLayout>

mercurial