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

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 <?xml version="1.0" encoding="utf-8"?>
michael@0 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 - License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
michael@0 5
michael@0 6 <merge xmlns:android="http://schemas.android.com/apk/res/android">
michael@0 7
michael@0 8 <org.mozilla.gecko.widget.SquaredImageView
michael@0 9 android:id="@+id/image"
michael@0 10 android:layout_width="fill_parent"
michael@0 11 android:layout_height="wrap_content"
michael@0 12 android:scaleType="centerCrop"
michael@0 13 android:adjustViewBounds="true"
michael@0 14 android:background="@color/panel_image_item_background"/>
michael@0 15
michael@0 16 <LinearLayout android:id="@+id/title_desc_container"
michael@0 17 android:layout_width="fill_parent"
michael@0 18 android:layout_height="@dimen/page_row_height"
michael@0 19 android:paddingTop="7dip"
michael@0 20 android:paddingBottom="7dip"
michael@0 21 android:paddingLeft="5dip"
michael@0 22 android:paddingRight="5dip"
michael@0 23 android:orientation="vertical">
michael@0 24
michael@0 25 <TextView android:id="@+id/title"
michael@0 26 style="@style/Widget.PanelItemView.Title"
michael@0 27 android:layout_width="fill_parent"
michael@0 28 android:layout_height="0dp"
michael@0 29 android:layout_weight="1"
michael@0 30 android:gravity="center_vertical"
michael@0 31 android:singleLine="true"/>
michael@0 32
michael@0 33 <TextView android:id="@+id/description"
michael@0 34 style="@style/Widget.PanelItemView.Description"
michael@0 35 android:layout_width="fill_parent"
michael@0 36 android:layout_height="0dp"
michael@0 37 android:layout_weight="1"
michael@0 38 android:gravity="center_vertical"
michael@0 39 android:singleLine="true"
michael@0 40 android:maxLength="1024"/>
michael@0 41
michael@0 42 </LinearLayout>
michael@0 43
michael@0 44 </merge>

mercurial