66 lines
2.5 KiB
XML
66 lines
2.5 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.
|
||
|
-->
|
||
|
<RelativeLayout
|
||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:paddingTop="@dimen/tiny_padding"
|
||
|
android:paddingBottom="@dimen/tiny_padding">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/start_time"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_alignParentStart="true"
|
||
|
android:layout_alignParentLeft="true"
|
||
|
android:minWidth="@dimen/epg_time_width"
|
||
|
android:gravity="end"
|
||
|
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"/>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/end_time"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:minWidth="@dimen/epg_time_width"
|
||
|
android:gravity="end"
|
||
|
android:layout_below="@id/start_time"
|
||
|
android:layout_alignRight="@id/start_time"
|
||
|
android:layout_alignEnd="@id/start_time"
|
||
|
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
|
||
|
android:textColor="?attr/appTextColorSecondary"/>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/title"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_toRightOf="@id/start_time"
|
||
|
android:layout_toEndOf="@+id/start_time"
|
||
|
android:layout_alignTop="@id/start_time"
|
||
|
style="@style/TextAppearance.Medialist.Title"
|
||
|
android:paddingTop="0dp"/>
|
||
|
<TextView
|
||
|
android:id="@+id/details"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_alignLeft="@id/title"
|
||
|
android:layout_alignStart="@id/title"
|
||
|
android:layout_below="@id/title"
|
||
|
android:layout_toRightOf="@id/end_time"
|
||
|
android:layout_toEndOf="@id/end_time"
|
||
|
style="@style/TextAppearance.Medialist.Details"/>
|
||
|
</RelativeLayout>
|