[GUIDE][MOD][DEV]PO PowerWidget V1.1 - Galaxy Y GT-S5360 General

Power Widget
POTech Works
NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE!
UPDATES will be transfered HERE. Update is so easy now SWEAR ​
Hello XDA, how are everyone? Since I had my vacant time, I brought something, not so unique but I guess it worth to try. As the title implies, yeah its a Power Widget. Remember the CyanogenMod power widget, lidroid quickpanel, and spacecaker xperia toggle and everything that is similar to this, and yeah Im so old and outdated now but I should give it too. This was forked and derived from CyanogenMod 7.2 power widget.
This requires some patience to do, not like how SpaceCaker did. But if you insist to make it to a Super EZ guide, then I can make it(in humbly speaking)
Whats hot:
All lidroid features
22 Power Widgets all in all
Snappy and accurate PowerWidget
Consistent Wifi and Bluetooth name
Widget Threshold
Profile Button
Integrated in your SystemUI
Smart Settings​
Click to expand...
Click to collapse
Whats not:
The Data icon isnt accurate much (Like lidroid does but working fine at dis/enabling)
Not Grid-like power widget, sarrey.​
Click to expand...
Click to collapse
Note:
Let me know if there is a bug you encounter
Click to expand...
Click to collapse
Disclaimer:
I and XDA are not responsible for the Force Close. This guide was tested and working fine for 3 totoro. Take a backup first
Requirements:
Notepad++
Basic Android Modding Skills
The file in this third post named "powerwidget_v1.zip"
Your SystemUI
Apktool
Patience
And a lot of understading because my english is poor
Click to expand...
Click to collapse
Click to expand...
Click to collapse
​
Instruction:
1. Extract the file downloaded given at the requirement
2. Decompile your SystemUI.apk using APK-Tool
3. Deploying the files
a. Put the res folder of the downloaded file to your decompiled SystemUI
b. Put the smali folder of the downloaded file to your decompiled SystemUI​4. Compile your SystemUI.apk
5. After recompiling, decompile it again. (If you think Im trolling, no Im not, we just registered all the ids )
6. Now go to values/public.xml
Look for the following inside the public.xml because we will use it:​
Layout
power_widget_button
power_widget_scrollview
Click to expand...
Click to collapse
Drawable
pxtoggles
Click to expand...
Click to collapse
Id
power_widget_button_custom
power_widget_button_image
power_widget_button_text
Click to expand...
Click to collapse
Mine was:
Code:
<public type="layout" name="power_widget_button" id="0x7f03000a" />
<public type="layout" name="power_widget_scrollview" id="0x7f03000b" />
<public type="drawable" name="pxtoggles" id="0x7f02009c" />
<public type="id" name="power_widget_button_custom" id="0x7f090026" />
<public type="id" name="power_widget_button_image" id="0x7f090027" />
<public type="id" name="power_widget_button_text" id="0x7f090028" />
7. Now we move to the smali,
8. Go to smali/com/pineappleowl/Powerwidget/
a. Inside that folder, find PowerWidget.smali
a1. Find "0x7f03000b" (no quotation mark symbol)
a2. Replace it with the ids of the "power_widget_scrollview" registered at public.xml
a3. Find "0x7f03000a"
a4. Replace it with the ids of the "power_widget_button" registered at public.xml
a5. Save and exit.​ b. Go to PowerButton.smali and same thing as what we did in PowerWidget.smali
b1. Find "0x7f090027" (no quotation mark symbol)
b2. Replace it with the ids of the "power_widget_button_image" registered at public.xml
b3. Find "0x7f090028" (no quotation mark symbol)
b4. Replace it with the ids of the "power_widget_button_text" registered at public.xml
b5. Find "0x7f090026" (no quotation mark symbol)
b6. Replace it with the ids of the "power_widget_button_custom" registered at public.xml
b7. Find "0x7f02009c" (no quotation mark symbol)
b8. Replace it with the ids of the "pxtoggles" registered at public.xml
b9. Save and Exit​9. Go to res/layout/statusbar_expanded.xml and add this line to where you want the powerwidget to be located, (Bring the themer in you )
Code:
<com.pineappleowl.Powerwidget.PowerWidget android:layout_width="fill_parent" android:layout_height="wrap_content" />
10. Save and exit
11. Lastly, recompile again your SystemUI.
12. Of course, it wont work if it doesnt have Settings. Download the apk at the third post named " PWidget Settings Beta1.1.apk"
11. Enjoy bestfriend
Credits:
Android Open Source Program
CyanogenMod
Lidroid
PotatoInc
Mariozawa
My testers (You know who you are )​
Greets,
PineappleOwl​

Screenshots​
{
"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"
}
FAQs
Q: Why dont you have a Grid like Power Widget?
A: Its worth the wait
Q: Why Power Widget again?
A: I had made it, and I want to share to everyone.
Q: Why the app beta?
A: Isnt properly theme and Ill add some functions for the future
Q: Is it open source?
A: I got it from open source Yeah. but PM me for what matters
Q: Its laggy?
A: It depends on the size of the picture
Q: Can I request a feature?
A: Sure if I can hehe, You can suggest what you want.Ill try to do it
Q: How can I donate you?
A: I dont have a donate link and its free.
Click to expand...
Click to collapse

Logs and Link
Download Link:
powerwidget_v1.zip​
PWidget Settings Beta1.0.apk​
Click to expand...
Click to collapse
LOGS:​
Code:
[SIZE="3"][B]V1.0[/B]
Initial Release
[B]V1.1[/B]
Remodified ProfileButton (No more lags at start-up)
Removed cropping feature for JB and below due to the startActivityResult error I encounter
Kitkat had cropped feature COOL
Screenshot Button only now working in Galaxy Y GT-S5360 (Dont worry, it ninja moves when you are not a Galaxy Y user xD)[/SIZE]
​

