session-android/res/layout/giphy_thumbnail.xml

25 lines
1.0 KiB
XML
Raw Normal View History

2016-10-16 19:05:07 -07:00
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:tools="http://schemas.android.com/tools">
<org.thoughtcrime.securesms.giph.ui.AspectRatioImageView
android:id="@+id/thumbnail"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY" />
<ProgressBar android:id="@+id/gif_progress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:indeterminate="true"
2020-01-14 16:05:31 +11:00
android:indeterminateTint="@color/accent"
android:indeterminateTintMode="src_in"
2016-10-16 19:05:07 -07:00
android:visibility="gone"
tools:visibility="visible"
android:layout_gravity="center"
android:gravity="center"/>
</FrameLayout>