Support app display notch for android 9! - Xiaomi Mi 8 Questions & Answers

There is a tutorial that Google published for support apps with notch. https://android-developers.googleblog.com/2018/07/supporting-display-cutouts-on-edge-to.html
I read it but don't understand to much
I decompile my APK game with APKtool for pc.. I have access with all folder ( Res...) And the androidmanifest
Anyone can help me , what codes must I add?
Any detailed guide. In some games notch is useful for me and immersive for my mi 8

a praticle example: latest version of modern combat 5 support all screen included notch!
on the apk version 3.2.0i or lower it doesnt support the notch
what is changed? i can modify android manifest and various files inside the apk folder
i need help.. i want add notch support in some my personal games

Related

Honeycomb Skin Maker

Introducing my latest project, the Honeycomb Skin Maker and Tablet Skin Installer.
Honeycomb Skin Maker can modify SystemUI.apk and framework-res.apk to allow skinning system files on honeycomb tablets. Paired with the Android app "Tablet Skin Installer" skins can be applied easily with virtually no hacking required.
All images within these two APKs can be modified, and the XML files inside are modifiable to allow much greater skinning possibilities than previously possible.
Honeycomb Skin Maker can make .androidskin files which must be placed in the "Skins" folder on your internal SD card. This folder is created automatically when "Tablet Skin Installer" is first run.
The app requires root, and I can't give enough warnings about the potential to damage your tablet with this program. Ensure you have a method of recovery before attempting to install / make a skin.
Download Honeycomb Skin Maker for free from stormwave.me.uk/AndroidSkinInstaller/
(I can't post links yet).
It is still early days for this project and I have many ideas on how to expand it, but all feedback is appreciated and will be taken onboard.
Seems to be a very helpful project for themers!
Honeycomb Skin Maker v0.2
Thanks for the link and screenshot, that's a really big help.
The app is now free, I may choose to add a paid verson in the future.
I really want people to try this out as I think it'll make theming much easier.
Also, would it be possible for a moderator to add [TOOLS] to the beginning of this thread title?
Here is a market link to the skin installer.
https://market.android.com/details?...xLDEsImNvbS5zdG9ybXdhdmUuc2tpbmluc3RhbGxlciJd
I'll have to give this a test run as it looks pretty nice. Thanks for making it.
im tring to edit an .xml, because my systemui.apk will not decompile with any tools due to multilple resource errors. when I change a string in the xml with honeycombskinmaker.. it says dimension attribute not set, etc. any idea? built an .androidskin and installed on device streak 7, and doesnt show up in list in app. theres a blank listing at top but tried that, rebooted fine but didnt see changes I was hoping for: trying to edit HC 3.2 status bar clock color and change to bold. ?? thanks.

Eclipse help for theme!

So I am editing a go launcher template theme and i saw there were some parts i wanted to change that wasn't included in the template...for example the little icons ontop of the apps when you want to delete (kill.png kill_light.png etc...) I added this code
<AppIcon text_color="#FFFFFFFF" text_bg_color="#ff3f3f3f" delete_app="kill" delete_app_highlight="kill_light" new_app_icon="new_install_app"
update_icon="appfunc_app_update" locker_icon="promanage_lock_icon" close_app_icon="promanage_close_normal" close_app_light="promanage_close_light"/>
with png's with the right names in the drawable hdpi folder but they don't show up when i test it out...am i missing something? I was able change the media management icons in the app drawer by adding this
<SwitchButtonBean button_galleryicon="appfunc_mediamanagement_switch_button_gallery" button_gallerylighticon="appfunc_mediamanagement_switch_button_gallery_light"
button_musicicon="appfunc_mediamanagement_switch_button_music" button_musiclighticon="appfunc_mediamanagement_switch_button_music_light"
button_videoicon="appfunc_mediamanagement_switch_button_video" button_videolighticon="appfunc_mediamanagement_switch_button_video_light"
button_appicon="appfunc_mediamanagement_switch_button_app" button_appiconlight="appfunc_mediamanagement_switch_button_app_light"/>
but it didn't work for the other part (the smaller versions of those same icons in the media management menu)
what am i missing??
oh and i added the code to app_func_theme.xml if you were wondering
anyone?
okay so im inching closer to the solution....im guessing i have to edit the drawable in the r.java? Is this possible because i read somewhere everything in the gen folder is generated and not to edit it..but its the only place i can find that explains why the media management code i added work and the small icon code (kill, kill_light) didnt....i can see the icon references java file...if i do edit this java file or the public.xml (it appears to be linked to this part of the r.java file) where do i get this 10 digit code to put after the equal sign.

[Q] GoLocker Theme Development How to start?

Hello. I've spent already ten days googling for infos samples etc trying to discover how to create themes for GoLocker EX. I've explore absolutely everihing from simple graphics replacement to XML editing and even sourcecode editing of the several themes. But no result. Yes I can replace all the graphics components, edit XML for place them in necessory positions etc. Its just simple things. But I want to create my own themes mean add some functions, improve some other things. I could not find anything in theme sourcecode, mean some ways to add or change functions. Can somebody help me? give me right direction.

[guide]Add more columns to the oneplus launcher!

*requires root* tested on OB22
So after seeing the recent XDA post about enabling Google photo back up when charging, I figured I'd do some snooping around in the shared preferences files myself.
I found out you can change the amount of columns in the stock OnePlus launcher (to add more than the standard 3/4/5 columns).
To do this you need to go to:
/data/data/net.oneplus.launcher/shared_prefs/net.oneplus.launcher.prefs.xml
Then change the number in this line (at the bottom of the file) to whatever number you want.
<int name="workspace_columns" value="5" />
I don't recommend adding too many columns, as the icons will start to overlap (see the screenshots below). For medium icon size this will happen with values higher than 7-8, setting the icon size to small will prevent this to a certain extent.
After editing this line you need to force close the launcher for the changes to taken effect.
You will however still have 5 rows. This (probably) can't be changed in this way, due to the rows not being customizable in the launcher. The columns are, which is the reason this line exists.
Below are some screenshots, as you can see the icons are almost touching each other which 8 columns. The 12 columns are more a proof of concept.
Is it possible to add more rows?
This is why i'm still on nova laucher... when this will be costumizable on stock launcher? pleaaaaaaaaase...
Hello, this method is not working anymore on latest version. Can you help me what might be the problem? Also what file manager and xml editor did you use? Thanks!
albannotosska said:
Hello, this method is not working anymore on latest version. Can you help me what might be the problem? Also what file manager and xml editor did you use? Thanks!
Click to expand...
Click to collapse
I unfortunately broke my OnePlus, so I can't really help you too much with troubleshooting. Last I tested was on oos pie, so it probably should still work. I used solid explorer to edit the files.
Are you sure you are rooted? There are apps available to manage shared preferences files of all your apps. Maybe you'll have more luck if you try one of those.
stelio_kontos said:
I unfortunately broke my OnePlus, so I can't really help you too much with troubleshooting. Last I tested was on oos pie, so it probably should still work. I used solid explorer to edit the files.
Are you sure you are rooted? There are apps available to manage shared preferences files of all your apps. Maybe you'll have more luck if you try one of those.
Click to expand...
Click to collapse
I am sorry for your oneplus. The line is there and I have tried changing it but it doesn't do anything. It only happened with the latest version. I am on Pie. I am rooted with the latest Magisk, tried many explorers and many xml file editor . Anyway thank you for your reply. I will try to search and maybe I can find something.

Question Is there any way to change status bar icons of One UI

I've been on nexus phones and oneplus phones for years and I really love the icon design of the status bar on stock android and these new icons on Samsung one UI are very ugly to me.
Is there any way to change them without root?
Maybe with ADB somehow?
I tried those finicky apps on the play store but they don't work smoothly.
u can try hex theme , i will link u to the thread , u can build ur theme , change status bar and more
[SAMSUNG PIE] #HEX Installer
HEXED PLUS RELEASED!! New Base! go beyond and theme more 3rd party apps with it. full list of currently supported apps here Go to Hex app settings and set it up for free. #INTRODUCTION: The original theme bodhisattva_ is celebrating its 3...
forum.xda-developers.com

Categories

Resources