App soll den gesamten Bildschirm bedecken

  • 2 Antworten
  • Letztes Antwortdatum
H

HammerH

Neues Mitglied
0
Hallo Leute,

ich bin neu in der Android Programmierung und hoffe ihr könnt mir helfen (und ich hoffe es gab nicht so einen ähnlichen Thread. Hab zwar gesucht aber nichts gefunden).
Ich muss eine App schreiben, deren Interface die gesamte Fläche des Displays einnimmt, also auch Uhrzeit etc. ausgeblendet wird vom System.
Da es sich um die Version 4.0.3 auf dem Handy handelt, also somit API 15 ist, kann ich bei Eclipse nicht "Fullscreen Activity" auswählen.
Kann ich das irgendwie einbauen, das es geht?

LG,

HammerH
 
google android theme fullscreen
 
Vielen Dank :)
Funktioniert!

Für Leute die das gleiche Problem haben sollten, hier die Lösung:

In your manifest xml, at application level put this:

<application
...
android:theme="@android:style/Theme.NoTitleBar" >
</application>
and in the activity that you want to make full screen put this:

<activity

android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
...
</activity>
Remove all the setWindowsFeature or setFlag methods in onCreate.
 

Ähnliche Themen

G
Antworten
0
Aufrufe
94
Gerdchen07
G
G
Antworten
1
Aufrufe
352
Gerdchen07
G
G
Antworten
13
Aufrufe
563
Gerdchen07
G
L
Antworten
2
Aufrufe
433
Lexub
L
migi01
Antworten
26
Aufrufe
1.886
migi01
migi01
Zurück
Oben Unten