blob: a7fe6315a7086134be985588ce53967226e055a9 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2018 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<android.support.design.widget.TabLayout
android:id="@+id/tabs"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:tabMaxWidth="0dp"
app:tabMode="fixed"
app:tabGravity="fill"
app:tabTextColor="@color/default_text_color_tertiary"
app:tabSelectedTextColor="@color/tab_layout_selected_tab_color"
android:background="@color/modern_primary_color">
<android.support.design.widget.TabItem
android:id="@+id/files_tab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/download_manager_files_tab"/>
<android.support.design.widget.TabItem
android:id="@+id/prefetch_tab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/ntp_article_suggestions_section_header"/>
</android.support.design.widget.TabLayout>
<FrameLayout
android:id="@+id/content_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/tabs"
android:paddingTop="16dp"/>
<ImageView
style="@style/TabBarLineShadow"
android:layout_below="@+id/tabs"
android:importantForAccessibility="no"/>
</RelativeLayout>