343 lines
15 KiB
XML
343 lines
15 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/settings_scrollview"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/settings_holder"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/settings_color_customization_label"
|
|
style="@style/SettingsSectionLabelStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/color_customization" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/settings_color_customization_holder"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="@dimen/medium_margin"
|
|
android:background="@drawable/section_holder_stroke"
|
|
android:orientation="vertical">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/settings_customize_colors_holder"
|
|
style="@style/SettingsHolderTextViewOneLinerStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/ripple_all_corners">
|
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
android:id="@+id/settings_customize_colors_label"
|
|
style="@style/SettingsTextLabelStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/customize_colors" />
|
|
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/settings_general_settings_label"
|
|
style="@style/SettingsSectionLabelStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/general_settings" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/settings_general_settings_holder"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="@dimen/medium_margin"
|
|
android:background="@drawable/section_holder_stroke"
|
|
android:orientation="vertical">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/settings_use_english_holder"
|
|
style="@style/SettingsHolderCheckboxStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/ripple_top_corners">
|
|
|
|
<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>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/settings_font_size_holder"
|
|
style="@style/SettingsHolderTextViewStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/ripple_background">
|
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
android:id="@+id/settings_font_size_label"
|
|
style="@style/SettingsTextLabelStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/font_size" />
|
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
android:id="@+id/settings_font_size"
|
|
style="@style/SettingsTextValueStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/settings_font_size_label"
|
|
tools:text="@string/medium" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/settings_manage_contact_fields_holder"
|
|
style="@style/SettingsHolderTextViewOneLinerStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/ripple_background">
|
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
android:id="@+id/settings_manage_contact_fields_label"
|
|
style="@style/SettingsTextLabelStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/manage_shown_contact_fields" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/settings_merge_duplicate_contacts_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_merge_duplicate_contacts"
|
|
style="@style/SettingsCheckboxStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/merge_duplicate_contacts" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/settings_show_call_confirmation_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_show_call_confirmation"
|
|
style="@style/SettingsCheckboxStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/show_call_confirmation_dialog" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/settings_show_private_contacts_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_show_private_contacts"
|
|
style="@style/SettingsCheckboxStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/show_private_contacts" />
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/settings_main_screen_label"
|
|
style="@style/SettingsSectionLabelStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/main_screen" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/settings_main_screen_holder"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="@dimen/medium_margin"
|
|
android:background="@drawable/section_holder_stroke"
|
|
android:orientation="vertical">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/settings_manage_shown_tabs_holder"
|
|
style="@style/SettingsHolderTextViewOneLinerStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/ripple_top_corners">
|
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
android:id="@+id/settings_manage_shown_tabs_label"
|
|
style="@style/SettingsTextLabelStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/manage_shown_tabs" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/settings_default_tab_holder"
|
|
style="@style/SettingsHolderTextViewStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/ripple_background">
|
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
android:id="@+id/settings_default_tab_label"
|
|
style="@style/SettingsTextLabelStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/default_tab_to_open" />
|
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
android:id="@+id/settings_default_tab"
|
|
style="@style/SettingsTextValueStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/settings_default_tab_label"
|
|
tools:text="@string/contacts_tab" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/settings_on_contact_click_holder"
|
|
style="@style/SettingsHolderTextViewStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/ripple_background">
|
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
android:id="@+id/settings_on_contact_click_label"
|
|
style="@style/SettingsTextLabelStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/on_contact_click" />
|
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
android:id="@+id/settings_on_contact_click"
|
|
style="@style/SettingsTextValueStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/settings_on_contact_click_label"
|
|
tools:text="@string/contacts_tab" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/settings_show_dialpad_button_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_show_dialpad_button"
|
|
style="@style/SettingsCheckboxStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/show_dialpad_button" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/settings_show_only_contacts_with_numbers_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_show_only_contacts_with_numbers"
|
|
style="@style/SettingsCheckboxStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/show_only_contacts_with_numbers" />
|
|
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/settings_list_view_label"
|
|
style="@style/SettingsSectionLabelStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/list_view" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/settings_list_view_holder"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="@dimen/medium_margin"
|
|
android:background="@drawable/section_holder_stroke"
|
|
android:orientation="vertical">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/settings_show_contact_thumbnails_holder"
|
|
style="@style/SettingsHolderCheckboxStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/ripple_top_corners">
|
|
|
|
<com.simplemobiletools.commons.views.MyAppCompatCheckbox
|
|
android:id="@+id/settings_show_contact_thumbnails"
|
|
style="@style/SettingsCheckboxStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/show_contact_thumbnails" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/settings_show_phone_numbers_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_show_phone_numbers"
|
|
style="@style/SettingsCheckboxStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/show_phone_numbers" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/settings_start_name_with_surname_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_start_name_with_surname"
|
|
style="@style/SettingsCheckboxStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/start_name_with_surname" />
|
|
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</ScrollView>
|