Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
RapFan
Old
#1  
Member - OP
Thanks Meter 1
Posts: 39
Join Date: Mar 2010
Default [Q] Stock Browser in fullscreen

Hi everyone!
Is there a way to set stock browser in fullscreen mode (without notification bar)?

I've read somewhere on this site that i need to decompile browser.apk and add the notitlebar property to manifest.xml, but i don't know the correct syntax and the exact line.

Thanks in advance for every answer!
 
RapFan
Old
#2  
Member - OP
Thanks Meter 1
Posts: 39
Join Date: Mar 2010
Well exploring android manifest xml i've found that line

Quote:
<activity android:theme="@style/BrowserTheme" android:label="@string/application_name" android:name="BrowserActivity" android:launchMode="singleTask" android:configChanges="keyboardHidden|orientation" android:alwaysRetainTaskState="true" android:windowSoftInputMode="adjustResize">
which suggests that there's a "Browser theme" into style.xml

looking at it i've seen

Quote:
<style name="BrowserTheme" parent="@android:style/Theme.Black">
<item name="android:colorBackground">#ffffffff</item>
<item name="android:windowBackground">@color/white</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowContentOverlay">@null</item>
</style>
windowNoTitle refers to title application

maybe windowNoTitleBarFullscreen should work for what i'm looking to.

Changes done, now i wanto to recompile my apk, using apktool but after giving this command
Quote:
apktool b Browser.apk out
i got this error list
Quote:
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java: 142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(Abst ractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java: 138)
... 4 more
what is going wrong?
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...