56 lines
2.2 KiB
XML
56 lines
2.2 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<!--
|
||
|
Copyright 2015 Synced Synapse. All rights reserved.
|
||
|
|
||
|
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.
|
||
|
-->
|
||
|
|
||
|
<android.support.v7.widget.CardView
|
||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
card_view:cardElevation="@dimen/default_card_elevation"
|
||
|
card_view:cardBackgroundColor="?attr/appCardBackgroundColor">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="horizontal">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/art"
|
||
|
android:layout_width="@dimen/channellist_art_width"
|
||
|
android:layout_height="@dimen/channellist_art_heigth"
|
||
|
android:contentDescription="@string/poster"/>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:orientation="vertical"
|
||
|
android:gravity="center_vertical">
|
||
|
<TextView
|
||
|
android:id="@+id/title"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
style="@style/TextAppearance.Medialist.Title"
|
||
|
android:paddingTop="0dp"/>
|
||
|
<TextView
|
||
|
android:id="@+id/details"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
style="@style/TextAppearance.Medialist.Details"
|
||
|
android:paddingBottom="0dp"/>
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|
||
|
</android.support.v7.widget.CardView>
|