Chromium Code Reviews| Index: chrome/android/java/res/layout/account_chooser_infobar_item.xml |
| diff --git a/chrome/android/java/res/layout/account_chooser_infobar_item.xml b/chrome/android/java/res/layout/account_chooser_infobar_item.xml |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..83deb84af1ec907d2e63b4247620c8d9a59c95d2 |
| --- /dev/null |
| +++ b/chrome/android/java/res/layout/account_chooser_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" |
| + android:layout_width="wrap_content" |
| + android:layout_height="wrap_content" |
| + android:padding="8dp" |
| + android:orientation="horizontal" > |
| + <ImageView |
| + android:id="@+id/profile_image" |
| + android:layout_gravity="center_vertical" |
|
newt (away)
2015/02/19 21:48:02
nit: put layout_width and layout_height before lay
melandory
2015/02/19 22:36:50
Done.
|
| + android:layout_width="32dp" |
| + android:layout_height="32dp" |
| + android:contentDescription="@null"/> |
| + <LinearLayout |
| + android:layout_width="wrap_content" |
| + android:layout_height="wrap_content" |
| + android:layout_gravity="center_vertical" |
| + android:layout_margin="8dp" |
| + android:orientation="vertical"> |
| + <TextView |
| + android:id="@+id/username" |
| + android:layout_width="wrap_content" |
| + android:layout_height="wrap_content" |
| + android:ellipsize="end" |
| + android:singleLine="true" |
| + android:textAppearance="?android:attr/textAppearanceMedium"/> |
| + <TextView |
| + android:id="@+id/display_name" |
| + android:layout_width="wrap_content" |
| + android:layout_height="wrap_content" |
| + android:ellipsize="end" |
| + android:singleLine="true" |
| + android:textAppearance="?android:attr/textAppearanceSmall"/> |
| + </LinearLayout> |
| +</LinearLayout> |