Number format preference
This commit is contained in:
@@ -59,11 +59,9 @@
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fn_linewidth_label"
|
||||
style="@style/TextAppearance.AppCompat.Caption"
|
||||
style="@style/CppLabel"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingStart="4dp"
|
||||
android:paddingLeft="4dp"
|
||||
android:text="@string/cpp_plot_function_line_width"
|
||||
tools:ignore="RtlSymmetry"/>
|
||||
|
||||
@@ -74,11 +72,9 @@
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fn_color_label"
|
||||
style="@style/TextAppearance.AppCompat.Caption"
|
||||
style="@style/CppLabel"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingStart="4dp"
|
||||
android:paddingLeft="4dp"
|
||||
android:text="@string/cpp_plot_function_line_color"
|
||||
tools:ignore="RtlSymmetry"/>
|
||||
|
||||
|
34
app/src/main/res/layout/preference_number_format.xml
Normal file
34
app/src/main/res/layout/preference_number_format.xml
Normal file
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:padding="@dimen/cpp_dialog_spacing">
|
||||
|
||||
<TextView
|
||||
style="@style/CppLabel"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Notation"/>
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/nf_notation_spinner"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<TextView
|
||||
style="@style/CppLabel"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Precision"/>
|
||||
|
||||
<org.solovyev.android.views.DiscreteSeekBar
|
||||
android:id="@+id/nf_precision_seekbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:labelsColor="?android:attr/textColorSecondary"
|
||||
app:labelsSize="12sp"
|
||||
app:values="@array/cpp_prefs_precisions"/>
|
||||
|
||||
</LinearLayout>
|
Reference in New Issue
Block a user