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

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

Issue 2758313002: Implement the new Photo picker, part two. (Closed)
Patch Set: Address Ted's comments (and sync to latest) 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
« no previous file with comments | « no previous file | chrome/android/java/res/layout/photo_picker_dialog.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <!-- Represents a single item in the Photo Picker. -->
9
10 <view class="org.chromium.chrome.browser.photo_picker.PickerBitmapView"
11 xmlns:android="http://schemas.android.com/apk/res/android"
12 android:layout_width="wrap_content"
13 android:layout_height="wrap_content"
14 android:background="@color/photo_picker_tile_bg_color">
15
16 <FrameLayout
17 android:id="@+id/border"
18 android:layout_width="wrap_content"
19 android:layout_height="wrap_content"
20 android:layout_gravity="center">
21
22 <ImageView
23 android:id="@+id/bitmap_view"
24 android:layout_width="wrap_content"
25 android:layout_height="wrap_content"
26 android:contentDescription="@null" />
27 </FrameLayout>
28
29 <!-- Special tiles, that give access to the camera and gallery -->
30 <TextView
31 android:id="@+id/special_tile"
32 android:layout_width="match_parent"
33 android:layout_height="wrap_content"
34 android:layout_marginTop="@dimen/photo_picker_label_gap"
35 android:drawablePadding="10dp"
36 android:fontFamily="sans-serif-medium"
37 android:textStyle="bold"
38 android:textSize="14sp"
39 android:textAllCaps="true"
40 android:textColor="@color/photo_picker_special_tile_color"
41 android:gravity="center"
42 android:layout_gravity="center" />
43 </view>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/res/layout/photo_picker_dialog.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698