Plotter preferences
This commit is contained in:
@@ -87,4 +87,19 @@
|
||||
<item>bin</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="graph_line_color_names">
|
||||
<item>White</item>
|
||||
<item>Grey</item>
|
||||
<item>Red</item>
|
||||
<item>Blue</item>
|
||||
<item>Green</item>
|
||||
</string-array>
|
||||
<string-array name="graph_line_color_values">
|
||||
<item>white</item>
|
||||
<item>grey</item>
|
||||
<item>red</item>
|
||||
<item>blue</item>
|
||||
<item>green</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
@@ -108,6 +108,8 @@
|
||||
|
||||
<!-- action bar-->
|
||||
<item name="actionBarTabStyle">@style/default_actionbar_tab_style</item>
|
||||
<item name="android:actionBarTabStyle">@style/default_actionbar_tab_style</item>
|
||||
<item name="actionBarStyle">@style/default_actionbar_style</item>
|
||||
<item name="android:actionBarStyle">@style/default_actionbar_style</item>
|
||||
</style>
|
||||
</resources>
|
@@ -38,7 +38,9 @@
|
||||
|
||||
<!--action bar-->
|
||||
<item name="actionBarTabStyle">@style/metro_blue_actionbar_tab_style</item>
|
||||
<item name="android:actionBarTabStyle">@style/metro_blue_actionbar_tab_style</item>
|
||||
<item name="actionBarStyle">@style/metro_blue_actionbar_style</item>
|
||||
<item name="android:actionBarStyle">@style/metro_blue_actionbar_style</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
22
calculatorpp/res/xml/plot_preferences.xml
Normal file
22
calculatorpp/res/xml/plot_preferences.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<PreferenceScreen xmlns:a="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<android.preference.CheckBoxPreference
|
||||
a:key="graph_interpolate"
|
||||
a:title="Interpolate function's graph"
|
||||
a:summary="If checked cubic interpolation will be used in function graph drawing"/>
|
||||
|
||||
<ListPreference a:key="graph_line_color_real"
|
||||
a:title="Color of real part of functions graph"
|
||||
a:summary="Sets color of real part functions graph"
|
||||
a:entries="@array/graph_line_color_names"
|
||||
a:entryValues="@array/graph_line_color_values"/>
|
||||
|
||||
<ListPreference a:key="graph_line_color_imag"
|
||||
a:title="Color of imaginary part of functions graph"
|
||||
a:summary="Sets color of imaginary part functions graph"
|
||||
a:entries="@array/graph_line_color_names"
|
||||
a:entryValues="@array/graph_line_color_values"/>
|
||||
|
||||
</PreferenceScreen>
|
Reference in New Issue
Block a user