| 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 --> |
| 7 |
| 6 <android.support.design.widget.CoordinatorLayout | 8 <android.support.design.widget.CoordinatorLayout |
| 7 xmlns:android="http://schemas.android.com/apk/res/android" | 9 xmlns:android="http://schemas.android.com/apk/res/android" |
| 8 xmlns:app="http://schemas.android.com/apk/res-auto" | 10 xmlns:app="http://schemas.android.com/apk/res-auto" |
| 9 android:layout_width="match_parent" | 11 android:layout_width="match_parent" |
| 10 android:layout_height="match_parent"> | 12 android:layout_height="match_parent"> |
| 11 | 13 |
| 12 <android.support.design.widget.AppBarLayout | 14 <android.support.design.widget.AppBarLayout |
| 13 android:layout_width="match_parent" | 15 android:layout_width="match_parent" |
| 14 android:layout_height="wrap_content" | 16 android:layout_height="wrap_content" |
| 15 android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"> | 17 android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"> |
| 16 | 18 |
| 19 <!-- RTL is handled manually in ClearBrowsingDataTabsFragment because |
| 20 it is not working correctly with a ViewPager --> |
| 17 <android.support.design.widget.TabLayout | 21 <android.support.design.widget.TabLayout |
| 18 android:id="@+id/clear_browsing_data_tabs" | 22 android:id="@+id/clear_browsing_data_tabs" |
| 23 android:layoutDirection="ltr" |
| 19 android:layout_width="match_parent" | 24 android:layout_width="match_parent" |
| 20 android:layout_height="wrap_content" | 25 android:layout_height="wrap_content" |
| 21 app:tabMode="fixed" | 26 app:tabMode="fixed" |
| 22 app:tabGravity="fill" /> | 27 app:tabGravity="fill" /> |
| 23 | 28 |
| 24 </android.support.design.widget.AppBarLayout> | 29 </android.support.design.widget.AppBarLayout> |
| 25 | 30 |
| 26 <android.support.v4.view.ViewPager | 31 <android.support.v4.view.ViewPager |
| 27 android:id="@+id/clear_browsing_data_viewpager" | 32 android:id="@+id/clear_browsing_data_viewpager" |
| 28 android:layout_width="match_parent" | 33 android:layout_width="match_parent" |
| 29 android:layout_height="match_parent" | 34 android:layout_height="match_parent" |
| 30 app:layout_behavior="@string/appbar_scrolling_view_behavior" /> | 35 app:layout_behavior="@string/appbar_scrolling_view_behavior" /> |
| 31 </android.support.design.widget.CoordinatorLayout> | 36 </android.support.design.widget.CoordinatorLayout> |
| OLD | NEW |