Number format preferences screen
This commit is contained in:
@@ -1,45 +0,0 @@
|
||||
<?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"/>
|
||||
|
||||
<TextView
|
||||
style="@style/CppLabel"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Separator"/>
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/nf_separator_spinner"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
</LinearLayout>
|
11
app/src/main/res/layout/preference_precision.xml
Normal file
11
app/src/main/res/layout/preference_precision.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<org.solovyev.android.views.DiscreteSeekBar android:id="@+id/precision_seekbar"
|
||||
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="wrap_content"
|
||||
android:padding="@dimen/cpp_dialog_spacing"
|
||||
app:labelsColor="?android:attr/textColorSecondary"
|
||||
app:labelsSize="12sp"
|
||||
app:values="@array/cpp_prefs_precisions" />
|
Reference in New Issue
Block a user