PineappleOwl said:
Another reserved
Click to expand...
Click to collapse
sir can you make ss pls

carlo_autor said:
sir can you make ss pls
Click to expand...
Click to collapse
The screenshots are at the second post now heheh

Nice. zehahaha XD

i hope that someone put this into their rom, since i'm not good at compiling framework
good job @op

pitot0909 said:
Nice. zehahaha XD
Click to expand...
Click to collapse
"Zehahaha XD" you sounds familiar
gothed said:
i hope that someone put this into their rom, since i'm not good at compiling framework
good job @op
Click to expand...
Click to collapse
Its not in framework, its in SystemUI hehe

PineappleOwl said:
"Zehahaha XD" you sounds familiar
Its not in framework, its in SystemUI hehe
Click to expand...
Click to collapse
yes sir, i mean that one ,
but maybe i should try this one , since my brother also have 'virgin' totoro device

Thx, its work for my LG P713 (4.1.2)

the_vanya1 said:
Thx, its work for my LG P713 (4.1.2)
Click to expand...
Click to collapse
Really? Can you take a screenshot sir if its okay?

I use another lidroid mod. Music buttons are large. Reboot, shutdown dont work for me (its normal) and apture toggles. Profile picture dont apply.

the_vanya1 said:
I use another lidroid mod. Music buttons are large. Reboot, shutdown dont work for me (its normal) and apture toggles. Profile picture dont apply.
Click to expand...
Click to collapse
Oh thanks. Ill pinned that one for JB, Got to do the screencapture toggle and profile picture, how about profile name?

Its work and see this trouble (and change the Sync and Orientation toggle icons)

the_vanya1 said:
Its work and see this trouble
Click to expand...
Click to collapse
The screenshot, Ill be working on it. Because the intent was for Touchwiz. hmm, the music button gonna resize it now. About the settings, ll update it later or tomorrow. hehe thanks

PineappleOwl said:
Screenshots​
FAQs
Click to expand...
Click to collapse
How did u reference the image ids.? Did u use package name instead?

samsoul16 said:
How did u reference the image ids.? Did u use package name instead?
Click to expand...
Click to collapse
reference? What does it mean? hehehe But I only did was to use BitmapDrawable. and sharedUserId trick

PineappleOwl said:
reference? What does it mean? hehehe But I only did was to use BitmapDrawable. and sharedUserId trick
Click to expand...
Click to collapse
I meant for linking an image in java file we used to write findviewbyid(r.id.data-on) for example what did u use instead of that

samsoul16 said:
I meant for linking an image in java file we used to write findviewbyid(r.id.data-on) for example what did u use instead of that
Click to expand...
Click to collapse
I used BitmapDrawable sir, I didnt used sharedpreference just bitmap.
The con is, you need to have a same sharedUID with the apks. and disable the signature too.
Im finding a way how to deal without disabling signature, I guess I ended up using sharepreference hehehe

Hi sir.. can we add something like this
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.MANAGE_NETWORK_POLICY" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
<uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
<uses-permission android:name="android.permission.DEVICE_POWER" />
<uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" />
in the androidmanifest.xml?
---------- Post added at 05:26 PM ---------- Previous post was at 05:21 PM ----------
and Sir.. can you make.. ===profile_picture=== file .. found in /data/data/cpm.pineappleowl.Settings
Set to RW-R-R..
coz i change it manually.. then reboot.. to appear in my SystemUi.. Sorry for my bad english..

Related

Post Your Theming Problem Here

