summaryrefslogtreecommitdiff
path: root/res/layout/headlines_fragment.xml
blob: 4be9fe5b6169eefd97974f73f8a7cb95be349717 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" encoding="utf-8" ?>

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent" android:id="@+id/headlines_fragment">
    <LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android">
        <ListView android:layout_weight="1"  android:background="#fafafa"
        android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/headlines"></ListView>
    </LinearLayout>

     <TextView android:id="@+id/no_headlines"
     	android:visibility="invisible"    	
    	android:layout_gravity="center" 
    	android:textAppearance="?android:attr/textAppearanceLarge" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/no_headlines"></TextView>

    </FrameLayout>