AntennaPod/res/layout/gpodnet_podcast_list.xml

45 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<GridView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/gridView"
android:stretchMode="columnWidth"
android:numColumns="auto_fit"
android:verticalSpacing="8dp"
android:horizontalSpacing="8dp"
android:gravity="center"
android:columnWidth="200dp"
tools:listitem="@layout/gpodnet_podcast_listitem"/>
<ProgressBar
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/progressBar"
android:layout_centerInParent="true"
android:indeterminateOnly="true"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/txtvError"
android:layout_centerInParent="true"
android:visibility="gone"
android:textAlignment="center"
android:layout_margin="16dp"
android:textSize="@dimen/text_size_small"/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/butRetry"
android:text="@string/retry_label"
android:layout_margin="16dp"
android:visibility="gone"
android:layout_centerHorizontal="true"
android:layout_below="@id/txtvError"/>
</RelativeLayout>