Index: chrome/android/java/res/layout/permission_group_infobar_item.xml |
diff --git a/chrome/android/java/res/layout/permission_group_infobar_item.xml b/chrome/android/java/res/layout/permission_group_infobar_item.xml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cd7b38742731a2c6d28bdcb25c0fe6ef1c56b30b |
--- /dev/null |
+++ b/chrome/android/java/res/layout/permission_group_infobar_item.xml |
@@ -0,0 +1,39 @@ |
+<?xml version="1.0" encoding="utf-8"?> |
+<!-- |
+ Copyright 2015 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" |
gone
2015/09/18 21:02:42
After talking with Rebecca about this, we'll want
Lalit Maganti
2015/09/21 11:20:08
Acknowledged.
|
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" |
+ android:orientation="horizontal" |
+ android:padding="8dp" > |
+ |
+ <ImageView |
+ android:id="@+id/permission_group_infobar_item_icon" |
+ android:contentDescription="@null" |
+ android:layout_width="28dp" |
+ android:layout_height="28dp" |
+ android:layout_gravity="center_vertical" |
+ android:layout_marginEnd="8dp" /> |
+ |
+ <TextView |
+ android:id="@+id/permission_group_infobar_item_text" |
+ android:text="@string/password_entry_editor_title" |
+ android:textColor="@color/default_text_color" |
+ android:textSize="14sp" |
+ android:layout_width="0dp" |
+ android:layout_height="wrap_content" |
+ android:layout_gravity="center_vertical" |
+ android:layout_weight="1" /> |
+ |
+ <Switch |
+ android:id="@+id/permission_group_infobar_item_switch" |
+ android:checked="true" |
+ android:layout_marginStart="16dp" |
+ android:layout_width="wrap_content" |
+ android:layout_height="wrap_content" |
+ android:layout_gravity="center_vertical" /> |
+</LinearLayout> |