Hello guys..
seems like some people getting hard tie when doing advanced theming..
so post your problem here..
you can attach screenshoot if possible..
I'll try to help if I can
but before that you need to know about compiling and decompiling using apktool or something similar first, so this could help me easier to answer them..
note : this thread won't be long, so I need someone to continue this thread later
How to add power menu option (recovery,reboot,etc)
Univos said:
How to add power menu option (recovery,reboot,etc)
Click to expand...
Click to collapse
some roms like coderom v2 has it.
Jun Hong said:
some roms like coderom v2 has it.
Click to expand...
Click to collapse
I know, but how to do that?
Univos said:
I know, but how to do that?
Click to expand...
Click to collapse
what do u mean how to do that? just flash the rom as its preinstalled.
or try looking into this thread http://forum.xda-developers.com/showthread.php?t=1115363
Jun Hong said:
what do u mean how to do that? just flash the rom as its preinstalled.
or try looking into this thread http://forum.xda-developers.com/showthread.php?t=1115363
Click to expand...
Click to collapse
I mean, how to add power menu option? (with base firmware gingerbread xwkpn)
http://forum.xda-developers.com/showpost.php?p=16579650&postcount=44
I think he meant compiling one for himself. I for one would prefer if the power menu had a mobile network trigger, but have no idea how to do that.
seilent, how to add our remove clock from the top bar?
{
"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 was wondering how i could change this area (see pic). I know that these files are located in SystemUI.apk but i dont know which belongs to which.
I would like to know the filename for these:
Statusbar, Carrier(Tele2) area, quicksetting background.
Also, is there any way to put a clock next to the carrier text?
Thanks in advance.
edit: How do i make it flashable?
Univos said:
I mean, how to add power menu option? (with base firmware gingerbread xwkpn)
Click to expand...
Click to collapse
You can find a nice tutorial HERE
Lovetz said:
seilent, how to add our remove clock from the top bar?
Click to expand...
Click to collapse
you need to edit the \SystemUI\res\layout\status_bar.xml
then remove the line that contain this :
Code:
<com.android.systemui.statusbar.Clock
and poff, it's gone
QNBT said:
I was wondering how i could change this area (see pic). I know that these files are located in SystemUI.apk but i dont know which belongs to which.
I would like to know the filename for these:
Statusbar, Carrier(Tele2) area, quicksetting background.
Also, is there any way to put a clock next to the carrier text?
Thanks in advance.
edit: How do i make it flashable?
Click to expand...
Click to collapse
Statusbar belongs to statusbar_background.png or .9.png. Also you need to modify \SystemUI\res\layout\status_bar.xml open it with notepad++ and you'll see line like this :
Code:
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="[SIZE="3"][B]#ff000000[/B][/SIZE]" android:focusable="true" android:descendantFocusability="afterDescendants"
look at the #ff000000 part, by default it shows that our statusbar background is just a color, so we need to change it to image.. so replace it with
Code:
@drawable/statusbar_background
the line would look like this :
Code:
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="[SIZE="3"][B]@drawable/statusbar_background[/B][/SIZE]" android:focusable="true" android:descendantFocusability="afterDescendants"
Carrier located in status_bar_expanded.xml in line 8 that contain something like this :
Code:
<com.android.systemui.statusbar.CarrierLabel
I think it's quite possible to place clock next to it..
try to add this below that line..
Code:
<com.android.systemui.statusbar.Clock android:textSize="24.0dip" android:textColor="#ff848484" android:layout_gravity="center_vertical" android:paddingLeft="4.0dip" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />
It should look similar like this :
Code:
<com.android.systemui.statusbar.CarrierLabel android:textSize="17.659973dip" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:paddingLeft="4.0dip" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />
<com.android.systemui.statusbar.Clock android:textSize="24.0dip" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:paddingLeft="4.0dip" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />
but I haven't tried it by myself
Quicksetting background located in \SystemUI\res\drawable-mdpi\quickpanel_quick_settings_background.png or .9.png
you can change it, but if you change the filetype from .9.png to .png and vice versa (like this) quickpanel_quick_settings_background.9.png to quickpanel_quick_settings_background.png..
you need to delete build and dist folder before compiling the file, otherwise you'll se FC in statusbar
To make it flashable I just simply take working update.zip file and change the contents that's my favorite, easiest and faster way for me
Thanks a lot! Let's see how it turns out!
seilent said:
To make it flashable I just simply take working update.zip file and change the contents that's my favorite, easiest and faster way for me
Click to expand...
Click to collapse
Lets say i want to change one image file, but it is indexed, can i change the indexed file with a non indexed one?
if not, is there any specific settings when indexing?
stranxk said:
Lets say i want to change one image file, but it is indexed, can i change the indexed file with a non indexed one?
if not, is there any specific settings when indexing?
Click to expand...
Click to collapse
indexed..
did you mean indexed in public.xml or indexed colors..?
if indexed in theme (which means public.xml) it works but you need to modify the xml where the original (indexed one) is used..
if it comes about color, that should be no problem..
seilent said:
indexed..
did you mean indexed in public.xml or indexed colors..?
if indexed in theme (which means public.xml) it works but you need to modify the xml where the original (indexed one) is used..
if it comes about color, that should be no problem..
Click to expand...
Click to collapse
colors, sorry... so, changing indexed color files with non indexed ones is fine?, sorry but i didn't understand, my english isn't very good hehe
stranxk said:
colors, sorry... so, changing indexed color files with non indexed ones is fine?, sorry but i didn't understand, my english isn't very good hehe
Click to expand...
Click to collapse
it should be fine when you compiling is success
Hi, theming master! How to make black background in any apk files transparent, just like Jun Hong's transparent TouchWiz app drawer? Thanks in advance
I guess its a compiling issue
I have this problem in my themes that the slide unlock's parts are in different colour, i know that this problem has been rectified by fla.sh as he shows it in one of his screenshots. I understand that his framework-res.apk was quite large and mine is less than 50% of it. I guess this problem has come due to compilation of the apk. The new apktoo lcompresses them i guess due to which that problem. Thanks in advance. I have also attached a file to show the problem
tr.supradeep said:
I have this problem in my themes that the slide unlock's parts are in different colour, i know that this problem has been rectified by fla.sh as he shows it in one of his screenshots. I understand that his framework-res.apk was quite large and mine is less than 50% of it. I guess this problem has come due to compilation of the apk. The new apktoo lcompresses them i guess due to which that problem. Thanks in advance. I have also attached a file to show the problem
Click to expand...
Click to collapse
Copy btn_lock_normal.9.png from the original framework-res.apk (located at /res/drawable-land-mdpi) and overwrite into your new UOT-made framework-res.apk and about my framework-res.apk is larger than you, it caused because I'm prefer to not optimize it (to reduce errors of course)
Hey Seilent
How do you make the status bar transparent?
Maybe you've seen me asking this very question before on your Meizu theme thread but Im just curious.. Is there a way to make this happen without using Meizu and that live wallpaper thingy?
Err.. Don't get me wrong; I love your Meizu theme and in fact, Im using it right now. But like I said before, Im just curious..

[Q] Add % symbol to the text battery - Min number of power widget

Hello everybody! I have a question:
1) can anybody knows how to add the % symbol in the battery text? please, read carefully, I mean this %!!!!!! not the number, not how to have the number of percentual, just the symbol! I want to add 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"
}
in my phone, that looks like this --->
jam90 said:
Hello everybody! I have two questions:
1) can anybody knows how to add the % symbol in the battery text? please, read carefully, I mean this %!!!!!! not the number, not how to have the number of percentual, just the symbol! I want to add this --> View attachment 2041107 in my phone, that looks like this ---> View attachment 2041108
2) How can I set the min number of power widget on status bar from 6 to 5? I explain: when you go on settings\system\notification menu you can select the power widget, and how many power widget you want to visualize, right? Well, if you select more than 6 power widget, the power widget menu, to contain all the toggles, must be slide to the right to visualize the other toggle: I want to know how to make that the power widget menu starts to slide since 5 toggles, and not 6! can someone help me?? thank to everybody!!
Click to expand...
Click to collapse
Maybe you need to contact Adi
jakelq said:
Maybe you need to contact Adi
Click to expand...
Click to collapse
Already done, but he doesn't answer to me! maybe he thinks that I'll ask something noob xD can someone who knows well Adi, tell him about this post?? Thanks guys
jam90 said:
Already done, but he doesn't answer to me! maybe he thinks that I'll ask something noob xD can someone who knows well Adi, tell him about this post?? Thanks guys
Click to expand...
Click to collapse
No, he's a nice person, just wait.
jakelq said:
No, he's a nice person, just wait.
Click to expand...
Click to collapse
I'm sure that he's a nice guy! but maybe he'll think that I'm a noob that want to know "how to shut off my device?" or "how can I put a custome ringtones?" or somethings stupid like those xD I've send another private mess to him, but still no answer...someone who know better and who adi will trust can contact him for me?
@Adi Aisiteru Reborn please, can you read here, for the % symbol?? thank you again!
jam90 said:
@Adi Aisiteru Reborn please, can you read here, for the % symbol?? thank you again!
Click to expand...
Click to collapse
if I can, I already included it in my S.3 mods..
I promise will share when I can add that one too
Adi Aisiteru Reborn said:
if I can, I already included it in my S.3 mods..
I promise will share when I can add that one too
Click to expand...
Click to collapse
Please, could you tell me how to do? Even just where to find the files that I could modify? Please, I want to do this by myself, 'cause I like modding and I want to learn. Thanks!
jam90 said:
Please, could you tell me how to do? Even just where to find the files that I could modify? Please, I want to do this by myself, 'cause I like modding and I want to learn. Thanks!
Click to expand...
Click to collapse
it's Touchwiz GUI only .. but we can workaround , for example when we plug our phone to charge you will see batttery text and its percentage on lockscreen..so we must find that rensponsible xml or smali and put it to status bar.
Adi Aisiteru Reborn said:
it's Touchwiz GUI only .. but we can workaround , for example when we plug our phone to charge you will see batttery text and its percentage on lockscreen..so we must find that rensponsible xml or smali and put it to status bar.
Click to expand...
Click to collapse
And where do you think are those files xml or smali? SystemUI, framework-res, SystemUI/res/strings etc...? Where do you will start to work? :/
jam90 said:
And where do you think are those files xml or smali? SystemUI, framework-res, SystemUI/res/strings etc...? Where do you will start to work? :/
Click to expand...
Click to collapse
Fremework/res/layout/here...
On sunday I only have my free time, will look into it
Sent from my GT-I8150 using xda app-developers app
Here is the code :
Decompile SystemUI.apk :
go to , SystemUI.apk\res\layout/status_bar.xml
add the red code
Code:
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="left|center" android:id="@id/battery_text" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="-3.0dip" android:singleLine="true" />
[COLOR="Red"]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="left|center" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="-3.0dip" android:text="@string/percent" android:singleLine="true" />[/COLOR]
<ImageView android:gravity="bottom" android:id="@id/battery" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
next add the red code to the end of res/values/strings.xml
Code:
[COLOR="Red"]<string name="percent">%</string>[/COLOR]
</resources>
done and compile .
NOTE : you must - Go to System settings - Status Bar - Battery status style - chose "Percentage"
Adi Aisiteru Reborn said:
Here is the code :
Decompile SystemUI.apk :
go to , SystemUI.apk\res\layout/status_bar.xml
add the red code
Code:
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="left|center" android:id="@id/battery_text" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="-3.0dip" android:singleLine="true" />
[COLOR="Red"]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="left|center" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="-3.0dip" android:text="@string/percent" android:singleLine="true" />[/COLOR]
<ImageView android:gravity="bottom" android:id="@id/battery" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
next add the red code to the end of res/values/strings.xml
Code:
[COLOR="Red"]<string name="percent">%</string>[/COLOR]
</resources>
done and compile .
NOTE : you must - Go to System settings - Status Bar - Battery status style - chose "Percentage"
Click to expand...
Click to collapse
I'm a noob, sorry. How can I decompile the apk?
I was looking for this '%' symbol a long time.
Thank you.
Sent from my GT-I8150 using Tapatalk 4 Beta
FelixMG said:
I'm a noob, sorry. How can I decompile the apk?
I was looking for this '%' symbol a long time.
Thank you.
Sent from my GT-I8150 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Google is your friend. There are many tutorials but to make a long story short, use apktool and decompile.
Sent from my GT-I8150 using xda app-developers app
Can somebody upload a flashable SystemUi.apk? I'll probably do something wrong and mess up my bar.
Thank you.
Sent from my GT-I8150 using Tapatalk 4 Beta
FelixMG said:
Can somebody upload a flashable SystemUi.apk? I'll probably do something wrong and mess up my bar.
Thank you.
Sent from my GT-I8150 using Tapatalk 4 Beta
Click to expand...
Click to collapse
If i read right, you're using cm9....this mod it's only for cm10
jam90 said:
If i read right, you're using cm9....this mod it's only for cm10
Click to expand...
Click to collapse
Hey Jam90, I have new code, later I'll post
Sent from my GT-I8150 using xda app-developers app
---------- Post added at 10:18 PM ---------- Previous post was at 09:50 PM ----------
Oke guys, clean up my previous code, and change with this new code go here : http://forum.xda-developers.com/showthread.php?t=2356012

