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

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

Issue 2868403003: added scale animation for context menu (Closed)
Patch Set: fixing broken tests Created 3 years, 6 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
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 <org.chromium.chrome.browser.contextmenu.TabularContextMenuViewPager 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/custom_pager" 8 android:id="@+id/context_menu_frame_layout"
9 android:layout_width="wrap_content" 9 android:background="@color/modal_dialog_scrim_color" >
10 android:layout_height="wrap_content" 10
11 android:layout_marginTop="20dp" 11 <org.chromium.chrome.browser.contextmenu.TabularContextMenuViewPager
12 android:layout_marginBottom="20dp" 12 android:id="@+id/custom_pager"
13 android:minWidth="280dp"> 13 android:background="@drawable/white_with_rounded_corners"
14 <android.support.design.widget.TabLayout 14 android:layout_width="wrap_content"
15 android:id="@+id/tab_layout"
16 android:layout_width="match_parent"
17 android:layout_height="wrap_content" 15 android:layout_height="wrap_content"
18 android:background="@color/google_grey_100" 16 android:layout_marginTop="20dp"
19 app:tabTextColor="#80000000" 17 android:layout_marginBottom="20dp"
20 app:tabSelectedTextColor="@color/light_active_color" 18 android:minWidth="280dp"
21 app:tabIndicatorColor="@color/light_active_color" 19 android:layout_gravity="center">
22 app:tabGravity="fill" 20
23 app:tabMaxWidth="0dp" 21 <!-- tabMaxWidth is required otherwise tabGravity will have no effect wh en the context menu
24 app:tabMode="fixed" /> 22 gets too large. -->
25 </org.chromium.chrome.browser.contextmenu.TabularContextMenuViewPager> 23 <android.support.design.widget.TabLayout
24 android:id="@+id/tab_layout"
25 android:layout_width="wrap_content"
26 android:layout_height="wrap_content"
27 android:background="@color/google_grey_100"
28 app:tabTextColor="@color/black_alpha_54"
29 app:tabSelectedTextColor="@color/light_active_color"
30 app:tabIndicatorColor="@color/light_active_color"
31 app:tabGravity="fill"
32 app:tabMode="fixed"
33 app:tabMaxWidth="2000dp" />
34 </org.chromium.chrome.browser.contextmenu.TabularContextMenuViewPager>
35 </FrameLayout>
OLDNEW
« no previous file with comments | « chrome/android/java/res/drawable/grey_with_top_rounded_corners.xml ('k') | chrome/android/java/res/values/dimens.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698