2015-07-02 22:36:06 +00:00
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
2014-11-20 10:57:28 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
2015-07-02 22:36:06 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingBottom="@dimen/large_margin"
|
|
|
|
android:paddingLeft="@dimen/large_margin"
|
|
|
|
android:paddingRight="@dimen/large_margin"
|
2014-11-20 10:57:28 +00:00
|
|
|
tools:context="fishrungames.bashgid.SettingsFragment" >
|
|
|
|
|
|
|
|
|
2015-07-02 10:49:20 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2014-11-20 10:57:28 +00:00
|
|
|
android:layout_height="wrap_content"
|
2015-07-02 10:49:20 +00:00
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/selectLanguageTextView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2015-07-02 22:36:06 +00:00
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:layout_marginBottom="@dimen/medium_margin"
|
|
|
|
android:layout_marginTop="@dimen/medium_margin"
|
2015-07-02 10:49:20 +00:00
|
|
|
android:text="@string/select_language"
|
2015-07-02 22:36:06 +00:00
|
|
|
android:textSize="@dimen/large_text_size" />
|
2015-07-02 10:49:20 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/flag_view"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-07-02 22:36:06 +00:00
|
|
|
android:layout_marginBottom="@dimen/medium_margin"
|
|
|
|
android:baselineAligned="false" >
|
2015-07-02 10:49:20 +00:00
|
|
|
|
|
|
|
<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:text="@string/lang_english"
|
2015-07-02 22:36:06 +00:00
|
|
|
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"
|
2015-07-02 22:36:06 +00:00
|
|
|
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
|
|
|
|
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:text="@string/lang_russian"
|
2015-07-02 22:36:06 +00:00
|
|
|
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"
|
2015-07-02 22:36:06 +00:00
|
|
|
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
|
|
|
|
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:text="@string/lang_chinese"
|
2015-07-02 22:36:06 +00:00
|
|
|
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"
|
2015-07-02 22:36:06 +00:00
|
|
|
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>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textView1"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2015-07-02 22:36:06 +00:00
|
|
|
android:layout_marginBottom="@dimen/medium_margin"
|
2015-07-02 10:49:20 +00:00
|
|
|
android:text="@string/credits"
|
2015-07-02 22:36:06 +00:00
|
|
|
android:textSize="@dimen/small_text_size" />
|
2015-07-02 10:49:20 +00:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/kitapImageView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
2015-07-02 22:36:06 +00:00
|
|
|
android:src="@drawable/kitap"
|
|
|
|
android:layout_marginBottom="@dimen/medium_margin" />
|
2015-07-02 10:49:20 +00:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/callSupportButton"
|
2015-07-02 22:36:06 +00:00
|
|
|
style="?android:attr/borderlessButtonStyle"
|
2015-07-02 10:49:20 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-07-05 11:03:52 +00:00
|
|
|
android:background="@color/button_default"
|
2015-07-02 22:36:06 +00:00
|
|
|
android:text="@string/call_support"
|
|
|
|
android:textSize="@dimen/small_text_size"
|
|
|
|
android:layout_marginBottom="@dimen/medium_margin"
|
|
|
|
/>
|
2015-07-02 10:49:20 +00:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/visitKitapButton"
|
2015-07-02 22:36:06 +00:00
|
|
|
style="?android:attr/borderlessButtonStyle"
|
2015-07-02 10:49:20 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-07-05 11:03:52 +00:00
|
|
|
android:background="@color/button_default"
|
2015-07-02 22:36:06 +00:00
|
|
|
android:text="@string/visit_kitap"
|
|
|
|
android:textSize="@dimen/small_text_size"
|
|
|
|
android:layout_marginBottom="@dimen/medium_margin" />
|
2015-07-02 10:49:20 +00:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/visitDeveloperButton"
|
2015-07-02 22:36:06 +00:00
|
|
|
style="?android:attr/borderlessButtonStyle"
|
2015-07-02 10:49:20 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-07-05 11:03:52 +00:00
|
|
|
android:background="@color/button_default"
|
2015-07-02 22:36:06 +00:00
|
|
|
android:text="@string/visit_developer"
|
|
|
|
android:textSize="@dimen/small_text_size"
|
|
|
|
android:layout_marginBottom="@dimen/medium_margin" />
|
2015-07-02 10:49:20 +00:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/visitTranslatorButton"
|
2015-07-02 22:36:06 +00:00
|
|
|
style="?android:attr/borderlessButtonStyle"
|
2015-07-02 10:49:20 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-07-05 11:03:52 +00:00
|
|
|
android:background="@color/button_default"
|
2015-07-02 22:36:06 +00:00
|
|
|
android:text="@string/visit_translator"
|
|
|
|
android:textSize="@dimen/small_text_size"
|
|
|
|
android:layout_marginBottom="@dimen/medium_margin" />
|
2015-07-02 10:49:20 +00:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</ScrollView>
|
2014-11-20 10:57:28 +00:00
|
|
|
|