[MOD][GUIDE][HOW TO][PORT s5 recent panel]

****PORTED S5 RECENT PANEL****​​
Tools required:
-Any tool which can decompile and recompile apk (e.g apktool i use)
-Notepad++
GUIDE:
STEP1:
Decompile your SystemUI.apk
STEP2:
Navigate to res/layout/system_bar_recent_item and open it with notepad++
STEP3:
FIND:
Code:
xmlns:android="http://schemas.android.com/apk/res/android">
And paste the below code
Code:
<FrameLayout android:gravity="center" android:id="@id/recents_item_background_shadow" android:background="#ff005764" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="6.0dip" android:foreground="@drawable/tw_recents_app_bg">
<ImageView android:layout_gravity="center" android:id="@id/recents_item_background" android:layout_width="@dimen/tw_status_bar_recents_panel_bg_width" android:layout_height="@dimen/tw_status_bar_recents_panel_bg_height" />
</FrameLayout>
STEP 4:
Navigate to res/layout-land/status_bar_recent_item and open it with notepad++
Find:
Code:
android:id="@id/recent_item"
And place the below code after that
Code:
<FrameLayout android:gravity="center" android:id="@id/recents_item_background_shadow" android:background="#ff005764" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="6.0dip" android:foreground="@drawable/tw_recents_app_bg">
<ImageView android:layout_gravity="center" android:id="@id/recents_item_background" android:layout_width="@dimen/tw_status_bar_recents_panel_bg_width" android:layout_height="@dimen/tw_status_bar_recents_panel_bg_height" />
</FrameLayout>
STEP5:
Navigate to res/layout-port/status_bar_recent_item and open it with notepad++
Find:
Code:
android:id="@id/recent_item"
And place the below code after that
Code:
<FrameLayout android:gravity="center" android:id="@id/recents_item_background_shadow" android:background="#ff005764" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="6.0dip" android:foreground="@drawable/tw_recents_app_bg">
<ImageView android:layout_gravity="center" android:id="@id/recents_item_background" android:layout_width="@dimen/tw_status_bar_recents_panel_bg_width" android:layout_height="@dimen/tw_status_bar_recents_panel_bg_height" />
</FrameLayout>
STEP6:
Time to create ids.
Navigate to res/values and open strings.xml
Paste the below lines
Code:
<string name="recents_item_background_shadow">recent</string>
<string name="recents_item_background">no shadow</string>
Open ids.xml and paste the below lines
Code:
<item type="id" name="recents_item_background_shadow" />
<item type="id" name="recents_item_background" />
Open dimens.xml and paste the below lines
Code:
<dimen name="tw_status_bar_recents_panel_bg_width">100.0dip</dimen>
<dimen name="tw_status_bar_recents_panel_bg_height">120.0dip</dimen>
Download the .9.png from the attachment and paste it into drawable-hdpi
Recompile and done.
Screenshot and video:
You Tube video
{
"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"
}
Thats it...Have fun!!:laugh:
This thread will be updated soon ..because am experimenting with app icon dimens values...
I have very very less time
try it out..have any questions?..ask in the thread.
Credits:
Samsung for s5 dump
@_Sale_ for SystemUI.apk
DOWNLOAD THE BELOW
Code:
tw_recents_bg.9.png
thanks to @RRGrr
Thank you so much RC! :thumbup:
Download:
XWMS3_S4_T_RECENT_S5
so am i the first? good work @cfi 5*
_Sale_ said:
so am i the first? good work @cfi 5*
Click to expand...
Click to collapse
Yes
Seems chill did not allow me to reserve a post.
Regards,
Neel
Vivek_Neel said:
Yes
Seems chill did not allow me to reserve a post.
Regards,
Neel
Click to expand...
Click to collapse
Talk to a mod to re-arrange thread for you.
Great guide Vivek. Very thorough as always
PurifieD Domination S4
Does this method work in mini s3?
Does this method work in mini s3?
Try and report back.
It may work
Regards,
Neel
batmunkh.baachka said:
good work mate. please fix icons background or remove this icon
Sent from my GT-I9100 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Oh sorry buddy.
Did not have time to make the icons.
Will do
Regards,
Neel
Vivek_Neel said:
Yes
Seems chill did not allow me to reserve a post.
Regards,
Neel
Click to expand...
Click to collapse
Oh my .. Sorry Sir, Just excited.
I will delete it now. :angel:
EDIT : What am I thinking. I can't delete my post.. LOL. Hehehe.
-Chill said:
Oh my .. Sorry Sir, Just excited.
I will delete it now. :angel:
EDIT : What am I thinking. I can't delete my post.. LOL. Hehehe.
Click to expand...
Click to collapse
Np m8.
Let it be there.
Regards,
Neel
Vivek_Neel said:
Np m8.
Let it be there.
Regards,
Neel
Click to expand...
Click to collapse
Noted that Sir. Hoping that I can include this to the project that I will make.
End of OT.
-Chill said:
Noted that Sir. Hoping that I can include this to the project that I will make.
End of OT.
Click to expand...
Click to collapse
Feel free to
Regards,
Neel
i follow the guide but with the system ui of s3 mini . when i recompile , ticklemyandroid give me error
Is for android 4.1.2? I tried to make this but, I can not, I have Galaxy Core android 4.1.2 HDPI, the archives are the same
well i did like the guide but i skipped step 5 as i dont have an "res/layout-land/status_bar_recent_port" in my s4 mini .. is this step so important ??
what is this ?? i means it look like multiwindow
or is it a recent panel ???
remo1995 said:
i follow the guide but with the system ui of s3 mini . when i recompile , ticklemyandroid give me error
Click to expand...
Click to collapse
Lanatico said:
Is for android 4.1.2? I tried to make this but, I can not, I have Galaxy Core android 4.1.2 HDPI, the archives are the same
Click to expand...
Click to collapse
Y don't you guys post the log?
rrgrrg said:
well i did like the guide but i skipped step 5 as i dont have an "res/layout-land/status_bar_recent_port" in my s4 mini .. is this step so important ??
Click to expand...
Click to collapse
Its
Code:
status_bar_recent_item
sukhi.priceless said:
what is this ?? i means it look like multiwindow
or is it a recent panel ???
Click to expand...
Click to collapse
That's side control app
Sent from my Nexus 5 using XDA Free mobile app
@Vivek_Neel then y its screenshot is in the OP ??
its a separate app frm play store then y it is here ???

