<?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"
    a:key="screen-main">

    <Preference
        a:defaultValue="false"
        a:key="prefs.supportProject"
        a:summary="@string/c_calc_ad_free_summary"
        a:title="@string/c_calc_ad_free_title" />

    <PreferenceCategory
        a:key="category-basic"
        a:title="@string/cpp_prefs_basic">

        <ListPreference
            a:entries="@array/cpp_layout_names"
            a:entryValues="@array/cpp_layouts"
            a:key="gui.mode"
            a:title="@string/cpp_mode" />

        <ListPreference
            a:entries="@array/cpp_angle_unit_names"
            a:entryValues="@array/cpp_angle_units"
            a:key="engine.angleUnit"
            a:title="@string/cpp_angles" />

        <ListPreference
            a:entries="@array/cpp_numeral_base_names"
            a:entryValues="@array/cpp_numeral_bases"
            a:key="engine.numeralBase"
            a:title="@string/cpp_radix" />

        <Preference
            a:key="screen-number-format"
            a:title="@string/cpp_number_format" />
    </PreferenceCategory>

    <PreferenceCategory
        a:key="category-advanced"
        a:title="@string/cpp_prefs_advanced">

        <Preference
            a:key="screen-appearance"
            a:title="@string/cpp_appearance" />
        <Preference
            a:key="screen-onscreen"
            a:title="@string/cpp_floating_calculator" />
        <Preference
            a:key="screen-widget"
            a:title="@string/cpp_widget" />
        <Preference
            a:key="screen-other"
            a:title="@string/cpp_other" />

    </PreferenceCategory>

    <PreferenceCategory
        a:key="category-help"
        a:title="@string/cpp_help">

        <Preference
            a:key="prefs.introduction"
            a:title="@string/cpp_introduction" />

        <Preference
            a:key="prefs.reportBug"
            a:title="@string/cpp_report_problem" />

        <Preference
            a:key="prefs.about"
            a:title="@string/cpp_about" />

    </PreferenceCategory>

</PreferenceScreen>