1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mobile/android/base/resources/layout/panel_article_item.xml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,35 @@ 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 +<merge xmlns:android="http://schemas.android.com/apk/res/android"> 1.10 + 1.11 + <ImageView android:id="@+id/image" 1.12 + android:layout_width="@dimen/panel_article_item_height" 1.13 + android:layout_height="@dimen/panel_article_item_height" 1.14 + android:scaleType="centerCrop"/> 1.15 + 1.16 + <LinearLayout android:id="@+id/title_desc_container" 1.17 + android:layout_width="fill_parent" 1.18 + android:layout_height="@dimen/panel_article_item_height" 1.19 + android:paddingLeft="15dip" 1.20 + android:paddingRight="15dip" 1.21 + android:gravity="center_vertical" 1.22 + android:orientation="vertical"> 1.23 + 1.24 + <TextView android:id="@+id/title" 1.25 + style="@style/Widget.PanelItemView.Title" 1.26 + android:layout_width="fill_parent" 1.27 + android:layout_height="wrap_content"/> 1.28 + 1.29 + <TextView android:id="@+id/description" 1.30 + style="@style/Widget.PanelItemView.Description" 1.31 + android:layout_width="fill_parent" 1.32 + android:layout_height="wrap_content" 1.33 + android:layout_marginTop="1dp" 1.34 + android:maxLength="1024"/> 1.35 + 1.36 + </LinearLayout> 1.37 + 1.38 +</merge>