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

Unified Diff: chrome/android/java/res/layout/tabular_context_menu_page.xml

Issue 2751333006: Create the base Custom Context Menu Dialog. (Closed)
Patch Set: git rebase 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 side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/res/layout/tabular_context_menu_page.xml
diff --git a/chrome/android/java/res/layout/tabular_context_menu_page.xml b/chrome/android/java/res/layout/tabular_context_menu_page.xml
new file mode 100644
index 0000000000000000000000000000000000000000..fcf462960b64322e86f16e82a25fa787d33a4864
--- /dev/null
+++ b/chrome/android/java/res/layout/tabular_context_menu_page.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2017 The Chromium Authors. All rights reserved.
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file. -->
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/content_layer"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:minWidth="280dp"
+ android:orientation="vertical">
+ <TextView
+ android:id="@+id/context_header_text"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="20dp"
+ android:layout_marginBottom="10dp"
+ android:layout_marginStart="20dp"
+ android:layout_marginEnd="20dp"
+ android:gravity="center"
+ android:maxLines="1"
+ android:textSize="13sp"
+ android:textStyle="bold"
+ android:ellipsize="end"
+ android:visibility="gone"/>
+ <View
+ android:id="@+id/context_divider"
+ android:layout_width="match_parent"
+ android:layout_height="1dp"
+ android:background="#1e000000"/>
+ <ListView
+ android:id="@+id/selectable_items"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingTop="8dp"
+ android:paddingBottom="8dp"
+ android:dividerHeight="0dp"
+ android:divider="@null"/>
+</LinearLayout>
« no previous file with comments | « chrome/android/java/res/layout/tabular_context_menu.xml ('k') | chrome/android/java/res/layout/tabular_context_menu_row.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698