Orientation change lock
This commit is contained in:
7
calculatorpp/res/values/text_preferences.xml
Normal file
7
calculatorpp/res/values/text_preferences.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<resources>
|
||||
<string name="c_auto_orientation_title">Toggle screen orientation change</string>
|
||||
<string name="c_auto_orientation_summary">If turned on calculator will change screen orientation automatically</string>
|
||||
|
||||
<string name="c_show_equals_button_title">Show equals button</string>
|
||||
<string name="c_show_equals_button_summary">Preference hides or shows equals button</string>
|
||||
</resources>
|
@@ -134,6 +134,13 @@
|
||||
a:defaultValue="0;45"
|
||||
range:steps="5"
|
||||
range:boundaries="0;45"/>-->
|
||||
|
||||
<android.preference.CheckBoxPreference
|
||||
a:key="autoOrientation"
|
||||
a:title="@string/c_auto_orientation_title"
|
||||
a:summary="@string/c_auto_orientation_summary"
|
||||
a:defaultValue="false"/>
|
||||
|
||||
</PreferenceScreen>
|
||||
|
||||
<PreferenceScreen
|
||||
|
Reference in New Issue
Block a user