<?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2015 The Android Open Source Project ~ ~ 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. --> <com.android.tv.guide.ProgramItemView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="0dp" android:layout_height="@dimen/program_guide_table_item_row_height" android:gravity="start|center_vertical" android:background="@drawable/program_guide_table_item_background" android:focusable="true" android:focusableInTouchMode="true" android:paddingStart="@dimen/program_guide_table_item_padding" android:paddingEnd="@dimen/program_guide_table_item_padding" android:fontFamily="@string/condensed_font" android:textAlignment="viewStart" android:textSize="@dimen/program_guide_table_item_program_title_font_size" android:textColor="@color/program_guide_table_item_program_title_text_color" android:lineSpacingExtra="1sp" android:maxLines="2" android:ellipsize="end" />