175 lines
7.5 KiB
XML
175 lines
7.5 KiB
XML
<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"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
|
tools:context="fishrungames.bashgid.SettingsFragment" >
|
|
|
|
<ScrollView
|
|
android:id="@+id/scrollView1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" >
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical" >
|
|
|
|
<TextView
|
|
android:id="@+id/selectLanguageTextView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="8dp"
|
|
android:layout_marginTop="8dp"
|
|
android:text="@string/select_language"
|
|
android:textSize="26sp" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/flag_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="8dp" >
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical" >
|
|
|
|
<TextView
|
|
android:id="@+id/TextView01"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_weight="1"
|
|
android:text="@string/lang_english"
|
|
android:textSize="20sp" />
|
|
|
|
<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="8dp"
|
|
android:layout_weight="1"
|
|
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
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical" >
|
|
|
|
<TextView
|
|
android:id="@+id/textView3"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_weight="1"
|
|
android:text="@string/lang_russian"
|
|
android:textSize="20sp" />
|
|
|
|
<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="8dp"
|
|
android:layout_weight="1"
|
|
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
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical" >
|
|
|
|
<TextView
|
|
android:id="@+id/TextView02"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_weight="1"
|
|
android:text="@string/lang_chinese"
|
|
android:textSize="20sp" />
|
|
|
|
<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="8dp"
|
|
android:layout_weight="1"
|
|
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>
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/textView1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="8dp"
|
|
android:text="@string/credits"
|
|
android:textSize="18sp" />
|
|
|
|
<ImageView
|
|
android:id="@+id/kitapImageView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:src="@drawable/kitap" />
|
|
|
|
<Button
|
|
android:id="@+id/callSupportButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/call_support" />
|
|
|
|
<Button
|
|
android:id="@+id/visitKitapButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/visit_kitap" />
|
|
|
|
<Button
|
|
android:id="@+id/visitDeveloperButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/visit_developer" />
|
|
|
|
<Button
|
|
android:id="@+id/visitTranslatorButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/visit_translator" />
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</LinearLayout>
|