| OLD | NEW |
| 1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2017 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2017 The Chromium Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. --> | 4 found in the LICENSE file. --> |
| 5 | 5 |
| 6 <!-- Layout used by ClearBrowsingDataTabsFragment --> | 6 <!-- Layout used by ClearBrowsingDataTabsFragment --> |
| 7 | 7 |
| 8 <android.support.design.widget.CoordinatorLayout | 8 <android.support.design.widget.CoordinatorLayout |
| 9 xmlns:android="http://schemas.android.com/apk/res/android" | 9 xmlns:android="http://schemas.android.com/apk/res/android" |
| 10 xmlns:app="http://schemas.android.com/apk/res-auto" | 10 xmlns:app="http://schemas.android.com/apk/res-auto" |
| 11 android:layout_width="match_parent" | 11 android:layout_width="match_parent" |
| 12 android:layout_height="match_parent"> | 12 android:layout_height="match_parent"> |
| 13 | 13 |
| 14 <android.support.design.widget.AppBarLayout | 14 <android.support.design.widget.AppBarLayout |
| 15 android:layout_width="match_parent" | 15 android:layout_width="match_parent" |
| 16 android:layout_height="wrap_content" | 16 android:layout_height="wrap_content" |
| 17 android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"> | 17 android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"> |
| 18 | 18 |
| 19 <!-- RTL is handled manually in ClearBrowsingDataTabsFragment because | 19 <!-- RTL is handled manually in ClearBrowsingDataTabsFragment because |
| 20 it is not working correctly with a ViewPager --> | 20 it is not working correctly with a ViewPager --> |
| 21 <android.support.design.widget.TabLayout | 21 <android.support.design.widget.TabLayout |
| 22 android:id="@+id/clear_browsing_data_tabs" | 22 android:id="@+id/clear_browsing_data_tabs" |
| 23 android:layoutDirection="ltr" | 23 android:layoutDirection="ltr" |
| 24 android:layout_width="match_parent" | 24 android:layout_width="match_parent" |
| 25 android:layout_height="wrap_content" | 25 android:layout_height="wrap_content" |
| 26 app:tabMode="fixed" | 26 app:tabMode="fixed" |
| 27 app:tabMaxWidth="0dp" |
| 27 app:tabGravity="fill" /> | 28 app:tabGravity="fill" /> |
| 28 | 29 |
| 29 </android.support.design.widget.AppBarLayout> | 30 </android.support.design.widget.AppBarLayout> |
| 30 | 31 |
| 31 <android.support.v4.view.ViewPager | 32 <android.support.v4.view.ViewPager |
| 32 android:id="@+id/clear_browsing_data_viewpager" | 33 android:id="@+id/clear_browsing_data_viewpager" |
| 33 android:layout_width="match_parent" | 34 android:layout_width="match_parent" |
| 34 android:layout_height="match_parent" | 35 android:layout_height="match_parent" |
| 35 app:layout_behavior="@string/appbar_scrolling_view_behavior" /> | 36 app:layout_behavior="@string/appbar_scrolling_view_behavior" /> |
| 36 </android.support.design.widget.CoordinatorLayout> | 37 </android.support.design.widget.CoordinatorLayout> |
| OLD | NEW |