[GB][GUIDE/MOD/SHARE] - Redux Power Menu

Hello fellow XDA users, I have another mod over here and it is exactly unique as I havent seen a guide like this.
What is this all about?
This is a Power Menu, a renewed and redux Power Menu of mine, I am sharing this to everyone for they surely want it too. This mod compose of the following:
PROS:
1. JB Sound Panel
2. Advance Reboot Option (Fast boot added)
3. Re-arrange Power Menu
4. Screenshot added
CONS:
No data network list adapter
Click to expand...
Click to collapse
Screenshot:
{
"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 modification comprises of the GlobalAction.java and framework-res and lil trick, I modified the AOSP GlobalAction.java and make it in stock (I gurantee no problem at all.) So the data network list adapter wasnt added back but I am doing everything I could just to bring it back again and again. Since I am annoyed too that there is no data network overthere. Also I tried to port the smali to stock but I am having a problem with Verification Error(I think the API is the cause, the invoke gA, g0, p0 thingy. LOL.)
This also work with other device since its AOSP made. I dont knew where to put the thread around the XDA , I only knew this Galaxy Y Forum cause it rocks and hell awesome.
Enough said, Ill be dividing this guide unto parts. The android.policy.jar and the framework-res.apk
Requirements:
1. ApkTool
2. PC
3. Your very own android.policy.jar
4. Your framework-res.apk
5. Working brain with some time to think since Ill be making your head dizzy.
6. A Galaxy Y
7. And the zip you will download at the bottom.
Click to expand...
Click to collapse
Before proceeding,
For those in doubt, backup first. You are not Chuck Norris Lets get it on.
Click to expand...
Click to collapse
Instruction
Prologue:
1. Extract the zip file in any directories you want
Chapter 1. Making your framework-res ready for the battle.
1. Pull your framework-res.apk
2. Decompile your framework-res.apk
3. Now go to the extractred file and go to its framework-res folder and find the 2 folder(drawable-ldpi and layout) and copy it to your framework-res.apk/res/*here
4. Now after copying, compile your framework-res.apk now.
5. Now its finish, save it. But.. decompile your new framework-res.apk again. Why? To see the new public ids that had been registered.
Chapter 2. Subtitute the old GlobalAction troops with the new GlobalAction (ALL HAIL SOLDIERS.)
1. Pull your android.policy.jar
2. Decompile your android.policy.jar
3. Now delete all the GlobalActions.smali in com/android/internal/policy/impl also with the dollar sign, delete them all. No remnants will survive.
4. Lets go back to the zip that you had downloaded, check the com/android/internal/policy/impl folder, you will see a GlobalAction.smali with other co-smali. Copy all of them and paste it to your decompiled android.policy.jar.
Chapter 3. Substitution of IDs (NO ID NO ENTRY)
1. Go to your decompiled new framework-res.apk/res/values/public.xml
2. Take note of the following ids that had been added at chapter 1. Maybe you write them, memorize or what so ever. Mainly they are the
<public type="id" name="soundpanel1" id="0x010202aa" />
<public type="id" name="soundpanel2" id="0x010202ab" />
<public type="id" name="soundpanel3" id="0x010202ac" />
<public type="drawable" name="ic_lock_reboot" id="0x010803ed" />
<public type="drawable" name="ic_lock_screenshot" id="0x010803ef" />
<public type="layout" name="global_actions_jbsoundpanel" id="0x01090092" />
Click to expand...
Click to collapse
(Our ids may vary depending on the number that had been registered, but here is mine as an example)
3. Go to your android.policy.jar(the one with a new GlobalAction man ) Open the GlobalActions.smali
4. Find the "0x10803ef" without quotation. and replace it with corresponding id of your "ic_lock_reboot"
Mine was 0x010803ed, so I changed 0x10803ef to 0x010803ed
5. Same with screenshot button, find "0x10803f0" and replace it with the id of "ic_lock_screenshot"
6. Save your GlobalActions.smali
Chapter 4. Making the ultimate weapon of the story. (LAZZEERRRR ZWORD!)
1. Go to GlobalActions$JBSoundPanel.smali in your android.policy.jar and open it.
2. Find "0x1090093" and replace it with the id of your "global_actions_jbsoundpanel" layout.
3. Now this will be the hardest, really hard. ...
4. Find " .array-data 0x4" , below it you will see a three (musketteers/weirdos/hex) and end with ".end array-data" right?
Additional Info: They are the ids soundpanel1, soundpanel2, soundpanel3. The order were ,soundpanel1 at the top id array, at the middle id array was the soundpanel2 and the bottom id array was soundpanel3.
Example(The given):
0xabt 0x2t 0x2t 0x1t #soundpanel1
0xact 0x2t 0x2t 0x1t #soundpanel2
0xadt 0x2t 0x2t 0x1t #soundpanel3
When they are converted, they where be
<public type="id" name="soundpanel1" id="0x010202ab" />
<public type="id" name="soundpanel1" id="0x010202ac" />
<public type="id" name="soundpanel1" id="0x010202ad" />
Take a look at "0xabt 0x2t 0x2t 0x1t", So the logic in this will be,
1st 5 digit is the 2digit to the last of the ids
2nd 4digit is the 2 digit before the last 2 ids
3rd 4digit is the 2 digit before the before of the last 2 digit
4th 4digit is the 4 digit at the beginning of the public id.
As my case I have an id of
0x10202aa so it will be 0xaat 0x2t 0x2t 0x1t
Click to expand...
Click to collapse
(NEVER EVER FORGET THE T.)
5. Save the file
6.Recompile your android.policy.jar
7. Push/Flash the new framework-res.apk and android.policy.jar
8. Dont worry there will be NO bootloop will occur, if problem exist, take a logcat in the error. I am not a fortune teller(just a handsome man.)
Click to expand...
Click to collapse
Download link:
The zip, the protagonist of the story,
https://drive.google.com/file/d/0B2tO5pSUM6fpa00zRF9sMUlsUzg/edit?usp=sharing
Click to expand...
Click to collapse
Credits:
squadzone, for the CMX Source of him
mariozawa for teaching me how to use broadcast intent properly.
spacecaker, for comparing mine from his
kahvitahra, for the hotboot idea and the usage in alert dialog builder in Windows
ocoot and lidroid, for the screenshot and reboot png
Click to expand...
Click to collapse
Take note(Commercial):
I gonna advertise PxL now , it has like this and it has more features than this. Spare me.
I advertise PotatoInc of mariozawa too, that freaking awesome mod at its madness.
Dont forget to press thanks button.
Also, be careful of the "0x010202ab" whenever you are putting it in smali, delete the second zero athe beginning, so it will be like this, "0x10202ab" this issue occurs in apktool.
And I feel sorry because I am messing up this thread since I want to make it lively. I am a crazy ass man, sorry admins :3
Click to expand...
Click to collapse
Greets,
PineappleOwl​
Reserved for the sidequest of the ZIP
BEHOOOOLD OF THE MIGHTY EPM (or whatever that name is)
Mranggapo said:
BEHOOOOLD OF THE MIGHTY EPM (or whatever that name is)
Click to expand...
Click to collapse
I just only copy the name from somewhere guide. HAHAHA. Deymm.
I will try this Ultimate Weapon. XD
PineappleOwl said:
I just only copy the name from somewhere guide. HAHAHA. Deymm.
Click to expand...
Click to collapse
noob question sir, i just want to know what is the main difference between your mod and this (except those icons at bottom of menu)
TIA !
AbhiLP said:
noob question sir, i just want to know what is the main difference between your mod and this (except those icons at bottom of menu)
TIA !
Click to expand...
Click to collapse
Hello. Sir bumslayer guide only covers up the reboot button. But mine was i added screenshot and soundpanels hehe
hmm... look like cmx
nice guide
will try
Minions_Army said:
hmm... look like cmx
nice guide
will try
Click to expand...
Click to collapse
I forked CMX hehehe .
i think i've seen this before... hell yeah from spacecaker's github nice guide bro! i'm making an API for view theming, like position changing and color changing, well i dont think you guys need it
AuliaYF said:
i think i've seen this before... hell yeah from spacecaker's github nice guide bro! i'm making an API for view theming, like position changing and color changing, well i dont think you guys need it
Click to expand...
Click to collapse
He has but we are kinda bit similar I fork from CMX. ?
It will be a giant leap to our device. Good luck buddy ?
Any help? http://pastebin.com/HBR333k9
AWESOME GUIDE I looking for JB SoundPanel
And its work like a charm
Oh yea this is so awesome
Do I smell a version 3 of your StockRedux Sir ?
Nice guide thank you.
aldzi said:
Any help? http://pastebin.com/HBR333k9
Click to expand...
Click to collapse
What did you do sir?
TheNightBaron said:
Oh yea this is so awesome
Do I smell a version 3 of your StockRedux Sir ?
Nice guide thank you.
Click to expand...
Click to collapse
Oh there still someone who knew it
Good work bro! Try making a xposed module
Sent from moon
PineappleOwl said:
What did you do sir?
Oh there still someone who knew it
Click to expand...
Click to collapse
when recompile the jar i got error sir,and that is the log and i using latest backsmali manager
i have idea
porting volume slider look like JB
but use source from cmx
i try to port this but failed..may be im very noob in java
m4RinKo2 said:
Good work bro! Try making a xposed module
Sent from moon
Click to expand...
Click to collapse
Hehe i dont know yet how but ill do it if i need hehehe
aldzi said:
when recompile the jar i got error sir,and that is the log and i using latest backsmali manager
Click to expand...
Click to collapse
Try apktool hehe
Minions_Army said:
i have idea
porting volume slider look like JB
but use source from cmx
i try to port this but failed..may be im very noob in java
Click to expand...
Click to collapse
Try modding by GB, CMX has some backported packages.?
Minions_Army said:
i have idea
porting volume slider look like JB
but use source from cmx
i try to port this but failed..may be im very noob in java
Click to expand...
Click to collapse
i'm a litle bit confused, stock volume popup using Toast and setView method, but if i put seekbar in it, the popup only appear by it's duration.

[MOD][GUIDE] Xperia Z2 styled Tabbed statusbar

How to port Xperia Z2 Styled tabbed statusbar
Many people asked me to release my tabbed view so here it is. its very easy because these tabs all needs you to add all ids and such and then in all smali you need to fix 0x730254 etc values.
BUT NOW!!! that time is over i have been working on these toggles for a few days now and its set so it will get all values etc with only packagename
so you only need to copy paste the stuff i say you to
{
"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"
}
REQUIREMENT:
- BRAIN
- Patient
- Know how to decompile/recompiling Apk file
- notepad++
- Tool for decompiling, : apkmanager/apktool/Virtous/apkmultitools/ etc,
1. Decomple SystemUI.apk
/res/values/ids.xml
Add the following values to ids.xml
Code:
<item type="id" name="spomc_xperia_tabs">false</item>
<item type="id" name="spomc_xperia_tabbuttons">false</item>
2. Copy paste the Attached TabContent.zip to ur systemui/
This will add the resources and tabbed smali's.
3. Goto /res/layout/statusbar_expanded.xml
after opening the layout you will see something like this in first few rows.
Code:
xmlns:android="http://schemas.android.com/apk/res/android">
Paste the following code under it.
Code:
<com.spacey.xperiatabs.TabButtons android:gravity="center" android:layout_gravity="top" android:orientation="horizontal" android:id="@id/spomc_xperia_tabbuttons" android:background="#aa000000" android:layout_width="fill_parent" android:layout_height="42.0dip" />
<com.spacey.xperiatabs.TabBase android:id="@id/spomc_xperia_tabs" android:background="#aa000000" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="0.8" android:layout_below="@id/spomc_xperia_tabbuttons">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
[COLOR="Magenta"]<TextView android:textColor="#ffffffff" android:gravity="center" android:paddingBottom="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="This you can fill up " android:layout_centerInParent="true" android:layout_centerHorizontal="true" android:layout_centerVertical="true" />[/COLOR]
</LinearLayout>
and before
Code:
</com.android.systemui.statusbar.ExpandedView>
add this
Code:
</com.spacey.xperiatabs.TabBase>
4. Save it all
and Recompile SystemUI.apk
5. U should be done now.
FAQ
The Magenta colored code you can change with like maybe my toggles http://forum.xda-developers.com/galaxy-y/general/mod-easy-grid-toggles-copy-paste-t2854197 or anything else
CREDITS:
[/B]
AuliaYF
TentenPonce
TuxKids
Aryne
Potato Bro's
SonyXperiaZ2 for pngs
SpaceCaker ofcourse!
Attachements:
TabContent.zip dl link https://dl.dropboxusercontent.com/u/56034188/1CM7 acei/TabContent.zip
or see bottom of post for attached zip
spaceholder
sorry sir but
one last question m on jb 4.2.2 with serajr toggles xperia l
and can u tell me how to edit or pls do it for me I will give u my statusbarexpanded.xml
Solved
yeaaaa.... you should create more bro!
Holy status bar! Need to try it asap.
EDIT: How can I put text on buttons sir @SpaceCaker ? And How do I put the Notifications on First Tab sir and also how do I put the toggles on Second Tab? Sorry for the noob question.
jasper~ said:
Holy status bar! Need to try it asap.
EDIT: How can I put text on buttons sir @SpaceCaker ? And How do I put the Notifications on First Tab sir and also how do I put the toggles on Second Tab? Sorry for the noob question.
Click to expand...
Click to collapse
uh the linearlayout is where you want to put the toogles
its automatically detect the first layout to notif sir
Mranggapo said:
uh the linearlayout is where you want to put the toogles
its automatically detect the first layout to notif sir
Click to expand...
Click to collapse
The attachment below is the screenshot of first tab sir. I received sms and there is no notification on the first tab.
yeah,,sir,,,nice,,i try to it on my 4.3:fingers-crossed:
jasper~ said:
The attachment below is the screenshot of first tab sir. I received sms and there is no notification on the first tab.
Click to expand...
Click to collapse
give me your expanded.xml sir
jasper~ said:
The attachment below is the screenshot of first tab sir. I received sms and there is no notification on the first tab.
Click to expand...
Click to collapse
its all layouting
yash989 said:
sorry sir but
one last question m on jb 4.2.2 with serajr toggles xperia l
and can u tell me how to edit or pls do it for me I will give u my statusbarexpanded.xml
Click to expand...
Click to collapse
put ur expanded.xml on pastebin.com ok ?
i will try for you
only because today i am nice
jasper~ said:
The attachment below is the screenshot of first tab sir. I received sms and there is no notification on the first tab.
Click to expand...
Click to collapse
sir,i think two layout is two tab.
Mranggapo said:
uh the linearlayout is where you want to put the toogles
its automatically detect the first layout to notif sir
Click to expand...
Click to collapse
Mranggapo said:
give me your expanded.xml sir
Click to expand...
Click to collapse
Here is my edited expanded.xml .
Myth2014 said:
sir,i think two layout is two tab.
Click to expand...
Click to collapse
what do you mean sir?
---------- Post added at 02:58 PM ---------- Previous post was at 02:57 PM ----------
SpaceCaker said:
put ur expanded.xml on pastebin.com ok ?
i will try for you
only because today i am nice
Click to expand...
Click to collapse
Can mine, too?
jasper~ said:
what do you mean sir?
---------- Post added at 02:58 PM ---------- Previous post was at 02:57 PM ----------
Can mine, too?
Click to expand...
Click to collapse
yeah,,,look like:
<com.spacey.xperiatabs.TabBase android:id="@id/spomc_xperia_tabs" android:background="#aa000000" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="0.8" android:layout_below="@id/spomc_xperia_tabbuttons">
<TextView android:textColor="#ffffffff" android:gravity="center" androidaddingBottom="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="First Tab " android:layout_centerInParent="true" android:layout_centerHorizontal="true" android:layout_centerVertical="true" />
<TextView android:textColor="#ffffffff" android:gravity="center" androidaddingBottom="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Second Tab" android:layout_centerInParent="true" android:layout_centerHorizontal="true" android:layout_centerVertical="true" />
</com.spacey.xperiatabs.TabBase>
A layout is a Tab,,,
SpaceCaker said:
put ur expanded.xml on pastebin.com ok ?
i will try for you
only because today i am nice
Click to expand...
Click to collapse
i and samsoul fix it
thanks for help and awsome guide
will there be update fir toggles like profile reboot and all?
yash989 said:
i and samsoul fix it
thanks for help and awsome guide
will there be update fir toggles like profile reboot and all?
Click to expand...
Click to collapse
reboot toggle
dude super smart :3 thanks will try to implement
SpaceCaker said:
reboot toggle
dude super smart :3 thanks will try to implement
Click to expand...
Click to collapse
here are some toggles I can say
profile sync reboot power off teetering lockscreen USB Debugging flash light stay awake roaming and if time (stamina nfc)
just suggestions
u r great
Can the button on the bottom?:fingers-crossed:

Categories

Resources