tt-rss-android/org.fox.ttrss/src/main/res/layout/article_images_image.xml

30 lines
1.0 KiB
XML
Raw Normal View History

<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/flavorImageHolder"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:visibility="invisible"
android:text="@string/error_loading_image"
android:id="@+id/flavor_image_error" />
<ProgressBar
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:id="@+id/flavor_image_progress" />
<org.fox.ttrss.util.EnlargingImageView
android:id="@+id/flavor_image"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:layout_gravity="center"
android:scaleType="centerInside"
android:visibility="visible" />
</FrameLayout>