❓ Help Paano maglandscape at magfullscreen na app sa android studio

Status
Not open for further replies.

Shadowed2

Fanatic
Sinubukan ko kasi ganito sa AndroidManifest.xml
XML:
<activity android:name=".MainActivity"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:screenOrientation="landscape"
>
Nagsusuccess yung build at naiinstall sa phone ko pero nag kakacrash sa phone. Pero kapag tinanggal yung
XML:
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
. Gumagana na siya naka landscape na pero di fullscreen. Help naman mga lods! Beginner palang. Thank you!

Na solved ko na siya. Dito ko nakuha yung idea. You do not have permission to view the full content of this post. Log in or register now.

Instead of adding
Code:
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:screenOrientation="landscape"
to AndroidManifest.xml e ganito na lang nilagay ko.
Code:
android:screenOrientation="landscape"
Then saka ko enedit yung styles.xml. naglagay ako ng ganito
Code:
<item name="android:windowNoTitle">true</item>
        <item name="android:windowFullscreen">true</item>
Saka ko pinalitan itong line na ito.
Code:
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
to
Code:
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
para mawala yung action bar sa tuktok. At pwesto nag full screen na siya na nakalandscape. 👍
 
Status
Not open for further replies.

About this Thread

  • 0
    Replies
  • 192
    Views
  • 1
    Participants
Last reply from:
Shadowed2

Online now

Members online
981
Guests online
1,164
Total visitors
2,145

Forum statistics

Threads
2,276,177
Posts
28,968,075
Members
1,231,155
Latest member
4rchiv3s
Back
Top