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 <org.chromium.chrome.browser.contextmenu.TabularContextMenuViewPager | 5 <org.chromium.chrome.browser.contextmenu.TabularContextMenuViewPager |
6 xmlns:android="http://schemas.android.com/apk/res/android" | 6 xmlns:android="http://schemas.android.com/apk/res/android" |
7 xmlns:app="http://schemas.android.com/apk/res-auto" | 7 xmlns:app="http://schemas.android.com/apk/res-auto" |
8 android:id="@+id/custom_pager" | 8 android:id="@+id/custom_pager" |
9 android:layout_width="wrap_content" | 9 android:background="@drawable/white_with_rounded_corners" |
| 10 android:layout_width="match_parent" |
10 android:layout_height="wrap_content" | 11 android:layout_height="wrap_content" |
11 android:layout_marginTop="20dp" | 12 android:layout_marginTop="20dp" |
12 android:layout_marginBottom="20dp" | 13 android:layout_marginBottom="20dp" |
13 android:minWidth="280dp"> | 14 android:minWidth="280dp"> |
14 <android.support.design.widget.TabLayout | 15 <android.support.design.widget.TabLayout |
15 android:id="@+id/tab_layout" | 16 android:id="@+id/tab_layout" |
16 android:layout_width="match_parent" | 17 android:layout_width="wrap_content" |
17 android:layout_height="wrap_content" | 18 android:layout_height="wrap_content" |
18 android:background="@color/google_grey_100" | 19 android:background="@color/google_grey_100" |
19 app:tabTextColor="#80000000" | 20 app:tabTextColor="#80000000" |
20 app:tabSelectedTextColor="@color/light_active_color" | 21 app:tabSelectedTextColor="@color/light_active_color" |
21 app:tabIndicatorColor="@color/light_active_color" | 22 app:tabIndicatorColor="@color/light_active_color" |
22 app:tabGravity="fill" | 23 app:tabGravity="fill" |
23 app:tabMode="fixed" /> | 24 app:tabMode="fixed" |
| 25 app:tabMaxWidth="2000dp" /> |
24 </org.chromium.chrome.browser.contextmenu.TabularContextMenuViewPager> | 26 </org.chromium.chrome.browser.contextmenu.TabularContextMenuViewPager> |
OLD | NEW |