1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mobile/android/base/resources/layout/panel_image_item.xml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,44 @@ 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 + <org.mozilla.gecko.widget.SquaredImageView 1.12 + android:id="@+id/image" 1.13 + android:layout_width="fill_parent" 1.14 + android:layout_height="wrap_content" 1.15 + android:scaleType="centerCrop" 1.16 + android:adjustViewBounds="true" 1.17 + android:background="@color/panel_image_item_background"/> 1.18 + 1.19 + <LinearLayout android:id="@+id/title_desc_container" 1.20 + android:layout_width="fill_parent" 1.21 + android:layout_height="@dimen/page_row_height" 1.22 + android:paddingTop="7dip" 1.23 + android:paddingBottom="7dip" 1.24 + android:paddingLeft="5dip" 1.25 + android:paddingRight="5dip" 1.26 + android:orientation="vertical"> 1.27 + 1.28 + <TextView android:id="@+id/title" 1.29 + style="@style/Widget.PanelItemView.Title" 1.30 + android:layout_width="fill_parent" 1.31 + android:layout_height="0dp" 1.32 + android:layout_weight="1" 1.33 + android:gravity="center_vertical" 1.34 + android:singleLine="true"/> 1.35 + 1.36 + <TextView android:id="@+id/description" 1.37 + style="@style/Widget.PanelItemView.Description" 1.38 + android:layout_width="fill_parent" 1.39 + android:layout_height="0dp" 1.40 + android:layout_weight="1" 1.41 + android:gravity="center_vertical" 1.42 + android:singleLine="true" 1.43 + android:maxLength="1024"/> 1.44 + 1.45 + </LinearLayout> 1.46 + 1.47 +</merge>