|
|
|
@ -1,6 +1,5 @@
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
android:id="@+id/settings_scrollview"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
@ -11,205 +10,180 @@
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/settings_purchase_thank_you_holder"
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/settings_color_customization_label"
|
|
|
|
|
style="@style/SettingsSectionLabelStyle"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="@dimen/medium_margin"
|
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
|
android:paddingLeft="@dimen/normal_margin"
|
|
|
|
|
android:paddingTop="@dimen/activity_margin"
|
|
|
|
|
android:paddingRight="@dimen/normal_margin"
|
|
|
|
|
android:paddingBottom="@dimen/activity_margin">
|
|
|
|
|
android:text="@string/color_customization" />
|
|
|
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
|
|
|
android:id="@+id/settings_purchase_thank_you"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
|
android:paddingStart="@dimen/medium_margin"
|
|
|
|
|
android:text="@string/purchase_simple_thank_you" />
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/settings_customize_colors_holder"
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/settings_color_customization_holder"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="@dimen/medium_margin"
|
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
|
android:paddingLeft="@dimen/normal_margin"
|
|
|
|
|
android:paddingTop="@dimen/activity_margin"
|
|
|
|
|
android:paddingRight="@dimen/normal_margin"
|
|
|
|
|
android:paddingBottom="@dimen/activity_margin">
|
|
|
|
|
android:layout_margin="@dimen/medium_margin"
|
|
|
|
|
android:background="@drawable/section_holder_stroke"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
|
|
|
android:id="@+id/settings_customize_colors_label"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
|
android:paddingStart="@dimen/medium_margin"
|
|
|
|
|
android:text="@string/customize_colors" />
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/settings_customize_widget_colors_holder"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="@dimen/medium_margin"
|
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
|
android:paddingLeft="@dimen/normal_margin"
|
|
|
|
|
android:paddingTop="@dimen/activity_margin"
|
|
|
|
|
android:paddingRight="@dimen/normal_margin"
|
|
|
|
|
android:paddingBottom="@dimen/activity_margin">
|
|
|
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
|
|
|
android:id="@+id/settings_customize_widget_colors_label"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
|
android:paddingStart="@dimen/medium_margin"
|
|
|
|
|
android:text="@string/customize_widget_colors" />
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/settings_use_english_holder"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="@dimen/medium_margin"
|
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
|
android:paddingLeft="@dimen/normal_margin"
|
|
|
|
|
android:paddingTop="@dimen/activity_margin"
|
|
|
|
|
android:paddingRight="@dimen/normal_margin"
|
|
|
|
|
android:paddingBottom="@dimen/activity_margin">
|
|
|
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MySwitchCompat
|
|
|
|
|
android:id="@+id/settings_use_english"
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/settings_customize_colors_holder"
|
|
|
|
|
style="@style/SettingsHolderTextViewStyle"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="@null"
|
|
|
|
|
android:clickable="false"
|
|
|
|
|
android:paddingStart="@dimen/medium_margin"
|
|
|
|
|
android:text="@string/use_english_language"
|
|
|
|
|
app:switchPadding="@dimen/medium_margin" />
|
|
|
|
|
android:background="@drawable/ripple_top_corners">
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
|
|
|
android:id="@+id/settings_customize_colors_label"
|
|
|
|
|
style="@style/SettingsLeftLabelStyle"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/customize_colors" />
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/settings_turn_flashlight_on_holder"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="@dimen/medium_margin"
|
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
|
android:paddingLeft="@dimen/normal_margin"
|
|
|
|
|
android:paddingTop="@dimen/activity_margin"
|
|
|
|
|
android:paddingRight="@dimen/normal_margin"
|
|
|
|
|
android:paddingBottom="@dimen/activity_margin">
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MySwitchCompat
|
|
|
|
|
android:id="@+id/settings_turn_flashlight_on"
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/settings_customize_widget_colors_holder"
|
|
|
|
|
style="@style/SettingsHolderTextViewStyle"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="@null"
|
|
|
|
|
android:clickable="false"
|
|
|
|
|
android:paddingStart="@dimen/medium_margin"
|
|
|
|
|
android:text="@string/turn_flashlight_on"
|
|
|
|
|
app:switchPadding="@dimen/medium_margin" />
|
|
|
|
|
android:background="@drawable/ripple_bottom_corners">
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
|
|
|
android:id="@+id/settings_customize_widget_colors_label"
|
|
|
|
|
style="@style/SettingsLeftLabelStyle"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/customize_widget_colors" />
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/settings_bright_display_holder"
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/settings_general_settings_label"
|
|
|
|
|
style="@style/SettingsSectionLabelStyle"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="@dimen/medium_margin"
|
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
|
android:paddingLeft="@dimen/normal_margin"
|
|
|
|
|
android:paddingTop="@dimen/activity_margin"
|
|
|
|
|
android:paddingRight="@dimen/normal_margin"
|
|
|
|
|
android:paddingBottom="@dimen/activity_margin">
|
|
|
|
|
android:text="@string/general_settings" />
|
|
|
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MySwitchCompat
|
|
|
|
|
android:id="@+id/settings_bright_display"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="@null"
|
|
|
|
|
android:clickable="false"
|
|
|
|
|
android:paddingStart="@dimen/medium_margin"
|
|
|
|
|
android:text="@string/show_bright_display"
|
|
|
|
|
app:switchPadding="@dimen/medium_margin" />
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/settings_sos_holder"
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/settings_general_settings_holder"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="@dimen/medium_margin"
|
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
|
android:paddingLeft="@dimen/normal_margin"
|
|
|
|
|
android:paddingTop="@dimen/activity_margin"
|
|
|
|
|
android:paddingRight="@dimen/normal_margin"
|
|
|
|
|
android:paddingBottom="@dimen/activity_margin">
|
|
|
|
|
android:layout_margin="@dimen/medium_margin"
|
|
|
|
|
android:background="@drawable/section_holder_stroke"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MySwitchCompat
|
|
|
|
|
android:id="@+id/settings_sos"
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/settings_purchase_thank_you_holder"
|
|
|
|
|
style="@style/SettingsHolderTextViewStyle"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="@null"
|
|
|
|
|
android:clickable="false"
|
|
|
|
|
android:paddingStart="@dimen/medium_margin"
|
|
|
|
|
android:text="@string/show_sos"
|
|
|
|
|
app:switchPadding="@dimen/medium_margin" />
|
|
|
|
|
android:background="@drawable/ripple_top_corners">
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
|
|
|
android:id="@+id/settings_purchase_thank_you"
|
|
|
|
|
style="@style/SettingsLeftLabelStyle"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/purchase_simple_thank_you" />
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/settings_stroboscope_holder"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="@dimen/medium_margin"
|
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
|
android:paddingLeft="@dimen/normal_margin"
|
|
|
|
|
android:paddingTop="@dimen/activity_margin"
|
|
|
|
|
android:paddingRight="@dimen/normal_margin"
|
|
|
|
|
android:paddingBottom="@dimen/activity_margin">
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MySwitchCompat
|
|
|
|
|
android:id="@+id/settings_stroboscope"
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/settings_use_english_holder"
|
|
|
|
|
style="@style/SettingsHolderCheckboxStyle"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="@null"
|
|
|
|
|
android:clickable="false"
|
|
|
|
|
android:paddingStart="@dimen/medium_margin"
|
|
|
|
|
android:text="@string/show_stroboscope"
|
|
|
|
|
app:switchPadding="@dimen/medium_margin" />
|
|
|
|
|
android:background="@drawable/ripple_background">
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
<com.simplemobiletools.commons.views.MyAppCompatCheckbox
|
|
|
|
|
android:id="@+id/settings_use_english"
|
|
|
|
|
style="@style/SettingsCheckboxStyle"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/use_english_language" />
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/settings_force_portrait_holder"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="@dimen/medium_margin"
|
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
|
android:paddingLeft="@dimen/normal_margin"
|
|
|
|
|
android:paddingTop="@dimen/activity_margin"
|
|
|
|
|
android:paddingRight="@dimen/normal_margin"
|
|
|
|
|
android:paddingBottom="@dimen/activity_margin">
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MySwitchCompat
|
|
|
|
|
android:id="@+id/settings_force_portrait"
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/settings_turn_flashlight_on_holder"
|
|
|
|
|
style="@style/SettingsHolderCheckboxStyle"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="@null"
|
|
|
|
|
android:clickable="false"
|
|
|
|
|
android:paddingStart="@dimen/medium_margin"
|
|
|
|
|
android:text="@string/force_portrait_mode"
|
|
|
|
|
app:switchPadding="@dimen/medium_margin" />
|
|
|
|
|
android:background="@drawable/ripple_background">
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
<com.simplemobiletools.commons.views.MyAppCompatCheckbox
|
|
|
|
|
android:id="@+id/settings_turn_flashlight_on"
|
|
|
|
|
style="@style/SettingsCheckboxStyle"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/turn_flashlight_on" />
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/settings_force_portrait_holder"
|
|
|
|
|
style="@style/SettingsHolderCheckboxStyle"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="@drawable/ripple_background">
|
|
|
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MyAppCompatCheckbox
|
|
|
|
|
android:id="@+id/settings_force_portrait"
|
|
|
|
|
style="@style/SettingsCheckboxStyle"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/force_portrait_mode" />
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/settings_bright_display_holder"
|
|
|
|
|
style="@style/SettingsHolderCheckboxStyle"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="@drawable/ripple_background">
|
|
|
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MyAppCompatCheckbox
|
|
|
|
|
android:id="@+id/settings_bright_display"
|
|
|
|
|
style="@style/SettingsCheckboxStyle"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/show_bright_display" />
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/settings_sos_holder"
|
|
|
|
|
style="@style/SettingsHolderCheckboxStyle"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="@drawable/ripple_background">
|
|
|
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MyAppCompatCheckbox
|
|
|
|
|
android:id="@+id/settings_sos"
|
|
|
|
|
style="@style/SettingsCheckboxStyle"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/show_sos" />
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/settings_stroboscope_holder"
|
|
|
|
|
style="@style/SettingsHolderCheckboxStyle"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="@drawable/ripple_bottom_corners">
|
|
|
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MyAppCompatCheckbox
|
|
|
|
|
android:id="@+id/settings_stroboscope"
|
|
|
|
|
style="@style/SettingsCheckboxStyle"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/show_stroboscope" />
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</ScrollView>
|
|
|
|
|