1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-15 19:27:31 +00:00
BarInsta/app/src/main/res/layout/item_media.xml
Ammar Githam 343b2cf9d7 Update DM module. (WIP)
Remove left over images


DM update (WIP)

Update DM module. (WIP)


Update DM module. (WIP)
2021-01-02 11:54:32 +09:00

39 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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="wrap_content"
android:clickable="true"
android:focusable="true"
android:foreground="?android:selectableItemBackground">
<com.facebook.drawee.view.SimpleDraweeView
android:id="@+id/item"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:actualImageScaleType="centerCrop"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:viewAspectRatio="1" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/duration"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:layout_marginBottom="4dp"
android:background="@drawable/rounder_corner_semi_black_bg"
android:paddingStart="8dp"
android:paddingEnd="8dp"
android:textAppearance="@style/TextAppearance.MaterialComponents.Caption"
android:textColor="@color/white"
android:textStyle="bold"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
tools:text="1:01"
tools:visibility="visible" />
</androidx.constraintlayout.widget.ConstraintLayout>