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

branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
equal deleted inserted replaced
-1:000000000000 0:025f589c5b84
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/. -->
5
6 <merge xmlns:android="http://schemas.android.com/apk/res/android">
7
8 <ImageView android:id="@+id/image"
9 android:layout_width="@dimen/panel_article_item_height"
10 android:layout_height="@dimen/panel_article_item_height"
11 android:scaleType="centerCrop"/>
12
13 <LinearLayout android:id="@+id/title_desc_container"
14 android:layout_width="fill_parent"
15 android:layout_height="@dimen/panel_article_item_height"
16 android:paddingLeft="15dip"
17 android:paddingRight="15dip"
18 android:gravity="center_vertical"
19 android:orientation="vertical">
20
21 <TextView android:id="@+id/title"
22 style="@style/Widget.PanelItemView.Title"
23 android:layout_width="fill_parent"
24 android:layout_height="wrap_content"/>
25
26 <TextView android:id="@+id/description"
27 style="@style/Widget.PanelItemView.Description"
28 android:layout_width="fill_parent"
29 android:layout_height="wrap_content"
30 android:layout_marginTop="1dp"
31 android:maxLength="1024"/>
32
33 </LinearLayout>
34
35 </merge>

mercurial