bashgid/android/res/layout/fragment_welcome.xml

118 lines
4.7 KiB
XML
Raw Normal View History

2014-10-23 16:58:47 +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-25 02:03:46 +00:00
android:background="@drawable/background"
2014-10-23 16:58:47 +00:00
android:orientation="vertical"
android:padding="@dimen/large_margin"
2014-10-23 16:58:47 +00:00
tools:context="fishrungames.bashgid.WelcomeFragment" >
<ImageView
android:id="@+id/logo_view"
android:layout_width="match_parent"
android:layout_height="@dimen/logo_height"
android:layout_marginTop="@dimen/logo_margin_top"
2014-10-23 16:58:47 +00:00
android:contentDescription="@string/RB_Coat"
android:scaleType="fitCenter"
android:src="@drawable/logo" />
<LinearLayout
android:id="@+id/flag_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
2015-07-02 08:36:51 +00:00
android:layout_gravity="bottom"
2015-07-02 10:49:20 +00:00
android:baselineAligned="false"
2015-07-02 08:36:51 +00:00
android:gravity="bottom" >
2014-10-23 16:58:47 +00:00
2015-07-02 10:49:20 +00:00
<LinearLayout
2014-10-23 16:58:47 +00:00
android:layout_width="wrap_content"
2015-07-02 10:49:20 +00:00
android:layout_height="match_parent"
2014-10-23 16:58:47 +00:00
android:layout_weight="1"
2015-07-02 10:49:20 +00:00
android:orientation="vertical" >
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="@string/lang_english"
android:textSize="@dimen/language_text_size" />
2015-07-02 10:49:20 +00:00
<ImageButton
android:id="@+id/image_flag_usa"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_margin="@dimen/medium_margin"
2015-07-02 10:49:20 +00:00
android:adjustViewBounds="true"
android:background="@drawable/transparent"
android:contentDescription="@string/lang_english"
android:onClick="OnSelectEnglish"
android:scaleType="fitCenter"
android:src="@drawable/united_states_icon_button" />
</LinearLayout>
<LinearLayout
2014-10-23 16:58:47 +00:00
android:layout_width="wrap_content"
2015-07-02 10:49:20 +00:00
android:layout_height="match_parent"
2014-10-23 16:58:47 +00:00
android:layout_weight="1"
2015-07-02 10:49:20 +00:00
android:orientation="vertical" >
<TextView
android:id="@+id/TextView01"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="@string/lang_russian"
android:textSize="@dimen/language_text_size" />
2015-07-02 10:49:20 +00:00
<ImageButton
android:id="@+id/image_flag_russia"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_margin="@dimen/medium_margin"
2015-07-02 10:49:20 +00:00
android:adjustViewBounds="true"
android:background="@drawable/transparent"
android:contentDescription="@string/lang_russian"
android:onClick="OnSelectRussian"
android:scaleType="fitCenter"
android:src="@drawable/russia_icon_button" />
</LinearLayout>
<LinearLayout
2014-10-23 16:58:47 +00:00
android:layout_width="wrap_content"
2015-07-02 10:49:20 +00:00
android:layout_height="match_parent"
2014-10-23 16:58:47 +00:00
android:layout_weight="1"
2015-07-02 10:49:20 +00:00
android:orientation="vertical" >
<TextView
android:id="@+id/TextView02"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="@string/lang_chinese"
android:textSize="@dimen/language_text_size" />
2015-07-02 10:49:20 +00:00
<ImageButton
android:id="@+id/image_flag_china"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_margin="@dimen/medium_margin"
2015-07-02 10:49:20 +00:00
android:adjustViewBounds="true"
android:background="@drawable/transparent"
android:contentDescription="@string/lang_chinese"
android:onClick="OnSelectChinese"
android:scaleType="fitCenter"
android:src="@drawable/china_icon_button" />
</LinearLayout>
2014-10-23 16:58:47 +00:00
</LinearLayout>
</LinearLayout>