Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <?xml version="1.0" encoding="utf-8"?> | |
|
Theresa
2016/05/12 20:22:41
Instead of making this a generic list row, I think
dmurph
2016/05/13 23:46:22
Done.
| |
| 2 <!-- Copyright 2016 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 <RelativeLayout | |
| 7 xmlns:android="http://schemas.android.com/apk/res/android" | |
| 8 android:layout_width="match_parent" | |
| 9 android:layout_height="wrap_content" | |
| 10 android:minHeight="?attr/listPreferredItemHeightSmall" | |
| 11 android:padding="5dp"> | |
| 12 <CheckBox | |
| 13 android:id="@+id/icon_row_checkbox" | |
| 14 android:layout_width="wrap_content" | |
| 15 android:layout_height="wrap_content" | |
|
Theresa
2016/05/12 20:22:41
Should this height be match_parent so that it does
dmurph
2016/05/13 23:46:22
match_parent is fine.
| |
| 16 android:layout_alignParentStart="true" | |
| 17 android:layout_toStartOf="@+id/icon_row_image" | |
| 18 android:textAppearance="?android:attr/textAppearanceMedium" | |
| 19 android:layout_centerVertical="true" | |
| 20 android:textColor="?attr/textColorAlertDialogListItem"/> | |
| 21 <ImageView | |
| 22 android:id="@+id/icon_row_image" | |
| 23 android:layout_width="wrap_content" | |
| 24 android:layout_height="wrap_content" | |
|
Theresa
2016/05/12 20:22:41
I think this should be match_parent
dmurph
2016/05/13 23:46:22
done.
| |
| 25 android:layout_alignParentEnd="true" | |
| 26 android:layout_centerVertical="true" | |
| 27 android:padding="5dp" /> | |
|
Theresa
2016/05/12 20:22:41
If the size of the icon doesn't exactly match the
dmurph
2016/05/13 23:46:22
done.
| |
| 28 </RelativeLayout> | |
| OLD | NEW |