summaryrefslogtreecommitdiff
path: root/res/layout/gpodnet_podcast_list.xml
blob: 0112754eedb0a46b25bb810952b7557a4f3fecd2 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?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>