Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3   ~ Copyright (C) 2016 The Android Open Source Project
      4   ~
      5   ~ Licensed under the Apache License, Version 2.0 (the "License");
      6   ~ you may not use this file except in compliance with the License.
      7   ~ You may obtain a copy of the License at
      8   ~
      9   ~      http://www.apache.org/licenses/LICENSE-2.0
     10   ~
     11   ~ Unless required by applicable law or agreed to in writing, software
     12   ~ distributed under the License is distributed on an "AS IS" BASIS,
     13   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14   ~ See the License for the specific language governing permissions and
     15   ~ limitations under the License.
     16   -->
     17 
     18 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     19     android:orientation="vertical"
     20     android:layout_width="wrap_content"
     21     android:layout_height="wrap_content">
     22 
     23     <!-- Top margins are set programatically -->
     24     <android.support.v17.leanback.widget.ResizingTextView
     25         android:id="@+id/dvr_details_description_title"
     26         android:layout_width="wrap_content"
     27         android:layout_height="wrap_content"
     28         android:paddingLeft="12dp"
     29         android:paddingRight="12dp"
     30         style="?attr/detailsDescriptionTitleStyle" />
     31 
     32     <TextView android:id="@+id/dvr_details_description_subtitle"
     33         android:layout_width="wrap_content"
     34         android:layout_height="wrap_content"
     35         android:paddingLeft="12dp"
     36         android:paddingRight="12dp"
     37         style="?attr/detailsDescriptionSubtitleStyle" />
     38 
     39     <LinearLayout android:id="@+id/dvr_details_description_container"
     40         android:layout_width="wrap_content"
     41         android:layout_height="wrap_content"
     42         android:orientation="vertical"
     43         android:background="?android:attr/selectableItemBackground">
     44 
     45         <TextView android:id="@+id/dvr_details_description_body"
     46             android:layout_width="wrap_content"
     47             android:layout_height="wrap_content"
     48             android:paddingTop="9dp"
     49             android:paddingLeft="12dp"
     50             android:paddingRight="12dp"
     51             style="?attr/detailsDescriptionBodyStyle" />
     52 
     53         <TextView android:id="@+id/dvr_details_description_read_more"
     54             android:layout_width="wrap_content"
     55             android:layout_height="wrap_content"
     56             android:visibility="gone"
     57             android:text="@string/dvr_detail_read_more"
     58             android:textColor="@color/lb_details_description_color"
     59             android:textSize="16sp"
     60             android:height="29dp"
     61             android:layout_marginTop="3dp"
     62             android:paddingLeft="12dp"
     63             android:paddingRight="12dp"
     64             android:paddingBottom="9dp"
     65             android:textAllCaps="true" />
     66 
     67     </LinearLayout>
     68 </LinearLayout>