blob: b64746c19d8c8179552660c79504e7db90fc260c [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2017 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. -->
<!-- Layout used by ClearBrowsingDataTabsFragment -->
<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="match_parent"
android:orientation="vertical">
<!-- RTL is handled manually in ClearBrowsingDataTabsFragment because
it is not working correctly with a ViewPager -->
<android.support.design.widget.TabLayout
android:id="@+id/clear_browsing_data_tabs"
android:layoutDirection="ltr"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:tabTextColor="@color/default_text_color_tertiary"
app:tabSelectedTextColor="@color/tab_layout_selected_tab_color"
app:tabMode="fixed"
app:tabMaxWidth="0dp"
app:tabGravity="fill"/>
<android.support.v4.view.ViewPager
android:id="@+id/clear_browsing_data_viewpager"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/clear_browsing_data_tabs"
app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
<ImageView
style="@style/TabBarShadow"
android:layout_below="@id/clear_browsing_data_tabs"
android:importantForAccessibility="no"/>
</RelativeLayout>