2014-10-16 20:06:56 +00:00
|
|
|
<?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" >
|
|
|
|
|
2014-10-24 09:21:15 +00:00
|
|
|
<android.support.v7.widget.RecyclerView
|
2014-10-16 20:06:56 +00:00
|
|
|
android:id="@+id/headlines"
|
2014-10-24 09:21:15 +00:00
|
|
|
android:scrollbars="vertical"
|
2014-10-16 20:06:56 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:paddingTop="3dp"
|
|
|
|
android:layout_height="match_parent" >
|
2014-10-24 09:21:15 +00:00
|
|
|
</android.support.v7.widget.RecyclerView>
|
2014-10-16 20:06:56 +00:00
|
|
|
</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>
|
|
|
|
|
2013-05-28 08:55:21 +00:00
|
|
|
</FrameLayout>
|