48 lines
1.7 KiB
XML
48 lines
1.7 KiB
XML
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
android:id="@+id/main"
|
||
|
android:layout_width="fill_parent"
|
||
|
android:layout_height="fill_parent"
|
||
|
android:orientation="vertical" >
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/loading_container"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:background="?loadingBackground"
|
||
|
android:gravity="center"
|
||
|
android:orientation="vertical"
|
||
|
android:visibility="visible" >
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/loading_message"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:gravity="center_horizontal"
|
||
|
android:text="@string/loading_message"
|
||
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/fragment_container"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:orientation="vertical" >
|
||
|
|
||
|
<FrameLayout
|
||
|
android:id="@+id/headlines_fragment"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="0dp"
|
||
|
android:layout_weight="0.3"
|
||
|
android:background="?headlinesBackgroundSolid" >
|
||
|
</FrameLayout>
|
||
|
|
||
|
<FrameLayout
|
||
|
android:id="@+id/article_fragment"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="0dp"
|
||
|
android:layout_weight="0.7"
|
||
|
android:background="?articleBackground" >
|
||
|
</FrameLayout>
|
||
|
</LinearLayout>
|
||
|
|
||
|
</LinearLayout>
|