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 <!-- 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 xmlns:chrome="http://schemas.android.com/apk/res-auto" |
| 13 android:layout_width="wrap_content" |
| 14 android:layout_height="wrap_content" |
| 15 android:background="@color/file_picker_tile_bg_color"> |
| 16 |
| 17 <RelativeLayout |
| 18 android:layout_width="wrap_content" |
| 19 android:layout_height="wrap_content" |
| 20 android:focusable="true"> |
| 21 |
| 22 <FrameLayout |
| 23 android:id="@+id/border" |
| 24 android:layout_width="wrap_content" |
| 25 android:layout_height="wrap_content"> |
| 26 |
| 27 <ImageView |
| 28 android:id="@+id/bitmap_view" |
| 29 android:layout_width="wrap_content" |
| 30 android:layout_height="wrap_content" |
| 31 android:contentDescription="@null" /> |
| 32 </FrameLayout> |
| 33 |
| 34 <!-- Special tiles, that give access to the camera and gallery --> |
| 35 <TextView |
| 36 android:id="@+id/special_tile" |
| 37 android:layout_width="match_parent" |
| 38 android:layout_height="wrap_content" |
| 39 android:layout_marginTop="@dimen/file_picker_label_gap" |
| 40 android:drawablePadding="10dp" |
| 41 android:fontFamily="sans-serif-medium" |
| 42 android:textStyle="bold" |
| 43 android:textSize="14sp" |
| 44 android:textAllCaps="true" |
| 45 android:textColor="@color/file_picker_special_tile_color" |
| 46 android:gravity="center" |
| 47 android:layout_centerInParent="true" /> |
| 48 |
| 49 </RelativeLayout> |
| 50 </view> |
OLD | NEW |