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 */
14ac5fe7c617c66850fff75a9fce9979c6e5674b0fAurimas Liutikaspackage androidx.leanback.widget;
1547520b68e50572a9775a662410c5aff8300c8784Craig Stout
1691a1951cc2eba1dd7b68e7bc422d92e453bd1825Mihai Popaimport android.content.Context;
1747520b68e50572a9775a662410c5aff8300c8784Craig Stoutimport android.util.AttributeSet;
1847520b68e50572a9775a662410c5aff8300c8784Craig Stoutimport android.widget.TextView;
1947520b68e50572a9775a662410c5aff8300c8784Craig Stout
208619e0ef7062b6a714f22af993e4b440fae7ef08Aurimas Liutikasimport androidx.leanback.R;
218619e0ef7062b6a714f22af993e4b440fae7ef08Aurimas Liutikas
2247520b68e50572a9775a662410c5aff8300c8784Craig Stout/**
23cb13a318e577e14461eb008071dddf762847de42Dake Gu * RowHeaderView is a header text view.
2447520b68e50572a9775a662410c5aff8300c8784Craig Stout */
25cb13a318e577e14461eb008071dddf762847de42Dake Gupublic final class RowHeaderView extends TextView {
2647520b68e50572a9775a662410c5aff8300c8784Craig Stout
27cb13a318e577e14461eb008071dddf762847de42Dake Gu    public RowHeaderView(Context context) {
2847520b68e50572a9775a662410c5aff8300c8784Craig Stout        this(context, null);
2947520b68e50572a9775a662410c5aff8300c8784Craig Stout    }
3047520b68e50572a9775a662410c5aff8300c8784Craig Stout
31cb13a318e577e14461eb008071dddf762847de42Dake Gu    public RowHeaderView(Context context, AttributeSet attrs) {
328fac6554640f547c0efd98e67ca2d659172468bbDake Gu        this(context, attrs, R.attr.rowHeaderStyle);
3347520b68e50572a9775a662410c5aff8300c8784Craig Stout    }
3447520b68e50572a9775a662410c5aff8300c8784Craig Stout
35cb13a318e577e14461eb008071dddf762847de42Dake Gu    public RowHeaderView(Context context, AttributeSet attrs, int defStyle) {
3647520b68e50572a9775a662410c5aff8300c8784Craig Stout        super(context, attrs, defStyle);
3747520b68e50572a9775a662410c5aff8300c8784Craig Stout    }
3847520b68e50572a9775a662410c5aff8300c8784Craig Stout
3947520b68e50572a9775a662410c5aff8300c8784Craig Stout}
40