147520b68e50572a9775a662410c5aff8300c8784Craig Stout/* 247520b68e50572a9775a662410c5aff8300c8784Craig Stout * Copyright (C) 2014 The Android Open Source Project 347520b68e50572a9775a662410c5aff8300c8784Craig Stout * 447520b68e50572a9775a662410c5aff8300c8784Craig Stout * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except 547520b68e50572a9775a662410c5aff8300c8784Craig Stout * in compliance with the License. You may obtain a copy of the License at 647520b68e50572a9775a662410c5aff8300c8784Craig Stout * 747520b68e50572a9775a662410c5aff8300c8784Craig Stout * http://www.apache.org/licenses/LICENSE-2.0 847520b68e50572a9775a662410c5aff8300c8784Craig Stout * 947520b68e50572a9775a662410c5aff8300c8784Craig Stout * Unless required by applicable law or agreed to in writing, software distributed under the License 1047520b68e50572a9775a662410c5aff8300c8784Craig Stout * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express 1147520b68e50572a9775a662410c5aff8300c8784Craig Stout * or implied. See the License for the specific language governing permissions and limitations under 1247520b68e50572a9775a662410c5aff8300c8784Craig Stout * the License. 1347520b68e50572a9775a662410c5aff8300c8784Craig Stout */ 1447520b68e50572a9775a662410c5aff8300c8784Craig Stoutpackage android.support.v17.leanback.widget; 1547520b68e50572a9775a662410c5aff8300c8784Craig Stout 1647520b68e50572a9775a662410c5aff8300c8784Craig Stoutimport android.support.v17.leanback.R; 1747520b68e50572a9775a662410c5aff8300c8784Craig Stoutimport android.content.Context; 1847520b68e50572a9775a662410c5aff8300c8784Craig Stoutimport android.util.AttributeSet; 1947520b68e50572a9775a662410c5aff8300c8784Craig Stoutimport android.widget.TextView; 2047520b68e50572a9775a662410c5aff8300c8784Craig Stout 2147520b68e50572a9775a662410c5aff8300c8784Craig Stout/** 22cb13a318e577e14461eb008071dddf762847de42Dake Gu * RowHeaderView is a header text view. 2347520b68e50572a9775a662410c5aff8300c8784Craig Stout */ 24cb13a318e577e14461eb008071dddf762847de42Dake Gupublic final class RowHeaderView extends TextView { 2547520b68e50572a9775a662410c5aff8300c8784Craig Stout 26cb13a318e577e14461eb008071dddf762847de42Dake Gu public RowHeaderView(Context context) { 2747520b68e50572a9775a662410c5aff8300c8784Craig Stout this(context, null); 2847520b68e50572a9775a662410c5aff8300c8784Craig Stout } 2947520b68e50572a9775a662410c5aff8300c8784Craig Stout 30cb13a318e577e14461eb008071dddf762847de42Dake Gu public RowHeaderView(Context context, AttributeSet attrs) { 318fac6554640f547c0efd98e67ca2d659172468bbDake Gu this(context, attrs, R.attr.rowHeaderStyle); 3247520b68e50572a9775a662410c5aff8300c8784Craig Stout } 3347520b68e50572a9775a662410c5aff8300c8784Craig Stout 34cb13a318e577e14461eb008071dddf762847de42Dake Gu public RowHeaderView(Context context, AttributeSet attrs, int defStyle) { 3547520b68e50572a9775a662410c5aff8300c8784Craig Stout super(context, attrs, defStyle); 3647520b68e50572a9775a662410c5aff8300c8784Craig Stout } 3747520b68e50572a9775a662410c5aff8300c8784Craig Stout 3847520b68e50572a9775a662410c5aff8300c8784Craig Stout} 39