| <?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. |
| --> |
| |
| <LinearLayout 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.AppBarLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content"> |
| |
| <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> |
| |
| </android.support.design.widget.AppBarLayout> |
| |
| <FrameLayout |
| android:id="@+id/content_container" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:paddingTop="16dp"/> |
| </LinearLayout> |