DroidFish: Hide the action bar in xml instead of in code for smoother

startup.
This commit is contained in:
Peter Osterlund 2015-12-21 22:54:25 +01:00
parent 6cfa32c0bb
commit 1d373a9be6
2 changed files with 1 additions and 1 deletions

View File

@ -17,6 +17,7 @@
android:allowBackup="true">
<activity android:name=".DroidFish"
android:label="@string/app_name"
android:theme="@android:style/Theme.Holo.NoActionBar"
android:configChanges="orientation|screenSize|keyboardHidden">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

View File

@ -418,7 +418,6 @@ public class DroidFish extends Activity implements GUIInterface {
figNotation = Typeface.createFromAsset(getAssets(), "fonts/DroidFishChessNotationDark.otf");
setPieceNames(PGNOptions.PT_LOCAL);
requestWindowFeature(Window.FEATURE_NO_TITLE);
initUI();
gameTextListener = new PgnScreenText(this, pgnOptions);