diff options
Diffstat (limited to 'res/layout-television/header.xml')
-rw-r--r-- | res/layout-television/header.xml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/res/layout-television/header.xml b/res/layout-television/header.xml new file mode 100644 index 00000000..56e35db7 --- /dev/null +++ b/res/layout-television/header.xml @@ -0,0 +1,47 @@ +<!-- + Copyright (C) 2016 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. +--> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="?attr/defaultBrandColor" + android:elevation="@dimen/lb_preference_decor_title_container_elevation" + android:orientation="vertical"> + + <FrameLayout + android:id="@+id/decor_title_container" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="?attr/defaultBrandColor" + android:elevation="@dimen/lb_preference_decor_title_container_elevation" + android:transitionGroup="false" + > + <TextView + android:id="@+id/decor_title" + android:layout_width="match_parent" + android:layout_height="@dimen/lb_preference_decor_title_text_height" + android:layout_marginTop="@dimen/lb_preference_decor_title_margin_top" + android:layout_marginStart="@dimen/lb_preference_decor_title_margin_start" + android:layout_marginEnd="@dimen/lb_preference_decor_title_margin_end" + android:fontFamily="sans-serif-condensed" + android:gravity="center_vertical" + android:singleLine="true" + android:textSize="@dimen/lb_preference_decor_title_text_size" + android:textColor="?android:attr/textColorPrimary" + /> + </FrameLayout> + +</LinearLayout> |