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

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

Issue 2751333006: Create the base Custom Context Menu Dialog. (Closed)
Patch Set: Updated tests and header Created 3 years, 9 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
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
Ted C 2017/03/24 04:32:53 maybe context_menu_page.xml is a better name for t
JJ 2017/03/25 01:40:25 Done.
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
4 found in the LICENSE file. -->
5 <LinearLayout
6 xmlns:android="http://schemas.android.com/apk/res/android"
7 android:id="@+id/content_layer"
8 android:layout_width="match_parent"
9 android:layout_height="match_parent"
10 android:minWidth="280dp"
11 android:orientation="vertical">
12
13 <FrameLayout
14 android:id="@+id/context_header_frame_layout"
15 android:layout_marginTop="20dp"
16 android:layout_marginStart="20dp"
17 android:layout_marginEnd="20dp"
18 android:layout_width="wrap_content"
19 android:layout_height="wrap_content"
20 android:layout_marginBottom="10dp"
21 android:layout_gravity="center">
22 <TextView
23 android:id="@+id/context_header_text"
24 android:layout_width="match_parent"
25 android:layout_height="wrap_content"
26 android:gravity="center"
27 android:maxLines="1"
28 android:textSize="13sp"
29 android:textStyle="bold"
30 android:ellipsize="end"
31 android:visibility="gone"/>
32 <ImageView
33 android:id="@+id/context_header_image"
34 android:layout_width="wrap_content"
35 android:layout_height="wrap_content"
36 android:layout_gravity="center"
37 android:contentDescription="@string/context_menu_header_image_defaul t_desc_text"
38 android:foreground="@drawable/custom_context_menu_image_border"
39 android:minWidth="54dp"
40 android:minHeight="54dp"
41 android:visibility="gone"/>
42 </FrameLayout>
43 <View
44 android:id="@+id/context_divider"
45 android:layout_width="match_parent"
46 android:layout_height="1dp"
47 android:background="#1e000000"/>
48
49 <ListView
50 android:id="@+id/selectable_items"
51 android:layout_width="match_parent"
52 android:layout_height="wrap_content"
53 android:paddingTop="8dp"
54 android:paddingBottom="8dp"
55 android:dividerHeight="0dp"
56 android:divider="@null"/>
57 </LinearLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698