78 lines
No EOL
3.3 KiB
XML
78 lines
No EOL
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2012 Andrew Neal
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res/com.andrew.apollo"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center_vertical" >
|
|
|
|
<com.andrew.apollo.widgets.LayoutSuppressingImageView
|
|
android:id="@+id/list_item_background"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/list_item_detailed_height"
|
|
android:scaleType="centerCrop" />
|
|
|
|
<com.andrew.apollo.widgets.LayoutSuppressingImageView
|
|
android:id="@+id/image"
|
|
android:layout_width="@dimen/list_item_detailed_height"
|
|
android:layout_height="@dimen/list_item_detailed_height"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_alignParentLeft="true"
|
|
android:scaleType="centerCrop" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/image_background"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/list_item_detailed_height"
|
|
android:layout_toRightOf="@+id/image"
|
|
android:background="@color/list_item_background"
|
|
android:padding="@dimen/list_preferred_item_padding" >
|
|
|
|
<com.andrew.apollo.widgets.theme.ThemeableTextView
|
|
android:id="@+id/line_one"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentTop="true"
|
|
android:maxLines="2"
|
|
android:textColor="@color/white"
|
|
android:textSize="@dimen/text_size_medium"
|
|
android:textStyle="bold"
|
|
app:themeResource="@null" />
|
|
|
|
<com.andrew.apollo.widgets.theme.ThemeableTextView
|
|
android:id="@+id/line_two"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/line_one"
|
|
android:layout_marginTop="@dimen/list_item_line_two_margin_top"
|
|
android:maxLines="2"
|
|
android:textColor="@color/transparent_white"
|
|
android:textSize="@dimen/text_size_small"
|
|
app:themeResource="@null" />
|
|
|
|
<com.andrew.apollo.widgets.theme.ThemeableTextView
|
|
android:id="@+id/line_three"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:singleLine="true"
|
|
android:textColor="@color/transparent_white"
|
|
android:textSize="@dimen/text_size_small"
|
|
app:themeResource="@null" />
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout> |