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

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

Issue 1332063003: permissions: implement coalesced permissions on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@request-multiple
Patch Set: Bring CL up to scratch with mocks Created 5 years, 3 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/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>

Powered by Google App Engine
This is Rietveld 408576698