bashgid/android/res/layout/main_page_news.xml

133 lines
4.9 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"
2014-11-12 03:34:24 +00:00
android:paddingLeft="20dp"
android:paddingRight="20dp"
2014-11-05 05:00:15 +00:00
tools:context="fishrungames.bashgid.MainPageFragment" >
<TextView
android:id="@+id/selectLanguageTextView"
2014-11-05 05:00:15 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_margin="8dp"
2014-11-12 03:34:24 +00:00
android:text="@string/news_header"
2014-11-05 05:00:15 +00:00
android:textSize="24sp"
android:textStyle="bold" />
2015-06-25 19:00:11 +00:00
<ProgressBar
android:id="@+id/progressBar"
style="?android:attr/progressBarStyleLarge"
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_gravity="center_horizontal"
android:indeterminate="true" />
2014-11-05 05:00:15 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2014-11-12 03:34:24 +00:00
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp" >
2014-11-05 05:00:15 +00:00
2014-11-13 08:17:13 +00:00
<ImageButton
android:id="@+id/news1ImageButton"
2014-11-05 05:00:15 +00:00
android:layout_width="wrap_content"
2015-06-25 19:00:11 +00:00
android:layout_height="match_parent"
android:layout_gravity="center_vertical|left"
android:adjustViewBounds="true"
2014-11-13 08:17:13 +00:00
android:background="@drawable/transparent"
2015-06-25 19:00:11 +00:00
android:contentDescription="@string/news_content_description"
android:maxWidth="40dp"
android:scaleType="centerInside" />
2014-11-05 05:00:15 +00:00
2014-11-13 08:17:13 +00:00
<Button
android:id="@+id/news1Button"
2014-11-05 05:00:15 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2014-11-12 03:34:24 +00:00
android:layout_gravity="center_vertical"
2014-11-13 08:17:13 +00:00
android:layout_marginLeft="8dp"
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"
2014-11-12 03:34:24 +00:00
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp" >
2014-11-05 05:00:15 +00:00
2014-11-13 08:17:13 +00:00
<ImageButton
android:id="@+id/news2ImageButton"
2014-11-05 05:00:15 +00:00
android:layout_width="wrap_content"
2015-06-25 19:00:11 +00:00
android:layout_height="match_parent"
2014-11-12 03:34:24 +00:00
android:layout_gravity="center_vertical"
2015-06-25 19:00:11 +00:00
android:adjustViewBounds="true"
2014-11-13 08:17:13 +00:00
android:background="@drawable/transparent"
2015-06-25 19:00:11 +00:00
android:contentDescription="@string/news_content_description"
android:maxWidth="40dp"
android:scaleType="centerInside" />
2014-11-05 05:00:15 +00:00
2014-11-13 08:17:13 +00:00
<Button
android:id="@+id/news2Button"
2014-11-05 05:00:15 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2014-11-12 03:34:24 +00:00
android:layout_gravity="center_vertical"
2014-11-13 08:17:13 +00:00
android:layout_marginLeft="8dp"
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"
2014-11-12 03:34:24 +00:00
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp" >
2014-11-05 05:00:15 +00:00
2014-11-13 08:17:13 +00:00
<ImageButton
android:id="@+id/news3ImageButton"
2014-11-05 05:00:15 +00:00
android:layout_width="wrap_content"
2015-06-25 19:00:11 +00:00
android:layout_height="match_parent"
2014-11-12 03:34:24 +00:00
android:layout_gravity="center_vertical"
2015-06-25 19:00:11 +00:00
android:adjustViewBounds="true"
2014-11-13 08:17:13 +00:00
android:background="@drawable/transparent"
2015-06-25 19:00:11 +00:00
android:contentDescription="@string/news_content_description"
android:maxWidth="40dp"
android:scaleType="centerInside" />
2014-11-05 05:00:15 +00:00
2014-11-13 08:17:13 +00:00
<Button
android:id="@+id/news3Button"
2014-11-05 05:00:15 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2014-11-12 03:34:24 +00:00
android:layout_gravity="center_vertical"
2014-11-13 08:17:13 +00:00
android:layout_marginLeft="8dp"
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-02 08:36:51 +00:00
android:background="@drawable/transparent"
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