浏览代码

Two fixes

1. Make Android setting page default not to focus on edit control to
prevent keyboard from showing
2. Remove game name from game splash image
Lou Yihua 7 年之前
父节点
当前提交
20334b57d2

+ 4 - 0
android/app/src/main/java/io/github/sdlpal/SettingsActivity.java

@@ -70,6 +70,10 @@ public class SettingsActivity extends AppCompatActivity {
         setSupportActionBar(toolbar);
         toolbar.setSubtitle(getResources().getString(R.string.title_settings) + " (" + getGitRevision() + ")");
 
+        findViewById(R.id.spMusFmt).setFocusable(true);
+        findViewById(R.id.spMusFmt).setFocusableInTouchMode(true);
+        findViewById(R.id.spMusFmt).requestFocus();
+
         ((SwitchCompat)findViewById(R.id.swMsgFile)).setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
             @Override
             public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {

二进制
winrt/SDLPal.UWP/Assets/SplashScreen.scale-100.png


二进制
winrt/SDLPal.UWP/Assets/SplashScreen.scale-125.png


二进制
winrt/SDLPal.UWP/Assets/SplashScreen.scale-150.png


二进制
winrt/SDLPal.UWP/Assets/SplashScreen.scale-200.png


二进制
winrt/SDLPal.UWP/Assets/SplashScreen.scale-400.png