Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Side by Side Diff: chrome/android/java/res/layout/tabular_context_menu.xml

Issue 2960743002: Adding animations for view pager transitions (Closed)
Patch Set: Addressing final comments. Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/contextmenu/TabularContextMenuViewPager.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <FrameLayout 5 <FrameLayout
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/context_menu_frame_layout" 8 android:id="@+id/context_menu_frame_layout"
9 android:background="@color/modal_dialog_scrim_color" > 9 android:background="@color/modal_dialog_scrim_color" >
10 10
11 <org.chromium.chrome.browser.contextmenu.TabularContextMenuViewPager 11 <org.chromium.chrome.browser.contextmenu.TabularContextMenuViewPager
12 android:id="@+id/custom_pager" 12 android:id="@+id/custom_pager"
13 android:background="@drawable/white_with_rounded_corners"
14 android:layout_width="wrap_content" 13 android:layout_width="wrap_content"
15 android:layout_height="wrap_content" 14 android:layout_height="wrap_content"
16 android:layout_marginTop="20dp" 15 android:layout_marginTop="20dp"
17 android:layout_marginBottom="20dp" 16 android:layout_marginBottom="20dp"
18 android:minWidth="280dp" 17 android:minWidth="280dp"
19 android:layout_gravity="center"> 18 android:layout_gravity="center">
20 19
21 <!-- tabMaxWidth is required otherwise tabGravity will have no effect wh en the context menu 20 <!-- tabMaxWidth is required otherwise tabGravity will have no effect wh en the context menu
22 gets too large. --> 21 gets too large. -->
23 <android.support.design.widget.TabLayout 22 <android.support.design.widget.TabLayout
24 android:id="@+id/tab_layout" 23 android:id="@+id/tab_layout"
25 android:layout_width="wrap_content" 24 android:layout_width="wrap_content"
26 android:layout_height="wrap_content" 25 android:layout_height="wrap_content"
27 android:background="@color/google_grey_100" 26 android:background="@color/google_grey_100"
28 app:tabTextColor="@color/black_alpha_54" 27 app:tabTextColor="@color/black_alpha_54"
29 app:tabSelectedTextColor="@color/light_active_color" 28 app:tabSelectedTextColor="@color/light_active_color"
30 app:tabIndicatorColor="@color/light_active_color" 29 app:tabIndicatorColor="@color/light_active_color"
31 app:tabGravity="fill" 30 app:tabGravity="fill"
32 app:tabMode="fixed" 31 app:tabMode="fixed"
33 app:tabMaxWidth="2000dp" /> 32 app:tabMaxWidth="2000dp" />
34 </org.chromium.chrome.browser.contextmenu.TabularContextMenuViewPager> 33 </org.chromium.chrome.browser.contextmenu.TabularContextMenuViewPager>
35 </FrameLayout> 34 </FrameLayout>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/contextmenu/TabularContextMenuViewPager.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698