Index: chrome/android/java/res/layout/bitmap_list_row.xml |
diff --git a/chrome/android/java/res/layout/bitmap_list_row.xml b/chrome/android/java/res/layout/bitmap_list_row.xml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..816bc35adecd84d7b3678af486288047c670839a |
--- /dev/null |
+++ b/chrome/android/java/res/layout/bitmap_list_row.xml |
@@ -0,0 +1,42 @@ |
+<?xml version="1.0" encoding="utf-8"?> |
+<!-- |
+ Copyright 2017 The Chromium Authors. All rights reserved. |
+ Use of this source code is governed by a BSD-style license that can be |
+ found in the LICENSE file. |
+--> |
+ |
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" |
+ android:focusable="true" |
+ android:clickable="true" |
+ android:gravity="center" |
+ android:background="?android:attr/selectableItemBackground" |
+ android:orientation="vertical"> |
+ |
+ <ImageView |
+ android:id="@+id/bitmap" |
+ android:layout_width="match_parent" |
+ android:layout_height="match_parent" |
+ android:contentDescription="@null" |
+ android:scaleType="centerCrop" /> |
+ |
+ <ImageView |
+ android:id="@+id/selected" |
+ android:layout_width="wrap_content" |
+ android:layout_height="wrap_content" |
+ android:paddingStart="10dp" |
+ android:paddingTop="10dp" |
+ android:contentDescription="@null" |
+ android:visibility="gone" /> |
+ |
+ <ImageView |
+ android:id="@+id/unselected" |
+ android:layout_width="wrap_content" |
+ android:layout_height="wrap_content" |
+ android:paddingStart="10dp" |
+ android:paddingTop="10dp" |
+ android:contentDescription="@null" |
+ android:visibility="gone" /> |
+ |
+</RelativeLayout> |