summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout/cats_fragment.xml
blob: 4216ebb28ce5763baad7635143a87e1e9bec361c (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
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/cats_fragment.xml"
    android:layout_width="match_parent"
    android:layout_height="fill_parent" >

    <LinearLayout
        android:id="@+id/loading_container"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:gravity="center" >

        <TextView
            android:id="@+id/loading_message"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textAppearance="?android:attr/textAppearanceLarge" >
        </TextView>
    </LinearLayout>

    <android.support.v4.widget.SwipeRefreshLayout 
    	android:id="@+id/feeds_swipe_container"
    	android:layout_width="match_parent"
    	android:layout_height="match_parent" >
    
	    <ListView
	        android:id="@+id/feeds"
	        android:layoutAnimation="@anim/layout_feeds"
	        android:layout_width="match_parent"
	        android:layout_height="match_parent" >
	    </ListView>
	</android.support.v4.widget.SwipeRefreshLayout>
	    
    <TextView
        android:id="@+id/no_feeds"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:text="@string/no_feeds"
        android:textAppearance="?android:attr/textAppearanceLarge"
        android:visibility="invisible" >
    </TextView>

</FrameLayout>