diff options
| author | 2023-01-31 16:54:40 +0000 | |
|---|---|---|
| committer | 2023-01-31 16:54:40 +0000 | |
| commit | 87b60f339678674d5986e19cb084a1f9201ad2f2 (patch) | |
| tree | 8d05f708da2b245a88cf287c1a58b5d52c271964 /java/res/layout | |
| parent | f05c774e2af5d766b2ea561abb8a8b0d361cbe9c (diff) | |
| parent | 53d426f78b1702ae471ae57fc6818674f196954c (diff) | |
Merge "Simple scrollable image preview view" into tm-qpr-dev
Diffstat (limited to 'java/res/layout')
| -rw-r--r-- | java/res/layout/image_preview_image_item.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/java/res/layout/image_preview_image_item.xml b/java/res/layout/image_preview_image_item.xml new file mode 100644 index 00000000..3895b6b4 --- /dev/null +++ b/java/res/layout/image_preview_image_item.xml @@ -0,0 +1,24 @@ +<!-- + ~ Copyright (C) 2023 The Android Open Source Project + ~ + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License. + --> + +<com.android.intentresolver.widget.RoundedRectImageView + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/image" + android:layout_width="120dp" + android:layout_height="104dp" + android:layout_alignParentTop="true" + android:adjustViewBounds="false" + android:scaleType="centerCrop"/> |