Chromium Code Reviews| 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..113a7f34d89db70913ea8142b9151cde8676a5b1 |
| --- /dev/null |
| +++ b/chrome/android/webapk/shell_apk/res/layout/choose_host_browser_dialog_list.xml |
| @@ -0,0 +1,27 @@ |
| +<?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 |
|
Ted C
2017/06/05 18:24:48
FYI, you could likely use a framelayout here if yo
Xi Han
2017/06/05 20:30:02
Agree, I feel having two views is more easy to rea
|
| + xmlns:android="http://schemas.android.com/apk/res/android" |
| + 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="20dip" |
| + android:layout_gravity="start" /> |
| + |
| + <TextView |
| + android:id="@+id/browser_name" |
| + android:paddingStart="20dip" |
|
Ted C
2017/06/05 18:24:48
s/dip/dp
Xi Han
2017/06/05 20:30:02
Done.
|
| + android:textColor="@color/item_selection_text_color" |
| + android:layout_gravity="center" |
| + android:layout_width="fill_parent" |
| + android:layout_height="wrap_content" /> |
| +</LinearLayout> |