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

Unified Diff: chrome/android/webapk/shell_apk/res/layout/choose_host_browser_dialog_list.xml

Issue 2858563004: Add support for webapk without runtimeHost (Closed)
Patch Set: Nits. 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 side-by-side diff with in-line comments
Download patch
Index: chrome/android/webapk/shell_apk/res/layout/choose_host_browser_dialog_list.xml
diff --git a/chrome/android/webapk/shell_apk/res/layout/choose_host_browser_dialog_list.xml b/chrome/android/webapk/shell_apk/res/layout/choose_host_browser_dialog_list.xml
new file mode 100644
index 0000000000000000000000000000000000000000..a500a1fe673e24f0bcac2ccbbe714754cafb0b29
--- /dev/null
+++ b/chrome/android/webapk/shell_apk/res/layout/choose_host_browser_dialog_list.xml
@@ -0,0 +1,28 @@
+<?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"
+ xmlns:tools="http://schemas.android.com/tools"
+ tools:ignore="UseCompoundDrawables"
+ android:orientation="horizontal"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+
+ <ImageView
+ android:id="@+id/browser_icon"
+ android:contentDescription="@null"
+ android:layout_width="48dp"
+ android:layout_height="48dp"
+ android:paddingStart="20dp"
+ android:layout_gravity="start" />
+
+ <TextView
+ android:id="@+id/browser_name"
+ android:paddingStart="20dp"
+ android:layout_gravity="center"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content" />
+</LinearLayout>

Powered by Google App Engine
This is Rietveld 408576698