OLD | NEW |
---|---|
(Empty) | |
1 <?xml version="1.0" encoding="utf-8"?> | |
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | |
3 Use of this source code is governed by a BSD-style license that can be | |
4 found in the LICENSE file. --> | |
5 | |
6 <LinearLayout | |
7 xmlns:android="http://schemas.android.com/apk/res/android" | |
8 android:layout_width="wrap_content" | |
9 android:layout_height="wrap_content" | |
10 android:padding="8dp" | |
11 android:orientation="horizontal" > | |
12 <ImageView | |
13 android:id="@+id/profile_image" | |
14 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.
| |
15 android:layout_width="32dp" | |
16 android:layout_height="32dp" | |
17 android:contentDescription="@null"/> | |
18 <LinearLayout | |
19 android:layout_width="wrap_content" | |
20 android:layout_height="wrap_content" | |
21 android:layout_gravity="center_vertical" | |
22 android:layout_margin="8dp" | |
23 android:orientation="vertical"> | |
24 <TextView | |
25 android:id="@+id/username" | |
26 android:layout_width="wrap_content" | |
27 android:layout_height="wrap_content" | |
28 android:ellipsize="end" | |
29 android:singleLine="true" | |
30 android:textAppearance="?android:attr/textAppearanceMedium"/> | |
31 <TextView | |
32 android:id="@+id/display_name" | |
33 android:layout_width="wrap_content" | |
34 android:layout_height="wrap_content" | |
35 android:ellipsize="end" | |
36 android:singleLine="true" | |
37 android:textAppearance="?android:attr/textAppearanceSmall"/> | |
38 </LinearLayout> | |
39 </LinearLayout> | |
OLD | NEW |