aboutsummaryrefslogtreecommitdiff
path: root/res/layout/channel_tile.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/channel_tile.xml')
-rw-r--r--res/layout/channel_tile.xml83
1 files changed, 0 insertions, 83 deletions
diff --git a/res/layout/channel_tile.xml b/res/layout/channel_tile.xml
deleted file mode 100644
index 842b2c92..00000000
--- a/res/layout/channel_tile.xml
+++ /dev/null
@@ -1,83 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2014 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.ui.ChannelTileView xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/channel_tile"
- android:layout_width="192dp"
- android:layout_height="match_parent"
- android:layoutMode="opticalBounds"
- android:clipChildren="false"
- android:focusable="true"
- android:clickable="true">
-
- <ImageView android:id="@+id/program_poster_art"
- android:layout_width="@dimen/channel_tile_poster_art_width"
- android:layout_height="@dimen/channel_tile_poster_art_height"
- android:layout_gravity="top" />
-
- <LinearLayout android:id="@+id/channel_infos"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:background="@drawable/channel_tile_top" >
-
- <FrameLayout android:id="@+id/channel"
- android:layout_width="match_parent"
- android:layout_height="90dp">
-
- <ImageView android:id="@+id/channel_logo"
- android:layout_width="88dp"
- android:layout_height="52dp"
- android:layout_gravity="center" />
-
- <TextView android:id="@+id/channel_name"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginLeft="12dp"
- android:layout_marginRight="12dp"
- android:gravity="center"
- android:singleLine="false"
- android:maxLines="2"
- android:ellipsize="end"
- android:fontFamily="@string/condensed_font"
- android:textColor="@color/channel_tile_text_color"
- android:textSize="18sp" />
-
- <TextView android:id="@+id/channel_number"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="left|bottom"
- android:layout_marginLeft="12dp"
- android:layout_marginBottom="8dp"
- android:fontFamily="@string/condensed_font"
- android:textColor="@color/channel_tile_text_color"
- android:textSize="12sp" />
- </FrameLayout>
-
- <TextView android:id="@+id/program_name"
- android:layout_width="match_parent"
- android:layout_height="38dp"
- android:gravity="center_vertical"
- android:paddingLeft="12dp"
- android:paddingRight="12dp"
- android:singleLine="true"
- android:ellipsize="end"
- android:fontFamily="@string/condensed_font"
- android:textColor="@color/channel_tile_text_color"
- android:textSize="12sp"
- android:background="@drawable/channel_tile_bottom" />
- </LinearLayout>
-</com.android.tv.ui.ChannelTileView>