I'm trying to edit the positions of the graphics on this screen, but I can't find the specific strings in the code. I looked after the name of the different images and found them in the drawable-hdpi folder, but a string containing the filename does not exist!
I searched in framework-res.apk & SemcPhone.apk. I can change the graphics if I move them into the .apk's, but I want to change the location of the slider background for example. Can someone help me? Where do I have to start?
decompile "SemcPhone.apk",
Use:
$ astro grep
$ beyond compare
You can edit images via gimp, and move values via dimens.xml...
Complete guide on how to Decompile/Recompile Apks with APKTOOL
This Tutorial is for Windows Only
Apktool and all .bat files outlined in this tutorial have been uploaded here for your convenience
Requirements
- 7zip / Winrar (or similar)
- Apktool - (Package link above)
Notes
- I use .bat file to make the whole process alot quicker ...
- Copying Apktool files (aapt.exe, apktool.bat, apktool.jar, baksmali.jar, zipalign.exe) into C:/windows will allow you to use the .bat files anywhere on your computer without the need for apktool in the same directory
Step 1 - First you need to install the framework files so the apktool can use them to decompile other apks in the rom that depend on the framework
- Make a text document and rename it "Install Framework.bat"
- Edit it with a txt editor and paste in this code
Code:
CMD /K apktool if framework-res.apk
- with your framework-res.apk in the folder run the Install Framework.bat file and it should output
Code:
Framework installed to: C:\Users\USER\apktool\framework\1.apk
Step 2 - Decompiling (we will be decompiling framework-res.apk in this tutorial)
- First make a copy of the apk you wish to decompile and name it backup.apk (this will be used later)
- Make a text document and rename it "Decompile.bat"
- Edit it with a txt editor and paste in this code (replace the "framework-res.apk" with the name of the apk you wish to decompile)
Code:
CMD /K apktool d framework-res.apk
- with your apk in the same folder run the Decompile.bat file and it create a folder that you can edit as you see fit
Step 3 - Recompiling (we will be Recompiling framework-res.apk in this tutorial)
- Make a text document and rename it "Compile.bat"
- Edit it with a txt editor and paste in this code (replace the "framework-res.apk" with the name of the apk you wish to recompile)
Code:
del almostdone.apk
CMD /K apktool b framework-res almostdone.apk
- Run the Compile.bat file and it create an apk called almostdone.apk (if you get errors you most likely made a change which broke the apk)
- Open both almostdone.apk and backup with 7zip or Winrar
- Drag all the contents of almostdone.apk except for AndroidManifest.xml into backup.apk and replace existing files
- Now make a text document and rename it "Zipalign.bat"
- Edit it with a txt editor and paste in this code (replace the "framework-res.apk" with the name of the apk you wish to recompile)
Code:
del framework-res.apk
zipalign.exe -v 4 backup.apk framework-res.apk
- Run the Zipalign.bat file and it create the finished apk
Nice one :good:, but i think very few takers in our forum. I was also thinking about posting on ROM Porting, but there are many guides already out there .
yeah ... seems so.... iv'e tryed porting myself ... never got it booting ...
Hello,
In this tutorial I´ll show you how to change the height of your NavBar.
This Tutorial works for any Rom!
Requirements
Text-Editor, e.g. Notepad++
WinRar/WinZip/Bandzip
Apktool (Download)
installed Java (Download)
JDK (Download)
root on your Nexus 4
a FileManager like ES File Explorer or Root Explorer
your framework-res.apk
some Cmd experience (just a little)
.. and some time/nerves
.. let´s go
Before getting started, make a Nandroid Backup (if you get Bootoop etc)!
The decompliling:
First you need to create a new folder like "C:\apktool". Download Apktool and extract the files to C:\apktool
copy your framework-res.apk to C:\apktool
open Cmd
navigate to your apktool (with "cd C:\apktool")
type in: java -jar apktool.jar if framework-res.apk [enter] (...installation of your framework)
type in: java -jar apktool.jar d framework-res.apk [enter]
finished!
Now you should have a new folder named framework-res. That´s your decompiled framework-res.apk.
The customizing of your NavBar height:
Navigate to /res/values
open dimens.xml in your Text-Editor
search the 3 lines which include navigation_bar_height, navigation_bar_height_landscape, und navigation_bar_width
type in your desired dpi number (for default it´s 48dpi)
CAUTION: At width, you should calculate the numeral proportion of the height to the width.
If you got that, save!
The (Re-)compiling:
Cmd (if you have not left it open, you must navigate again to C:\apktool
type in: java -jar apktool.jar b framework-res [enter]
The newly compiled framework-res.apk is located in C:\apktool\framework-res\dist
CAUTION: Copy the META-INF folder and the AndroidManifest.xml from your old framework-res.apk to your newly compiled one! Otherwise you´ll get Bootloop.
Now copy your framework-res.apk with a file manager to /system/framework. After that reboot immediately!
Finished! Have fun with your smaller/higher NavBar.
If there are some question, ask in this thread, I´ll help you as good as possible. Please don´t write me PM´s with support requests.
The "small-print":
Neither XDA-Developers.com, nor me are responible for any damages on your device!
I'm pretty sure this is the same for changing your Navigation Bar white or any color you want?
But instead I think its the navbar.xml that you need to edit correct?
Sent from my Nexus 4 using xda app-developers app
Right. But maybe it's in SysUI.apk, I don't know right now.
~ via Nexus
Flextrick said:
Hello,
In this tutorial I´ll show you how to change the height of your NavBar.
This Tutorial works for any Rom!
Requirements
Text-Editor, e.g. Notepad++
WinRar/WinZip/Bandzip
Apktool (Download)
installed Java (Download)
JDK (Download)
root on your Nexus 4
a FileManager like ES File Explorer or Root Explorer
your framework-res.apk
some Cmd experience (just a little)
.. and some time/nerves
.. let´s go
Before getting started, make a Nandroid Backup (if you get Bootoop etc)!
The decompliling:
First you need to create a new folder like "C:\apktool". Download Apktool and extract the files to C:\apktool
copy your framework-res.apk to C:\apktool
open Cmd
navigate to your apktool (with "cd C:\apktool")
type in: java -jar apktool.jar if framework-res.apk [enter] (...installation of your framework)
type in: java -jar apktool.jar d framework-res.apk [enter]
finished!
Now you should have a new folder named framework-res. That´s your decompiled framework-res.apk.
The customizing of your NavBar height:
Navigate to /res/values
open dimens.xml in your Text-Editor
search the 3 lines which include navigation_bar_height, navigation_bar_height_landscape, und navigation_bar_width
type in your desired dpi number (for default it´s 48dpi)
CAUTION: At width, you should calculate the numeral proportion of the height to the width.
If you got that, save!
The (Re-)compiling:
Cmd (if you have not left it open, you must navigate again to C:\apktool
type in: java -jar apktool.jar b framework-res [enter]
The newly compiled framework-res.apk is located in C:\apktool\framework-res\dist
CAUTION: Copy the META-INF folder and the AndroidManifest.xml from your old framework-res.apk to your newly compiled one! Otherwise you´ll get Bootloop.
Now copy your framework-res.apk with a file manager to /system/framework. After that reboot immediately!
Finished! Have fun with your smaller/higher NavBar.
If there are some question, ask in this thread, I´ll help you as good as possible. Please don´t write me PM´s with support requests.
The "small-print":
Neither XDA-Developers.com, nor me are responible for any damages on your device!
Click to expand...
Click to collapse
Thanks dude!
"CAUTION: At width, you should calculate the numeral proportion of the height to the width."
What's the scale? I set 36dpi both on height and landsape_hight, what's the width should I do? And I want the background of navigation to more smaller...
First of all, please delete fullquote Second: Proportion is like 48:42=36:x (x is width, just calculate). And third: Which background do you mean?
~ via Nexus
Hello,
if somebody is interested: I built a graphical Apktool for easier modding. Check it out: http://forum.xda-developers.com/showthread.php?t=2326604
~ via Nexus
I am attempting this but its not working.
I have apktool, java, and JDK installed.
When I run the commands I get this...
Code:
c:\apktool>java -jar apktool.jar if framework-res.apk
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x01080294 drawable/ic_ab_back_holo_dark, config=-xhdpi
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:196)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:165
)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:130)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
5)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:39)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:384)
at brut.androlib.Androlib.installFramework(Androlib.java:365)
at brut.apktool.Main.cmdInstallFramework(Main.java:193)
at brut.apktool.Main.main(Main.java:69)
c:\apktool>java -jar apktool.jar d framework-res.apk
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x01080294 drawable/ic_ab_back_holo_dark, config=-xhdpi
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:196)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:165
)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:130)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
5)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes
ources.java:315)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
a:50)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav
a:43)
at brut.androlib.Androlib.getResTable(Androlib.java:44)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:148)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
c:\apktool>
Any help would be great.
Or if someone wants to set my dpi to 24 that would be great as well. 24/24/24
framework-res.apk
Hello, I see. Maybe you should try this one here: http://forum.xda-developers.com/showthread.php?t=1755243
I created an AndroidApktool, which makes it easier to mod your files: http://forum.xda-developers.com/showthread.php?t=2326604
It helps you in this Tutorial much, too.
How do you move the old META-INF folder and AndroidManifest.xml into the new apk after it's already compiled?
With WinRar or 7zip etc.
I followed every step and I end up with same as paperecho, empty framework-res folder.
Do you get the same error as he?
Is it possible to set the alignment of the softkeys to the left side (especially for the Nexus 7/10)?
Thanks in advance
Sent from my Nexus 4 using xda premium
It's possible for sure, but I don't know how. Ive got no experience with tablets, sorry.
I'm also finished with empty folder framework-res..
Maybe you guys should download the newest apktool version and replace it with the one in my folder. I think this should solve your problem
Does anyone know what values they use to make the softkeys stay vertical when the phone is in landscape mode? I'm trying to do that with my tablets. Thanks
Works Great Nexus 4 and Nexus 10 Kitkat
In Android L, it didn't work in type in "java -jar apktool.jar if framework-res.apk" & "java -jar apktool.jar d framework-res.apk"...
Hello everyone,
It has been quite a time on xda and i found that there are a number of tweaks availble for our mini GALAXY Y especially for the status bar.
But the problem is that all these tweaks are located in different threads which makes them a lot more messy.
Therefore I present you a compilation of the common but most used tweaks for galaxy y.
THREADS WILL BE UPDATED.........SO LOOK OUT FOR NEW AMAZING TWEAKS !!!!!!!!!!!!!!
Click to expand...
Click to collapse
PLEASE PM ME IF YOU FIND ANY OTHER TWEAKS FOR OUR GALAXY Y AND I WILL ADD IT HERE
CREDITS :--
@marcussmith2626
@dcsms
@jpdesuasido
[Guide] [Mod] How to make any gingerbread or cm7 status bar transparentThere's two ways to make the statusbar bar Transparent and I'll post them both
One way works with any gingerbread rom (deodex & rooted) and one with cyanogen 7.
I have not tried it on ics or jelly bean but you can try (for people who stumble across this thread who are not galaxy y users) ..
Please dont ask for support unless you are using a custom rom on galaxy y.:good:
Any other phones please goto your own phone forum for support.
You also need a launcher that is capable of transparency .:angel:
Adw works but you need to disable wallpaper hack in settings .
Holo launcher works.
any other launcher if it doesn't work look in it's settings & try & disable wallpaper hack or manage internally .
1-)Method one for non cm
You need apk tool installed - if you don't know how to use it see marcussmith2626's guide here --
http://forum.xda-developers.com/showthread.php?t=2206938
Once you have decompiled SystemUI.apk using apk tool goto res/layout Open status_bar.xml in notepad
1.Find the following line
Code:
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" [COLOR="Red"]android:background="#000000"[/COLOR] android:focusable="true" android:descendantFocusability="afterDescendants"
Notice android:background is normally a hexadecimal value or it could be an @drawable value
either way change it to the following
Code:
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" [COLOR="Red"]android:background=" [user=3944923]@drawab[/user]le/nameofpng" [/COLOR]android:focusable="true" android:descendantFocusability="afterDescendants"
Notice that android:background is now a @drawable value
2.Detete the space between the " and the @
(the is because the forum has changed the @ to mentions and I cant work out how to stop it doing it)
3.Change nameofpng to the name of your transparent background image (just the name - do not include the file extension .png)
4.Place this image with the same name as the @drawable value in res/drawable-ldpi
(of course other devices might be in mdpi or hdpi)
5.Recompile and sign apk
Put in a flashable zip and flash with system mounted
6.You can download and use the pngs in the attachment (for ldpi like galaxy y) or create your own
To create a transparent status bar image just take a non Transparent one and edit it in a photo application to make it Transparent (make sure image dimensions stay the same and is for your phone resolution)
2-)Method two for cm7
Note you will need apk tool installed and notepad++ installed
1.Download the patcher tool by Z25
2.Unzip the contents to a folder
3.Place your SystemUI.apk and framework-res.apk in files_to_patch
4.Run patcher.bat
5.Select status bar tweaks and enable only transparent status bar
6.Edit the smali file as described in the text file that pops up
7.Select option build and sign
8.Select option to create zip files
You now have a zip file called patch.zip
Flash this in cwm to enable transparency
To actually make it Transparent you need to apply a theme with a transparent status bar
First disable wallpaper hack from adw launcher settings
Then either download a transparent Theme from playstore for theme chooser and apply in theme chooser
Or create your own theme
Goto UOT kitchenhttp://uot.dakra.lt/kitchen
Code:
1.Take cyanbread.apk from the app folder of your cm7 rom & place on pc (or any other Theme Chooser Theme you wish to make transparent)
2.Rename it to what you want to call theme
3.Upload it to kitchen (under cm7 theme in file upload)
I4.n status bar tweaks set background transparency to around 70% Transparent and any other settings you need like carrier or footer - don't forget to generate preview once done
5.Make sure you have selected ldpi in statusbar tweak settings and ldpi/mdpi for theme chooser preview in file upload (other devices may vary) and in file upload change update binary to galaxy
6.Then goto summary section
7.If everything is green create the theme
8.If not make sure you have clicked generate preview on status bar tweaks
kitchen will then create theme for you
Once it's done download it flash in cwm with system mounted & then apply it in theme chooser
here are some of the statusbar my marcussmith2626--
http://forum.xda-developers.com/showthread.php?t=2123899
r
[GUIDE]How to add EDT Tweak support on your SystemUI
Hi guys
This time I will make a tutorial on how to add "EDT" tweak support on your SystemUI:fingers-crossed::fingers-crossed:
Features of EDT Tweaks
1.Battery Options
Show/Hide Battery Icon (Doesn't work)
Battery Text Style (Regular,Hide and Small %)
Prepend/Append Battery Text
Change Charging Color (For Battery Text)
Change Regular Color (For Battery Text)
Change Medium Level Color (For Battery Text)
Change Low Level Color (For Battery Text)
2.Clock Options:laugh:
Show AM/PM
Small AM/PM
Hide AM/PM
Hide Clock
3.Signal Options
Show Signal Bars (Doesn't work)
Show Signal Strength (Not available yet)
Show dBm Text (Not released)
Bug List
1.Show/Hide Battery Icon
2.Show Signal Bars
3.Show Signal Strength
4.Show dBm Text
Click to expand...
Click to collapse
Requirements
1.EDT Files (download in attachment)
2.EDT Tweaks apk (download in attachment)
3.SystemUI.apk
4.Apktool or similar
Click to expand...
Click to collapse
How to Install
1.Download the EDT Files zip package on your Computer and extract it anywhere in your desktop
2.Now on your phone, Pull your SystemUI.apk and paste it on your sd card
3.Now connect your phone to your Computer and Connect USB Storage
4.Copy the pulled SystemUI.apk and paste it on your apktool folder
5.Decompile your SystemUI.apk (You know how to do it right?)
6.Now copy the extracted smali from the EDT Files zip package and paste it on smali/com/android/systemui/statusbar/. Replace if asked
7.Go to res/layout/ and open status_bar.xml
8.Copy this code
Code:
[COLOR="Purple"]<com.android.systemui.statusbar.BatteryText android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />[/COLOR]
9.Paste it belowabove this code
Code:
[COLOR="Purple"]com.android.systemui.statusbar.Clock[/COLOR]
10.Compile the SystemUI.apk (You know how to do it right?)
11.On your phone, push the SystemUI.apk to system/app using Root Explorer or similar.
12.Now install EDT.apk and you can now use it's features
rr
[GUIDE]How to add lidroid 14 statusbar toggle buttons for Galaxy YAll Credits belongs to dcsms
Please refers to lidroid original thread below
http://forum.xda-developers.com/showthread.php?t=1289896
Requirements :--
1. A Computer with JAVA DEVELOPMENT KIT [JDK] installed
2. Apktool
3. Notepad++ / other UNIX editor
4. Knowledge about how to compile/decompile apk (dont ask me.. just use the search bar.. there a bunch of tuts how to do that)
Click to expand...
Click to collapse
firstly download this file :
1. lidroid-res
http://forum.xda-developers.com/attachment.php?attachmentid=750399&d=1318661697
2. LidroidSystemUI
http://forum.xda-developers.com/attachment.php?attachmentid=750756&d=1318701014
3. QuickPanelSettings
http://forum.xda-developers.com/attachment.php?attachmentid=751238&d=1318747162
Click to expand...
Click to collapse
Procedure :--
1. Download LidroidSystemUI.apk and decompile it with apktool, then you get LidroidSystemUI dir.
2. Pull and Decompile your SystemUI.apk, copy LidroidSystemUI/smali/* into SystemUI/smali.
3. Open SystemUI/smali/com/android/systemui/status/StatusBarService.smali. Find(Ctrl + F) QuickSettingsView, change codes below
Code:
.local v3, qsv:Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
const v7, 0x7f030002
invoke-static {p1, v7, v9}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
move-result-object v3
.end local v3 #qsv:Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
check-cast v3, Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
.line 352
.restart local v3 #qsv:Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
with
Code:
const v7, 0x3030003
invoke-static {p1, v7, v9}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
move-result-object v3
check-cast v3, Lcom/lidroid/systemui/quickpanel/PowerWidget;
.line 352
.local v3, qsv:Lcom/lidroid/systemui/quickpanel/PowerWidget;
invoke-virtual {v3}, Lcom/lidroid/systemui/quickpanel/PowerWidget;->setupWidget()V
4. Compile SystemUI with apktool,
5. open up your SystemUI.apk with winrar or 7zip
6. locate to SystemUI/build/apk/ and find classes.dex onto the winrar/7zip
7. Then Push it into /system/app/
5. push lidroid-res.apk in /system/framework/, push QuickPanelSettings.apk in /system/app, reboot.
Click to expand...
Click to collapse
More mod :
Originally Posted by [email protected]
To have 6 visible toggles : edit : SystemUI/smali/com/lidroid/systemui/quickpanel/PowerWidget.smali
change :
Code:
.field private static final LAYOUT_SCROLL_BUTTON_THRESHOLD_PORT:I = 0x5
to
Code:
.field private static final LAYOUT_SCROLL_BUTTON_THRESHOLD_PORT:I = 0x6
Code:
div-int/lit8 v2, v2, 0x5
to
Code:
div-int/lit8 v2, v2, 0x6
Note: i skip editing androidmanfest.xml (cuz when we do this... we should sign all of the apk in /system/app and /system/framework. ..but if u insist.. please see the original thread above how to do that...unless if u dont do editing androidmanifest.xml u'll got FC when pressing Flashlight button. anyway i dont need it.. so its not a big deal)
DONT FORGET TO PRESS ATHANKS :laugh::laugh::laugh:
[GUIDE]BRIGHTNESS SLIDER IN STATUS BAR
UPDATE ZIP FILES FOR JELLY BLAST ND HYPERION ADDED CHK AT THE END OF POST
GUYS THOSE WHO ARE TRYING IT AFTER COMPILNG UR APP PLZ DECOMPILE AND CHK WHETHER TAT ""in"" FOLDER IS IN SMALI FOLDER
REQUIREMENTS :--
1> DECOMPILING/ COMPILING TOOL (LIKE VTS OR APKTOOL OR APKMULTITOOL OR ANY OF UR CHOICE
2>UR SYSTEMUI.APK
3>STATUSBARGREEPER( PLZ SEARCH XDA FOR ITS DOWNLOAD LINKS)
Click to expand...
Click to collapse
STEPS
1) DECOMPILE UR SYSTEMUI.APK
2)NAVIGATE TO res/layout/status_bar_expanded.xml
3) OPEN IT FOR EDITING
4) SEARCH FOR THE FOLLOWING CODE
Code:
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
[COLOR="Indigo"]
[/COLOR]
5) PLACE THE FOLLOWING CODE ABOVE CODE U SEARCHED ABOVE
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:paddingTop="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<in.jmkl.dcsms.statusbargreper.SlideBrightness android:layout_width="fill_parent" android:layout_height="wrap_content" />
</LinearLayout>
6) ADD THE FOLLOWING FOLDER IN smali/*here*
DOWNLOAD HERE--
IN.ZIP
7)RECOMPILE THE THE SYSTEMUI APP ND PUSH IT........
8) RESTART UR DEVICE ND UR DONE..:
9) ND YADO INSTALL STAUSBARGREEPER APK
Click to expand...
Click to collapse
FOR JB FLASH VIA CWM--
1)HYPERION----HERE
2)JB--->>>HERE
DO VISIT THIS POST TOO
http://forum.xda-developers.com/showthread.php?t=2084127
Its much better to actually link to the orig thread and just have an index type thread instead of just posting the entire guide here
this is because threads are updated and its also much eaiser for people to get support from the person who wrote the thread then just having spam "help me" stuff here
also you didnt seek permission to repost all these guides - well at least you didnt ask me
creating a thread which indexes guides is fine and links to the thread but just copy and past the entire guide is not good
you can get an idea of what an index thread is by clicking on the link in my signature as that will take you to my index thread
Bro You Could give Links to original thread instead of re posting all guides..its look messy
Thread Closed as it is nothing but duplication of existing work present in the device forum.
A.cid
Forum Moderator
This guide is simple for the design of your application , hide the action bar header in the app inventor project apk
What is need?
1) Apktool Multi Toll installed and configure on PC with java supports installed to decompile see more here
2) Notepad++ or other editor XML codes
3) The " your application.apk to decompile
4) Codes to add
5) knowledge compile and decompile and sign application
On apktool folder put your apk on folder place-apk-here-for-modding
example: C:\Users\\APK-Multi-Tool\place-apk-here-for-modding
1) Now Run script.bat
2) Select your apk type on make you decision the code 24
3) Now decompile typing code 9 and wait finish (don't close cmd screen)
Important keep always open apktool script.bat during the all process.
4)Now select on project folder the AndroidManifest.xml and open it with notepad++
5) Put this line code to resise your screen mode between the last line <uses-permission and before <application android: label .
<supports-screens android:resizeable="false" android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:anyDensity="false" />
The code will look like this
Code:
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
[COLOR="Blue"] <supports-screens android:resizeable="false" android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:anyDensity="false" />[/COLOR]
<application android:label="myappname" android:icon="@drawable/ya" android:debuggable="false">
Now go to hide the action bar " grey bar header"
Put this code android:theme="@android:style/Theme.Black.NoTitleBar" inside the < application after android:label and to left android:icon setup.
The code will look like this
Code:
<application android:label="myapp" [COLOR="blue"]android:theme="@android:style/Theme.Black.NoTitleBar"[/COLOR] android:icon="@drawable/ya" android:debuggable="false">
6) Now returns on apktool script.bat and type 12 to compile your apk. On next screen choice mode compilation line "Type Input 1 - 4:" type 1 to create an unsigned apk using the keep folder
Pay attencion on instructions when apktool stopped !
7) Now open up keep folder and delete and everything modified like of PNG, xmls, smali etc.... in this case you must be delete Androidmanifest.xml and resources. arsc files
8) Return on apktool screen and type enter to compile apk
When finished type 13 to sign your apk
Your apk compiled and modified ill be on place-apk-here-for-modding folder with name signed_"etc..."apk
Enjoy!!