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

Side by Side Diff: chrome/android/java/res/layout/bitmap_list_row.xml

Issue 2758313002: Implement the new Photo picker, part two. (Closed)
Patch Set: Address feedback Created 3 years, 8 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 unified diff | Download patch
OLDNEW
(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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698