mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-20 20:52:18 +01:00
DroidFish: Hide the action bar in xml instead of in code for smoother
startup.
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
android:allowBackup="true">
|
android:allowBackup="true">
|
||||||
<activity android:name=".DroidFish"
|
<activity android:name=".DroidFish"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
|
android:theme="@android:style/Theme.Holo.NoActionBar"
|
||||||
android:configChanges="orientation|screenSize|keyboardHidden">
|
android:configChanges="orientation|screenSize|keyboardHidden">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
|
|||||||
@@ -418,7 +418,6 @@ public class DroidFish extends Activity implements GUIInterface {
|
|||||||
|
|
||||||
figNotation = Typeface.createFromAsset(getAssets(), "fonts/DroidFishChessNotationDark.otf");
|
figNotation = Typeface.createFromAsset(getAssets(), "fonts/DroidFishChessNotationDark.otf");
|
||||||
setPieceNames(PGNOptions.PT_LOCAL);
|
setPieceNames(PGNOptions.PT_LOCAL);
|
||||||
requestWindowFeature(Window.FEATURE_NO_TITLE);
|
|
||||||
initUI();
|
initUI();
|
||||||
|
|
||||||
gameTextListener = new PgnScreenText(this, pgnOptions);
|
gameTextListener = new PgnScreenText(this, pgnOptions);
|
||||||
|
|||||||
Reference in New Issue
Block a user