File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
java/com/programminghoch10/RotationControl Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import androidx.preference.Preference
77import androidx.preference.PreferenceCategory
88import androidx.preference.PreferenceFragmentCompat
99
10- val ROTATION_MODE_DEFAULT = ROTATION_MODE .SCREEN_ORIENTATION_FULL_SENSOR
10+ val ROTATION_MODE_DEFAULT = ROTATION_MODE .SCREEN_ORIENTATION_SENSOR
1111const val SHARED_PREFERENCES_NAME = " rotation_mode"
1212
1313class SettingsActivity : FragmentActivity () {
Original file line number Diff line number Diff line change 11<PreferenceScreen xmlns : app =" http://schemas.android.com/apk/res-auto" >
22
3- <PreferenceCategory
4- app : title =" @string/category_rewrite" >
3+ <PreferenceCategory app : title =" @string/category_rewrite" >
54 <SwitchPreference
65 app : key =" rewrite_locked_orientations"
76 app : title =" @string/rewrite_locked_orientations_title"
87 app : summary =" @string/rewrite_locked_orientations_summary"
98 app : defaultValue =" false"
109 app : disableDependentsState =" true" />
11-
10+
1211 <SwitchPreference
1312 app : key =" rewrite_sensor_orientations"
1413 app : title =" @string/rewrite_sensor_orientation_title"
1514 app : summary =" @string/rewrite_sensor_orientations_summary"
1615 app : defaultValue =" false"
1716 app : disableDependentsState =" true" />
1817 </PreferenceCategory >
19-
18+
2019 <PreferenceCategory
2120 app : title =" @string/category_rotation_mode"
2221 app : key =" category_rotation_mode" />
You can’t perform that action at this time.
0 commit comments