You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
2.3 KiB

<?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.
-->
<!-- NOTE: When the height of KeypadChannelSwitchView is changed,
please update @dimen/keypad_channel_switch_base_height, too. -->
<!-- All info banners have the same id for use by TvTransitionManager. -->
<com.android.tv.ui.KeypadChannelSwitchView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:lb="http://schemas.android.com/apk/res-auto"
android:id="@+id/scene_transition_common"
android:orientation="vertical"
android:layout_width="260dp"
android:layout_height="wrap_content"
android:layout_gravity="start|top"
android:layout_marginStart="56dp"
android:layout_marginTop="27dp"
android:paddingTop="16dp"
android:paddingBottom="8dp"
android:elevation="8dp"
android:background="@drawable/info_banner_background">
<TextView
android:id="@+id/channel_number"
android:layout_width="match_parent"
android:layout_height="76dp"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:layout_marginTop="@dimen/keypad_channel_switch_channel_number_margin_top"
android:layout_marginBottom="6.5dp"
android:fontFamily="@string/thin_font"
android:textColor="@color/keypad_channel_switch_text_color"
android:textSize="@dimen/keypad_channel_switch_channel_number_text_size" />
<ListView
android:id="@+id/channel_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:listSelector="#33FFFFFF"
android:divider="@null"
android:dividerHeight="0dp"
android:clickable="true" />
</com.android.tv.ui.KeypadChannelSwitchView>