Xml文件  |  123行  |  6.03 KB

<?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.
  -->

<resources xmlns:android="http://schemas.android.com/apk/res/android">
    <style name="channel_banner_track_meta_text">
        <item name="android:layout_width">wrap_content</item>
        <item name="android:layout_height">12dp</item>
        <item name="android:layout_marginEnd">8dp</item>
        <item name="android:gravity">center</item>
        <item name="android:paddingStart">4dp</item>
        <item name="android:paddingEnd">4dp</item>
        <item name="android:textSize">@dimen/channel_banner_track_meta_text_size</item>
        <item name="android:textStyle">bold</item>
        <item name="android:fontFamily">sans-serif</item>
        <item name="android:textColor">#455A64</item>
        <item name="android:textAllCaps">true</item>
        <item name="android:background">@drawable/track_meta_border</item>
    </style>

    <style name="pin_dialog_animation" parent="@android:style/Animation.Activity">
        <item name="android:windowEnterAnimation">@anim/pin_dialog_enter</item>
        <item name="android:windowExitAnimation">@anim/pin_dialog_exit</item>
    </style>

    <style name="text_appearance_channel_banner_episode_title">
        <item name="android:textColor">@color/channel_banner_episode_text_color</item>
    </style>

    <style name="pin_number_view">
        <item name="android:layout_width">@dimen/pin_number_picker_text_view_width</item>
        <item name="android:layout_height">@dimen/pin_number_picker_text_view_height</item>
        <item name="android:gravity">center</item>
        <item name="android:textSize">@dimen/pin_number_picker_text_size</item>
        <item name="android:textColor">@color/pin_number_picker_text_color</item>
        <item name="android:fontFamily">@string/light_font</item>
    </style>

    <style name="menu_row_view">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:orientation">vertical</item>
        <item name="android:focusable">true</item>
        <item name="android:descendantFocusability">afterDescendants</item>
    </style>

    <!-- To maximize the height of the contents view, keep the height of the TextView as small as possible. -->
    <style name="menu_row_title_view">
        <item name="android:layout_width">@dimen/menu_row_title_width</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:layout_marginStart">@dimen/menu_padding_start</item>
        <item name="android:layout_marginEnd">@dimen/menu_padding_end</item>
        <item name="android:fontFamily">@string/condensed_font</item>
        <item name="android:textAlignment">gravity</item>
        <item name="android:gravity">start</item>
        <item name="android:textColor">@color/menu_row_title</item>
        <item name="android:textSize">@dimen/menu_row_title_text_size_deselected</item>
        <item name="android:transformPivotX">@dimen/menu_row_title_transform_pivot_x</item>
        <item name="android:alpha">@dimen/menu_row_title_alpha_deselected</item>
    </style>

    <style name="menu_row_contents_view">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">match_parent</item>
        <item name="android:paddingStart">@dimen/menu_padding_start</item>
        <item name="android:paddingEnd">@dimen/menu_padding_end</item>
        <item name="android:paddingTop">@dimen/menu_row_contents_padding_top</item>
    </style>

    <style name="Animation.SelectInputActivity" parent="android:Animation.Activity">
        <item name="android:windowEnterAnimation">@anim/select_input_activity_enter</item>
        <item name="android:windowExitAnimation">@anim/select_input_activity_exit</item>
    </style>

    <style name="TV.DoneButtonContainerStyle" parent="DoneButtonContainerStyle">
        <item name="android:background">@color/setup_done_button_container_background</item>
    </style>

    <style name="TV.HalfSizedDialogAnim" parent="android:Animation">
        <item name="android:windowEnterAnimation">@anim/half_sized_dialog_enter</item>
        <item name="android:windowExitAnimation">@anim/half_sized_dialog_exit</item>
    </style>

    <style name="TV.Dvr.GuidanceTitleStyle" parent="Widget.Setup.GuidanceTitleStyle">
        <item name="android:layout_toStartOf">@null</item>
        <item name="android:layout_alignParentTop">true</item>
        <item name="android:layout_marginTop">55dp</item>
        <item name="android:layout_width">match_parent</item>
        <item name="android:textSize">34sp</item>
        <item name="android:fontFamily">@string/light_font</item>
        <item name="android:gravity">start</item>
    </style>

    <style name="TV.Dvr.GuidanceDescriptionStyle" parent="Widget.Setup.GuidanceDescriptionStyle">
        <item name="android:layout_width">match_parent</item>
        <item name="android:fontFamily">@string/light_font</item>
        <item name="android:textColor">#ADEEEEEE</item>
        <item name="android:gravity">start</item>
    </style>

    <style name="TV.Dvr.GuidedActionsListStyle" parent="Widget.Setup.GuidedActionsListStyle">
        <item name="android:layout_marginTop">51dp</item>
    </style>

    <style name="TV.Dvr.GuidedActionItemContainerStyle" parent="Widget.Setup.GuidedActionItemContainerStyle">
        <item name="android:layout_height">45dp</item>
        <item name="android:layout_marginTop">7dp</item>
    </style>
</resources>