❓ 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
  • 213
    Views
  • 1
    Participants
Last reply from:
Shadowed2

Trending Topics

Online now

Members online
967
Guests online
9,287
Total visitors
10,254

Forum statistics

Threads
2,354,361
Posts
29,383,384
Members
1,079,426
Latest member
losN0stras
Back
Top