Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile-Cn-Ko-En
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fallenstardust
YGOMobile-Cn-Ko-En
Commits
7aa4e851
Commit
7aa4e851
authored
Oct 15, 2019
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
保持沉浸式
parent
aafcd6a6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
mobile/src/main/java/cn/garymb/ygomobile/AppsSettings.java
mobile/src/main/java/cn/garymb/ygomobile/AppsSettings.java
+2
-1
mobile/src/main/java/cn/garymb/ygomobile/Constants.java
mobile/src/main/java/cn/garymb/ygomobile/Constants.java
+1
-1
mobile/src/main/res/xml/preference_game.xml
mobile/src/main/res/xml/preference_game.xml
+6
-6
No files found.
mobile/src/main/java/cn/garymb/ygomobile/AppsSettings.java
View file @
7aa4e851
...
@@ -494,7 +494,8 @@ public class AppsSettings {
...
@@ -494,7 +494,8 @@ public class AppsSettings {
* 隐藏底部导航栏
* 隐藏底部导航栏
*/
*/
public
boolean
isImmerSiveMode
()
{
public
boolean
isImmerSiveMode
()
{
return
mSharedPreferences
.
getBoolean
(
PREF_IMMERSIVE_MODE
,
PREF_DEF_IMMERSIVE_MODE
);
return
true
;
//return mSharedPreferences.getBoolean(PREF_IMMERSIVE_MODE, PREF_DEF_IMMERSIVE_MODE);
}
}
public
boolean
isSensorRefresh
()
{
public
boolean
isSensorRefresh
()
{
...
...
mobile/src/main/java/cn/garymb/ygomobile/Constants.java
View file @
7aa4e851
...
@@ -35,7 +35,7 @@ public interface Constants {
...
@@ -35,7 +35,7 @@ public interface Constants {
String
PREF_LOCK_SCREEN
=
"pref_key_game_screen_orientation"
;
String
PREF_LOCK_SCREEN
=
"pref_key_game_screen_orientation"
;
boolean
PREF_DEF_LOCK_SCREEN
=
false
;
boolean
PREF_DEF_LOCK_SCREEN
=
false
;
String
PREF_IMMERSIVE_MODE
=
"pref_key_immersive_mode"
;
String
PREF_IMMERSIVE_MODE
=
"pref_key_immersive_mode"
;
boolean
PREF_DEF_IMMERSIVE_MODE
=
fals
e
;
boolean
PREF_DEF_IMMERSIVE_MODE
=
tru
e
;
String
PREF_SENSOR_REFRESH
=
"pref_key_sensor_refresh"
;
String
PREF_SENSOR_REFRESH
=
"pref_key_sensor_refresh"
;
boolean
PREF_DEF_SENSOR_REFRESH
=
true
;
boolean
PREF_DEF_SENSOR_REFRESH
=
true
;
String
PREF_CHANGE_LOG
=
"pref_key_change_log"
;
String
PREF_CHANGE_LOG
=
"pref_key_change_log"
;
...
...
mobile/src/main/res/xml/preference_game.xml
View file @
7aa4e851
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<CheckBoxPreference
<CheckBoxPreference
android:key=
"pref_settings_keep_scale"
android:key=
"pref_settings_keep_scale"
android:persistent=
"false"
android:persistent=
"false"
android:title=
"@string/about_pref_settings_keep_scale"
/>
android:title=
"@string/about_pref_settings_keep_scale"
/>
<ListPreference
<ListPreference
android:entries=
"@array/opengl_version"
android:entries=
"@array/opengl_version"
...
@@ -58,11 +58,6 @@
...
@@ -58,11 +58,6 @@
android:persistent=
"true"
android:persistent=
"true"
android:summary=
"@string/settings_game_font_antialias_summary"
android:summary=
"@string/settings_game_font_antialias_summary"
android:title=
"@string/settings_game_font_antialias"
/>
android:title=
"@string/settings_game_font_antialias"
/>
<CheckBoxPreference
android:key=
"pref_key_immersive_mode"
android:persistent=
"true"
android:summary=
"@string/about_immersive_mode"
android:title=
"@string/settings_game_immersive_mode"
/>
<CheckBoxPreference
<CheckBoxPreference
android:key=
"pref_key_game_lab_pendulum_scale"
android:key=
"pref_key_game_lab_pendulum_scale"
android:persistent=
"true"
android:persistent=
"true"
...
@@ -117,6 +112,11 @@
...
@@ -117,6 +112,11 @@
</PreferenceCategory>
</PreferenceCategory>
<PreferenceCategory
android:title=
"@string/settings_test_options"
>
<PreferenceCategory
android:title=
"@string/settings_test_options"
>
<!--CheckBoxPreference
android:key="pref_key_immersive_mode"
android:persistent="true"
android:summary="@string/about_immersive_mode"
android:title="@string/settings_game_immersive_mode" /-->
<Preference
<Preference
android:key=
"pref_key_test_replace_kernel"
android:key=
"pref_key_test_replace_kernel"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment