bashgid/android/res/layout/main_page_news.xml

120 lines
4.5 KiB
XML
Raw Normal View History

2014-11-05 05:00:15 +00:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
2014-11-12 03:34:24 +00:00
android:background="@color/bkg1"
2014-11-05 05:00:15 +00:00
android:orientation="vertical"
tools:context="fishrungames.bashgid.MainPageFragment" >
2015-07-05 11:03:52 +00:00
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical|center_horizontal"
android:orientation="horizontal" >
2014-11-05 05:00:15 +00:00
<TextView
android:id="@+id/selectLanguageTextView"
2014-11-05 05:00:15 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2015-07-05 11:03:52 +00:00
android:layout_gravity="center_vertical|center_horizontal"
android:layout_margin="@dimen/medium_margin"
2014-11-12 03:34:24 +00:00
android:text="@string/news_header"
android:textSize="@dimen/large_text_size"
2014-11-05 05:00:15 +00:00
android:textStyle="bold" />
2015-07-05 11:03:52 +00:00
<ImageButton
android:id="@+id/refreshNewsButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical|center_horizontal"
2015-07-08 00:11:08 +00:00
android:background="@color/button_default"
2015-07-05 11:03:52 +00:00
android:src="@drawable/ic_action_refresh" />
</LinearLayout>
2015-06-25 19:00:11 +00:00
<ProgressBar
2015-07-05 11:03:52 +00:00
android:id="@+id/newsDownloadProgressBar"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:indeterminate="false"
android:max="100"
android:progress="0" />
2015-06-25 19:00:11 +00:00
2014-11-05 05:00:15 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/medium_margin"
android:layout_marginTop="@dimen/medium_margin" >
2014-11-05 05:00:15 +00:00
2014-11-13 08:17:13 +00:00
<Button
android:id="@+id/news1Button"
2015-07-02 10:49:20 +00:00
android:layout_width="match_parent"
2014-11-05 05:00:15 +00:00
android:layout_height="wrap_content"
2014-11-12 03:34:24 +00:00
android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/medium_margin"
2015-07-05 11:03:52 +00:00
android:layout_marginRight="@dimen/medium_margin"
2014-11-13 08:17:13 +00:00
android:background="@drawable/transparent_button"
android:gravity="left|center_vertical"
android:minHeight="0dp"
android:minWidth="0dp"
android:textColor="@color/text_grey" />
2014-11-05 05:00:15 +00:00
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/medium_margin"
android:layout_marginTop="@dimen/medium_margin" >
2014-11-05 05:00:15 +00:00
2014-11-13 08:17:13 +00:00
<Button
android:id="@+id/news2Button"
2015-07-02 10:49:20 +00:00
android:layout_width="match_parent"
2014-11-05 05:00:15 +00:00
android:layout_height="wrap_content"
2014-11-12 03:34:24 +00:00
android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/medium_margin"
2015-07-05 11:03:52 +00:00
android:layout_marginRight="@dimen/medium_margin"
2014-11-13 08:17:13 +00:00
android:background="@drawable/transparent_button"
android:gravity="left|center_vertical"
android:minHeight="0dp"
android:minWidth="0dp"
android:textColor="@color/text_grey" />
2014-11-05 05:00:15 +00:00
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/medium_margin"
android:layout_marginTop="@dimen/medium_margin" >
2014-11-05 05:00:15 +00:00
2014-11-13 08:17:13 +00:00
<Button
android:id="@+id/news3Button"
2015-07-02 10:49:20 +00:00
android:layout_width="match_parent"
2014-11-05 05:00:15 +00:00
android:layout_height="wrap_content"
2014-11-12 03:34:24 +00:00
android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/medium_margin"
2015-07-05 11:03:52 +00:00
android:layout_marginRight="@dimen/medium_margin"
2014-11-13 08:17:13 +00:00
android:background="@drawable/transparent_button"
android:gravity="left|center_vertical"
android:minHeight="0dp"
android:minWidth="0dp"
android:textColor="@color/text_grey" />
2014-11-05 05:00:15 +00:00
</LinearLayout>
<Button
android:id="@+id/moreNewsButton"
2015-07-02 08:36:51 +00:00
style="?android:attr/borderlessButtonStyle"
2014-11-05 05:00:15 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
2015-07-05 11:03:52 +00:00
android:layout_margin="@dimen/medium_margin"
android:background="@color/button_default"
android:padding="@dimen/medium_margin"
2014-11-12 03:34:24 +00:00
android:text="@string/other_news" />
2014-11-05 05:00:15 +00:00
</LinearLayout>
2014-11-13 01:52:15 +00:00