<?xml version="1.0" encoding="utf-8"?>

<!--
  ~ Copyright 2013 serso aka se.solovyev
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~    http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  ~
  ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ~ Contact details
  ~
  ~ Email: se.solovyev@gmail.com
  ~ Site:  http://se.solovyev.org
  -->

<PreferenceScreen xmlns:a="http://schemas.android.com/apk/res/android"
    xmlns:m="http://schemas.android.com/apk/res-auto">

    <org.solovyev.android.material.preferences.ListPreference
        a:key="gui.language"
        a:title="@string/cpp_language"
        m:materialColor="@color/material_text_selector" />

    <android.preference.CheckBoxPreference
        a:defaultValue="true"
        a:key="@string/p_calc_color_display_key"
        a:summary="@string/c_calc_color_display_summary"
        a:title="@string/c_calc_color_display_title" />

    <android.preference.CheckBoxPreference
        a:key="gui.vibrateOnKeypress"
        a:title="@string/cpp_prefs_vibrate_on_keypress" />

    <ListPreference
        a:entries="@array/p_multiplication_sign_values"
        a:entryValues="@array/p_multiplication_sign_values"
        a:key="engine.multiplicationSign"
        a:summary="@string/c_calc_multiplication_sign_summary"
        a:title="@string/c_calc_multiplication_sign" />

    <ListPreference
        a:entries="@array/p_theme_names"
        a:entryValues="@array/p_theme_values"
        a:key="@string/p_calc_theme_key"
        a:title="@string/cpp_theme" />

    <ListPreference
        a:entries="@array/p_layout_names"
        a:entryValues="@array/p_layout_values"
        a:key="@string/p_calc_layout_key"
        a:summary="@string/c_calc_layout_summary"
        a:title="@string/c_calc_layout" />

    <android.preference.CheckBoxPreference
        a:defaultValue="true"
        a:key="autoOrientation"
        a:title="@string/cpp_prefs_auto_rotate_screen" />


    <android.preference.CheckBoxPreference
        a:defaultValue="true"
        a:key="showEqualsButton"
        a:summary="@string/c_show_equals_button_summary"
        a:title="@string/c_show_equals_button_title" />

    <android.preference.CheckBoxPreference
        a:key="preventScreenFromFading"
        a:title="@string/cpp_prefs_keep_screen_on" />

</PreferenceScreen>