mobile/android/base/resources/layout/panel_image_item.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 <merge xmlns:android="http://schemas.android.com/apk/res/android">
     8     <org.mozilla.gecko.widget.SquaredImageView
     9         android:id="@+id/image"
    10         android:layout_width="fill_parent"
    11         android:layout_height="wrap_content"
    12         android:scaleType="centerCrop"
    13         android:adjustViewBounds="true"
    14         android:background="@color/panel_image_item_background"/>
    16     <LinearLayout android:id="@+id/title_desc_container"
    17                   android:layout_width="fill_parent"
    18                   android:layout_height="@dimen/page_row_height"
    19                   android:paddingTop="7dip"
    20                   android:paddingBottom="7dip"
    21                   android:paddingLeft="5dip"
    22                   android:paddingRight="5dip"
    23                   android:orientation="vertical">
    25         <TextView android:id="@+id/title"
    26                   style="@style/Widget.PanelItemView.Title"
    27                   android:layout_width="fill_parent"
    28                   android:layout_height="0dp"
    29                   android:layout_weight="1"
    30                   android:gravity="center_vertical"
    31                   android:singleLine="true"/>
    33         <TextView android:id="@+id/description"
    34                   style="@style/Widget.PanelItemView.Description"
    35                   android:layout_width="fill_parent"
    36                   android:layout_height="0dp"
    37                   android:layout_weight="1"
    38                   android:gravity="center_vertical"
    39                   android:singleLine="true"
    40                   android:maxLength="1024"/>
    42     </LinearLayout>
    44 </merge>

mercurial