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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mobile/android/base/resources/layout/launch_app_listitem.xml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,30 @@
     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="?android:attr/listPreferredItemHeight"
    1.12 +              android:paddingLeft="16dip"
    1.13 +              android:paddingRight="16dip"
    1.14 +              android:orientation="horizontal"
    1.15 +              android:gravity="left">
    1.16 +  
    1.17 +   <ImageView android:id="@+id/favicon"
    1.18 +              android:layout_width="48dip"
    1.19 +              android:layout_height="48dip"
    1.20 +              android:layout_marginRight="12dip"
    1.21 +              android:layout_gravity="center_vertical"
    1.22 +              android:adjustViewBounds="true"
    1.23 +              android:scaleType="fitCenter"/>
    1.24 +
    1.25 +   <TextView android:id="@+id/title"
    1.26 +             android:layout_width="fill_parent"
    1.27 +             android:layout_height="fill_parent"
    1.28 +             android:gravity="center_vertical"
    1.29 +             android:textAppearance="?android:attr/textAppearanceLargeInverse"
    1.30 +             android:ellipsize="marquee"
    1.31 +             android:fadingEdge="horizontal"/>
    1.32 +
    1.33 + </LinearLayout>

mercurial