Welcome to mirror list, hosted at ThFree Co, Russian Federation.

item_attachment_image.xml « layout « res « main « src « app - github.com/stefan-niedermann/nextcloud-deck.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3b41a9fe8f81f878b5423e8fd43203d7b0e25d35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="utf-8"?>

<it.niedermann.nextcloud.deck.ui.view.SquareRelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <androidx.appcompat.widget.AppCompatImageView
        android:id="@+id/preview"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_gravity="center"
        android:scaleType="centerCrop"
        app:srcCompat="@drawable/ic_image_grey600_24dp" />

    <androidx.appcompat.widget.AppCompatImageView
        android:id="@+id/not_synced_yet"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentEnd="true"
        android:layout_alignParentBottom="true"
        android:translationX="-8dp"
        android:translationY="-8dp"
        android:visibility="gone"
        app:srcCompat="@drawable/ic_sync_blue_24dp"
        tools:visibility="visible" />
</it.niedermann.nextcloud.deck.ui.view.SquareRelativeLayout>