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

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: Polish Created 3 years, 9 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 2016 The Chromium Authors. All rights reserved.
Theresa 2017/03/21 15:37:00 s/2016/2017
Finnur 2017/03/27 16:50:41 Done.
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">
16
17 <ImageView
18 android:id="@+id/bitmap"
19 android:layout_width="match_parent"
20 android:layout_height="match_parent"
21 android:contentDescription="@string/clear_cookies_and_site_data_title"
Theresa 2017/03/21 15:37:00 This string is just a placeholder, right? Will you
Finnur 2017/03/27 16:50:41 Not really a placeholder. I used another string to
22 android:scaleType="centerCrop" />
23
24 <ImageView
25 android:id="@+id/selected"
Theresa 2017/03/21 15:36:59 Is this for the selected background? If so, select
Finnur 2017/03/27 16:50:41 Done.
26 android:layout_width="wrap_content"
27 android:layout_height="wrap_content"
28 android:paddingStart="10dp"
29 android:paddingTop="10dp"
30 android:contentDescription="@string/clear_cookies_and_site_data_title"
31 android:visibility="gone" />
32 <ImageView
Theresa 2017/03/21 15:37:00 nit: blank line before this ImageView
Finnur 2017/03/27 16:50:41 Done.
33 android:id="@+id/unselected"
34 android:layout_width="wrap_content"
35 android:layout_height="wrap_content"
36 android:paddingStart="10dp"
37 android:paddingTop="10dp"
38 android:contentDescription="@string/clear_cookies_and_site_data_title"
39 android:visibility="gone" />
40
41 </RelativeLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698