[GUIDE] [GB] How to make Rom/System transparent - General Topics

HoW TO Make Rom/ SYSTEM TransPaReNT ​
AFTER A LOT OF LEARNING I GOT THIS MOD ON MY OWN
WILL WORK IN GB ROMS BUT DONT KNOW ABOUT ICS/JB ROMS PLEASE TRY IT AND REPORT
THERE ARE MANY USERS WHO WANT TO MAKE ROM TRANSPARENT
NOW MAKE IT YOURSELF SIMPLE AND NOOFRIENDLY
PLEASE REPORT IF ITS WORKING FOR U
WHAT U WILL NEDD IS
1]APKTOOL OR APKMANAGER OR VTS OR ETC ETC[TO DECOMPILE AND RECOMPILE]
2]FRAMEWORK-RES.APK
2]NOTEPAD++
STEP 1
DECOMPILE FRAMEWORK-RES.APK
OPEN RES/VALUE/STYLE.XML WITH NOTEPAD++
SEARCH <style name="Theme"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
BELOW THIS FIND
HTML:
<item name="colorBackground">@color/background_dark</item>
<item name="windowBackground">@drawable/screen_background_dark</item>
AND REPLACE IT WITH
HTML:
<item name="colorBackground">@color/transparent</item>
<item name="windowBackground">@color/transparent</item>
NOW STEP 2
SEARCH <style name="Theme.Black" parent="@style/Theme">
BELOW IT
FIND THIS
HTML:
<item name="colorBackground">@color/black</item>
<item name="windowBackground">@color/black</item>
AND REPLACE IT WITH THIS
HTML:
<item name="colorBackground">@color/black</item>
<item name="windowBackground">@color/transparent</item>
SETP 3
SEARCH <style name="Theme.ExpandedMenu" parent="@style/Theme">
FIND
HTML:
<item name="windowBackground">@color/black</item>
REPLACE WITH
HTML:
<item name="windowBackground">@color/transparent</item>
DONE
RECOMPILE FRAMEWORK-RES.APK AND PUCH IT TO SYSTEM FRAMEWORK

Not working bro..Help me out

Do gravity box and gem xperia xposed have any conflict?

Related

[HELP] Looking for the best solution for game control

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I am trying to add several game controls and stats display (i.e. score..etc) over my game similar as the sample above. What would be the best solution? I am thinking of overlay. If overlay is the best solution, would anyone able to offer some code sample of building a overlay control+display on top of a game? Any information would be greatly appreciated. Thanks.
This is my main.xml layout file
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/container"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
androidrientation="vertical" >
<home.net.RedAlertView android:id="@+id/RedAlertView"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Fire!"/>
</FrameLayout>
Click to expand...
Click to collapse
I have two questions.
1. According to the document, FrameLayout stacks views one on top of other, How do I ensure the Button view is always stacked on top of my custom game view?
2. The custom game view constantly refreshes itself, how could I be certain it does not overwrite the button view (even if the button view is stack on top of it)?

[tutorial] Remove StatusBar Clock For Roms without the option

This is A tut to remove the clock in the status bar clock. I have had a few request for this on a few roms. So I decided I would post how to do this.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Okay lets get to it.
Decomplete the SystemUI.apk
(If you have errors post them and I will do my best to help you out)
Next look in the layout fold.
Look for the status_bar.xml
Look for this line of code
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
Delete it.
Then recomplete the apk.
(The same as before if you have errors post and I will do my best)
more mods...........
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
..................
For those of us who are morons, could you explain how to "decomplete" the system ui and recomplete the apk?
Sent from my HTC One X using xda app-developers app
smolck said:
For those of us who are morons, could you explain how to "decomplete" the system ui and recomplete the apk?
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
This right here will probably be the easiest for noobs on windows
http://forum.xda-developers.com/showthread.php?p=33815550

[Q][MOD]Notification Panel Toggle Resizing

I'm modding System-UI.apk file.
I'm trying port samsung notification panel to jb cm10
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
to
So, First target is get bigger toggles.
And i'm searching for dimension codes in layout and dimen.xml
So, i changed
Code:
<dimen name="notification_panel_header_height">48.0dip</dimen>
<dimen name="notification_panel_brightness_height">48.0dip</dimen>
<dimen name="notification_panel_widget_height">160.0dip</dimen> 48 to 160
<dimen name="notification_panel_header_and_widget">208.0dip</dimen> and equals
<dimen name="notification_panel_header_widget_and_brightness">208.0dip</dimen> same
<dimen name="notification_panel_header_and_brightness">96.0dip</dimen> same
but didn't work after also changed res/layout/system_bar_notification_panel_title.xml -
Code:
<TableLayout android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="16.0dip" android:layout_marginBottom="16.0dip" android:stretchColumns="8" android:shrinkColumns="4" -- here 2,4 to 4
android:layout_alignParentLeft="true" android:layout_alignParentBottom="true">
and then
power_widget_button.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:id="@id/power_widget_button" android:background="@drawable/stat_power_background" android:focusable="true" android:clickable="true"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@id/power_widget_button_image" android:layout_width="fill_parent" android:layout_height="70.0dip" 48 to 70 dip
android:scaleType="center" android:layout_weight="1.0" />
</LinearLayout>
but didn't work which file i should edit...
i will do something like this
first get bigger toggles
and then change toggle button drawables with samsung toggles(not orginal one , create full drawable toggle like a in picture)

[GUIDE][GB] How to resize activity title bar like Windows Phone

ONLY FOR BEGINNER
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is a simple mod... you only need to resize..
What you need??
1. Your framework-res.apk
2. Knowledge about how to decompile and recompile APKs files
Let's begin!
1. Decompile your framework-res.apk
2. Open style.xml on res/values/here
3. Search this code:
Code:
<item name="windowTitleSize">XXX</item>
4. change the value "XXX" to "70.0px"
#Change the value to resize the height of your activity title bar
5. find this code
Code:
<style name="TextAppearance.WindowTitle" parent="@style/TextAppearance">
find this below that code "
Code:
<item name="textSize">XXX</item>
" and change the value XXX to "40.0sp"
6. recompile your framework-res.apk
7. push it into "system/framework/HERE"
8. reboot
Simple, right...
Press Thanks button if I help you..
Thank you
#MYKH
Thank for shared, sir!
mrkimi84 said:
Thank for shared, sir!
Click to expand...
Click to collapse
You are welcome sir
Sent from my A8T using xda premium

[MOD]Option 2G only return for Viper 3.2.1

Enable only 2G option in menù for Viper 3.2.1
This is a little mod of Italian Tuttoandroid community
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2G_only return_M8_Tuttoandroid.zip
MD5 70cd5cf3f8c92556d65386bafc10dbcb​
Thanks to @nightcervant‎ for modified default.xml file
It works on other roms like ARHD ?
azyounes said:
It works on other roms like ARHD ?
Click to expand...
Click to collapse
This default.xml is for Viper, and tested with this.....
Instead you can search in system->customize->ACC this:
<item type="integer" name="sku_id">42</item>
and replaced it with:
<item type="integer" name="sku_id">99</item>
then reboot
or..you can try to flash the zip at your own risk (nandbackup before for safety)
This zip is tested on MAXIMUSHD version 9.0.1 and work
Can you compile or convert this mod for ARHD?
loan92 said:
Can you compile or convert this mod for ARHD?
Click to expand...
Click to collapse
If it worked with maximus, make nandbackup before and try...it should be working in ARHD also
Send with my M8 from Tuttoandroid
Delete

Categories

Resources