OLD | NEW |
---|---|
(Empty) | |
1 <?xml version="1.0" encoding="utf-8"?> | |
2 <!-- | |
3 Copyright 2017 The Chromium Authors. All rights reserved. | |
4 Use of this source code is governed by a BSD-style license that can be | |
5 found in the LICENSE file. | |
6 --> | |
7 | |
8 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
9 android:layout_width="match_parent" | |
10 android:layout_height="wrap_content" | |
11 android:focusable="true" | |
12 android:clickable="true" | |
13 android:gravity="center" | |
14 android:background="?android:attr/selectableItemBackground" | |
15 android:orientation="vertical"> | |
Theresa
2017/04/04 15:48:33
nit: remove android:orientation since this is a Re
Finnur
2017/04/04 18:05:36
Ooh! File-be-gone!
(Removed it, not needed).
| |
16 | |
17 <ImageView | |
18 android:id="@+id/bitmap" | |
19 android:layout_width="match_parent" | |
20 android:layout_height="match_parent" | |
21 android:contentDescription="@null" | |
22 android:scaleType="centerCrop" /> | |
23 | |
24 <ImageView | |
25 android:id="@+id/selected" | |
26 android:layout_width="wrap_content" | |
27 android:layout_height="wrap_content" | |
28 android:paddingStart="10dp" | |
29 android:paddingTop="10dp" | |
30 android:contentDescription="@null" | |
31 android:visibility="gone" /> | |
32 | |
33 <ImageView | |
34 android:id="@+id/unselected" | |
35 android:layout_width="wrap_content" | |
36 android:layout_height="wrap_content" | |
37 android:paddingStart="10dp" | |
38 android:paddingTop="10dp" | |
39 android:contentDescription="@null" | |
40 android:visibility="gone" /> | |
41 | |
42 </RelativeLayout> | |
OLD | NEW |