1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2015 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<resources> 19 <declare-styleable name="CurrentProgramState" > 20 <attr name="state_current_program" format="boolean" /> 21 </declare-styleable> 22 <declare-styleable name="ProgramTooWideState" > 23 <attr name="state_program_too_wide" format="boolean" /> 24 </declare-styleable> 25 <!-- XML attributes that describe the 26 {@link com.android.tv.dvr.ui.FadeBackground FadeBackground} transition. The 27 attributes of the {@link android.R.styleable#Transition Transition} resource are available 28 in addition to the specific attributes of FadeBackground described here. --> 29 <declare-styleable name="FadeBackground"> 30 <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only with the 31 FadeBackground transition. --> 32 <attr name="fadingMode"> 33 <!-- FadeBackground will only fade appearing items in. --> 34 <enum name="fade_in" value="1" /> 35 <!-- FadeBackground will only fade disappearing items out. --> 36 <enum name="fade_out" value="2" /> 37 </attr> 38 </declare-styleable> 39 40 <!-- XML attributes that describe the 41 {@link com.android.tv.menu.widget.PlaybackProgressBar PlaybackProgressBar} widget. 42 The attributes of the {@link com.android.internal.R.styleable.View View} resources are 43 available in addition to the specific attributes of PlaybackProgressBar described here. --> 44 <declare-styleable name="PlaybackProgressBar"> 45 <!-- Drawable used for the progress mode. --> 46 <attr name="progressDrawable" format="reference" /> 47 </declare-styleable> 48</resources> 49