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

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: 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"?>
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:layout_marginTop="20dp"
15 android:layout_marginStart="20dp"
16 android:layout_marginEnd="20dp"
17 android:layout_width="wrap_content"
18 android:layout_height="wrap_content"
19 android:layout_marginBottom="10dp"
20 android:layout_gravity="center">
21 <TextView
22 android:id="@+id/context_header_text"
23 android:layout_width="match_parent"
24 android:layout_height="wrap_content"
25 android:gravity="center"
26 android:maxLines="1"
27 android:textSize="13sp"
28 android:textStyle="bold"
29 android:ellipsize="end"
30 android:visibility="gone"/>
31 <ImageView
32 android:id="@+id/context_header_image"
33 android:layout_width="wrap_content"
34 android:layout_height="wrap_content"
35 android:layout_gravity="center"
36 android:contentDescription="@string/context_menu_header_image_defaul t_desc_text"
37 android:background="@drawable/custom_context_menu_checkerboard_image _background"
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:layout_width="match_parent"
45 android:layout_height="1dp"
46 android:background="#1e000000"/>
47
48 <ListView
49 android:id="@+id/selectable_items"
50 android:layout_width="match_parent"
51 android:layout_height="wrap_content"
52 android:paddingTop="8dp"
53 android:paddingBottom="8dp"
54 android:dividerHeight="0dp"
55 android:divider="@null"/>
56 </LinearLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698