diff options
author | Andrew Dolgov <[email protected]> | 2014-10-17 00:06:56 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2014-10-17 00:06:56 +0400 |
commit | 97cc96839d31b6cce59ec29a6681c6fe802552ee (patch) | |
tree | 9f3b8df270095bc65c10cd7208d05b3dad4794b9 /orgfoxttrss/src/main/res/layout/headlines_fragment.xml | |
parent | 5775c0d56b7c856b508bb34e478eef53c2460624 (diff) |
initial
Diffstat (limited to 'orgfoxttrss/src/main/res/layout/headlines_fragment.xml')
-rw-r--r-- | orgfoxttrss/src/main/res/layout/headlines_fragment.xml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/orgfoxttrss/src/main/res/layout/headlines_fragment.xml b/orgfoxttrss/src/main/res/layout/headlines_fragment.xml new file mode 100644 index 00000000..63f7f856 --- /dev/null +++ b/orgfoxttrss/src/main/res/layout/headlines_fragment.xml @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="utf-8"?> +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/headlines_fragment" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + + <android.support.v4.widget.SwipeRefreshLayout + android:id="@+id/headlines_swipe_container" + android:layout_width="match_parent" + android:layout_height="match_parent" > + + <ListView + android:id="@+id/headlines" + android:layout_width="match_parent" + android:layoutAnimation="@anim/layout_headline" + android:dividerHeight="0dp" + android:divider="@null" + android:paddingTop="3dp" + android:layout_height="match_parent" > + </ListView> + </android.support.v4.widget.SwipeRefreshLayout> + + <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> + + <TextView + android:id="@+id/no_headlines" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:text="@string/no_headlines" + android:textAppearance="?android:attr/textAppearanceLarge" + android:visibility="invisible" > + </TextView> + +</FrameLayout>
\ No newline at end of file |