yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] Goldie:
So its still on 2 lines by looks of it. I would leave the text size small until you know its on one line. Upload your dateview smali :)
[Galaxy S II General] Tired Storeman:
DateView from SystemUI\smali\com\android\systemui\statusbar\policy
[Galaxy S II General] Goldie:
Try replacing maxlines with android:singleLine = true on the dateview
[Galaxy S II General] Tired Storeman:
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textSize="12.0dip" android:textColor="#ffffffff" android:ellipsize="none" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginRight="4.0dip" android:singleLine="true"/>

Gives my the same result, only one word showing
[Galaxy S II General] Goldie:
What does your expanded date style look like?
[Galaxy S II General] Tired Storeman:
<style name="TextAppearance.StatusBar.Expanded.Date" parent="@style/TextAppearance.StatusBar.Expanded">
<item name="android:textSize">12.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:textAllCaps">true</item>
</style>
[Galaxy S II General] Goldie:
Maybe add singleLine = true to that as well?
[Galaxy S II General] Tired Storeman:
[CODE<style name="TextAppearance.StatusBar.Expanded.Date" parent="@style/TextAppearance.StatusBar.Expanded">

<item name="android:textSize">12.0dip</item>

<item name="android:textStyle">normal</item>

<item name="android:textColor">#ffffffff</item>

<item name="android:textAllCaps">true</item>

<item name="android:singleLine">true</item>

</style>][/CODE]

Still no luck

i dont think we have changed the width of the date container, so it may not be showing the other words because the width is to narrow, could this be the case?
[Galaxy S II General] Goldie:
In tools folder if the sdk there is a tool called heirarchyviewer. Open that....pull down dropdown and load the views. It will show you the view size and give an idea whats wrong. :)
[Galaxy S II General] kintwofan:
Nice, can I get your framework-res, twframework-res, and systemui. I'm getting errors recompiling using mine. Probably because the ROM I'm working on at the moment is so heavily modified
[Galaxy S II General] CarlM34:
Thanks for all you are doing with this its appreciated greatly:)

http://d-h.st/KVa
[Galaxy S II General] Many40:
Good afternoon all,

I have a question related to two mods posted here (made by [MENTION=1670609]shoman94[/MENTION] and [MENTION=2471504]jeboo[/MENTION] - maybe I should ask them first?):

- CRT-OFF+ Toggle

- Edge Zoom + Toggle

My aim is to have both mods working. What I've done is:

1. implemented the first mod - it's working like a charm

2. in "Edge Zoom + Toggle":

- made necessary changes into framework.jar - OK

- decompiled SecSettings.apk and started to modify DisplaySettings.smali, however realized that both mods are sopposed to modify the same line:

from:

to:

where :cond_new codes of two mods (to be implemented in the same smali) are of course different.

Could someone advice me how to implement the changes in Secsettings.apk / DisplaySettings.smali to have both mods working?
[Galaxy S II General] Vivek_Neel:
guys..one help

am doing this mod

http://xdaforums.com/showpost.php?p=37797739

and i get error while recompiling

it says "cond_1 is not defined

"goto_4 is not defined

and something like "mismatched "

how to overcome this?
[Galaxy S II General] bombaybadboy:
Hi mate Im working on a mod with both myself and tdunham posted this. I havent got to that part yet but it may help

http://xdaforums.com/showthread.php?p=44242004

Its next after I find my last 2 pngs
[Galaxy S II General] engloa:
Are you trying to change the 2 png's your arrows points to mate?
[Galaxy S II General] MyLifeRocks10:
For settings icon-->SecSettings.apk/res/mipmap-hdpi/ic_launcher_settings.png

For title bar--> I guess it is framework-res.apk/res/drawable-hdpi/tw_ab_transparent_dark_holo.9.png
[Galaxy S II General] Goldie:
Rename one cond_new2? It will be turned into a number on compile anyway

---------- Post added at 04:21 PM ---------- Previous post was at 04:18 PM ----------

Your cond is probably not cond_1. Same with goto. Decompile his version and look what his cond_1 is and then find that in yours and substitute cond_1 in the new code with whatever your cond is. Repeat for goto.
[Galaxy S II General] Vivek_Neel:
Hmm..mate..am sorry..

Am not getting u..

-what does "decompile his version"means?

-and I dont have cond_1 in my displaysettings.xml (smali/com/android/settings)

(Am gettind this error only when I recompile classout)rest of the things is done

I will learn java soon..ha ha:D:D

Thnx mate
[Galaxy S II General] bombaybadboy:
yes thats the ones m8, I have been trying to edit so many .9.pngs and each time for the title bar and keep getting the wrong one :)

Thankyou m8 I will give them a try, if thats them I was looking at the wrong pngs. I dont like .9s :)
[Galaxy S II General] engloa:
Meeped by MyLifeRocks10:banghead:
[Galaxy S II General] bombaybadboy:
Isnt there an easy way to find the pngs, some tool in sdk some script anyone may have made :D
[Galaxy S II General] Goldie:
As in download his version of the mod and decompile it. I know you dont have cond_1. Thats what I wad saying. You need to look at his files to see what comes under cond_1, then search that line in your file and see what cond it is in yours.

Then replace cond_1 in the new code with whatever you found

Incidentally....I know zero java :p
[Galaxy S II General] engloa:
Lol:D

Looking for an easy way out eh?

If you have time, go through the styles.xml of framework-res/res/values :p
[Galaxy S II General] Vivek_Neel:
Hmm...then I wonder how did u do many remarkable things on xda?..

Whats actually needed to learn/understand these things?
[Galaxy S II General] Goldie:
Heirarchyviewer may also help here :)
[Galaxy S II General] bombaybadboy:
patiences :D
[Galaxy S II General] MyLifeRocks10:
And Brain.:p:D:D
[Galaxy S II General] Vivek_Neel:
Now dont say that even u dont know java.

I wont believe. .:D
[Galaxy S II General] bombaybadboy:
I have use Heirarchyviewer to help point to the correct smali but not found ways for pngs :confused: . Sometimes I can track them down through taking a closer look at res/layout but most of the time I edit 5 pngs to find the right 1 :) samsung leave so much junk behind on there apps :D
[Galaxy S II General] engloa:
Java?? What's that?:confused:;)
[Galaxy S II General] Vivek_Neel:
"PROGRAMMING LANGUAGE"

It's named after the coffee bean favoured by the developers pulling all-nighters to get the project completed on time.

I KNOW YOU ARE KIDDING ME.::(
[Galaxy S II General] Goldie:
You havent seen the picture then? Double click the smali....you get something like this which identifies every element in the screen...
[Galaxy S II General] bombaybadboy:
Havent thought about that, I will try because I have seccontacts secphone and secmms.apk next :o
[Galaxy S II General] Many40:
Thanks mate, the link was very helpful. Now my both toggles work very well.
[MENTION=3065070]Goldieking[/MENTION] - thank you as well for your hint :good:
[Galaxy S II General] Tired Storeman:
Do you wantme to load statusbar hierachy view?
[Galaxy S II General] bombaybadboy:
May help point to the smali involved in what you are trying to do. I have never seen someone try your project before :confused:
[Galaxy S II General] Tired Storeman:
Im sorry, i dont quite follow you, do you want to know which smali i want to edit?

---------- Post added at 04:12 PM ---------- Previous post was at 04:00 PM ----------

yeah, i have searched changing notification date expanded date all over xda, the only post i could find was for changing date string format for SGS 3

http://xdaforums.com/showthread.php?t=1826320
[Galaxy S II General] Goldie:
Yes whilst dropdown is pulled down the current view will be bold. Double click the bold one. It will load and you will see your phone screen in bottom right window. It shows outlines of all elements so you will be able to see if it's not wide enough or if the problem is with the text itself
[Galaxy S II General] :
I don't know why but whenever I think of taking help I come back to this thread. And Subscribed from day 1 when I entered XDA. [MENTION=4608459]bombaybadboy[/MENTION] [MENTION=1042140]tdunham[/MENTION]

I'm very weak in smali. I followed the guide for adding screenshot option in power menu and now when I press power button phone reboots.

If anyone here willing to help me out.

Let Me remind you I've MEDIATEK 6577 Device (a kinda hell for moders and themers).

I can upload my globalaction.smali or the whole android.policy.jar

Sent from Micromax A110 (Canvas 2) using SUVI-Heart Rom.
[Galaxy S II General] Goldie:
Log says.....? :p
[Galaxy S II General] Jeetu:
Hey everyone.

need a guide to Change a Notification Pulldown Background.

Thanks
[Galaxy S II General] Tired Storeman:
Looks like it may not be big enough, if that is it in the top left hand corner

actually i dont know if that is the right view, keyguard was bold
[Galaxy S II General] bombaybadboy:
Number 8 on this guide

http://xdaforums.com/showthread.php?p=39469031
[Galaxy S II General] :
In LOG I m not able to understand what it want to say actually. So. Uploading the full log.
[Galaxy S II General] Goldie:
You can click the boxes and it will highlight in the main window which view is which.
[Galaxy S II General] Tired Storeman:
Sorry Goldie, this one is statusbar
[Galaxy S II General] Goldie:
Your registers are messed up....

W/dalvikvm( 2127): VFY: tried to get class from non-ref register v2 (type=11)

W/dalvikvm( 2127): VFY: rejecting opcode 0x70 at 0x0045

W/dalvikvm( 2127): VFY: rejected Lcom/android/internal/policy/impl/GlobalActions;.createDialog ()Landroid/app/AlertDialog;

W/dalvikvm( 2127): Verifier rejected class Lcom/android/internal/policy/impl/GlobalActions;

D/dalvikvm( 2127): threadid=27: exiting

W/dalvikvm( 2127): threadid=27: thread exiting with uncaught exception (group=0x4146c908)

E/AndroidRuntime( 2127): *** FATAL EXCEPTION IN SYSTEM PROCESS: WindowManagerPolicy

....you are calling v2 which isnt referenced already
[Galaxy S II General] Tired Storeman:
Now we are gettin somewhere:D

This is with width set to 150dip
[Galaxy S II General] Goldie:
View isnt high enough by looks of it. Change dateview height to same as expanded header
[Galaxy S II General] :
Sir,

Thanks a Ton for this quick reply. But Sir, will you take a look on my GlobalAction.smali File. I m not able to understand this registers and other things in smali files. In the 6 months of my journey on XDA I learned the xml & formating the layout but smali is still not seems to be my cup of tea.

So please requesting you to have a look on the smali attached here.
[Galaxy S II General] Tired Storeman:
Set height to 39dip

That moved the text to the top

[CODE<?xml version="1.0" encoding="utf-8"?>

<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="39.0dip" android:baselineAligned="false"

xmlns:android="http://schemas.android.com/apk/res/android"

xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">

<RelativeLayout android:id="@id/settings_button" android:background="@drawable/tw_quick_panel_setting_button_bg" android:focusable="true" android:visibility="visible" android:layout_width="@dimen/status_bar_expanded_setting_width" android:layout_height="39.0dip">

<ImageView android:id="@id/settings_button_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/tw_quickpanel_icon_settings" android:scaleType="center" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:contentDescription="@string/accessibility_settings_button" />

</RelativeLayout>

<ImageView android:layout_width="1.0dip" android:layout_height="25.0dip" android:layout_marginTop="7.0dip" android:layout_marginBottom="7.0dip" android:src="@drawable/tw_quick_panel_plnm_setting_dv" />

<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textSize="12.0dip" android:textColor="#ffffffff" android:ellipsize="none" android:id="@id/date" android:layout_width="150.0dip" android:layout_height="39.0dip" android:layout_marginLeft="8.0dip" android:layout_marginRight="4.0dip" android:singleLine="true"/>

<com.android.systemui.statusbar.RotationToggle android:id="@id/rotation_lock_button" android:visibility="gone" android:clickable="true" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_margin="8.0dip" android:button="@drawable/ic_notify_rotation" android:contentDescription="@string/accessibility_rotation_lock_off" />

</LinearLayout>][/CODE]
[Galaxy S II General] Goldie:
Which guide did you follow?
[Galaxy S II General] :
Sir~

I followed the tdunham Sir's guide and changed as per my smali files.

Was there some thing wrong.
[Galaxy S II General] Goldie:
Link?
[Galaxy S II General] :
Oh sorry.

Here it is....

http://xdaforums.com/showthread.php?t=2125196
[Galaxy S II General] Goldie:
Did you upload the wrong file? There is no reference to screencapture in that GlobalActions?
[Galaxy S II General] :
No Sir,

I have uploaded the raw file so that you can tell Me what I've to add and where coz then I'll port it to all roms of my device forum.
[Galaxy S II General] Tired Storeman:
[MENTION=3065070]Goldieking[/MENTION]

Even with <com.android.systemui.statusbar.policy.DateView, text size set to 4.0dip only one word of the date is displayed

So i guess the text view must be controlled elsewhere:confused:
[Galaxy S II General] Jeetu:
Hey guys .

I need some help.

I added the lock screen icon on notification bar.

But now I can't see my clear button.

But clear button appears when I select 24 hr in my date and time. It is beacuse of that am/pm.

Any solution for this when I change the am style it wont affect in dropdown clock so that clear button always there.

See screenshot

Sent from my GT-I9100 using Xparent Blue Tapatalk 2
[Galaxy S II General] Many40:
It's similar issue what I had after I added two additional buttons: lockscreen and recent apps to my statusbar expanded. It's just because there is no space left for clear button. You need to make smaller existing objects like for example Time and Date.

Try changing corresponding dips (textSize) in tw_statusbar_expanded_header.xml in SystemUI > layout

Check for that a modded xml file made for me by MyLifeRocks10 here:

http://xdaforums.com/showthread.php?p=43897355
[Galaxy S II General] Jeetu:
I know buddy. But i think goldie know how to fix this without changing dpi.

There is some change in tw_statusbar_expanded_header.xml so that it won't affect dropdown clock and we dont need to change the dpi's.

Waiting for his reply

Sent from my GT-I9100 using Xparent Blue Tapatalk 2
[Galaxy S II General] Goldie:
You need to make the header clock to clockstock smali instead of clock
[Galaxy S II General] bombaybadboy:
What do you want done with your am/pm, possibly guide from didact making smaller or removing. Maybe looking through datetime.smali in systemui.apk?
[Galaxy S II General] :
[MENTION=3065070]Goldieking[/MENTION] & [MENTION=4608459]bombaybadboy[/MENTION]

Thanks a ton for helping Me. Today once again I succeeded in my modding.

Sorry for this off topic thing....

Here is my screenshot.....

View attachment 2175000

View attachment 2174998

Once again thanks a lot for this useful thread.

"""Hitting Thanks Don't Cost You Anything So Why Don't You Try Hitting It.......;););)"""

Sent From Mind Blowing Canvas Using SUVI-Heart Rom.....
[Galaxy S II General] CarlM34:
Hi all,

Quick question! Is it possible to supress the dialler press in dialler.....i.e Press whichever number (still registers as being pressed) but no icon highlighting the press? (other than making the button press png transparent) :confused::confused:

Did that make sence?:cyclops::p
[Galaxy S II General] nelsonoski1972:
Hi friends

My GS2 is on Indian JB(XWLST), rooted. I want to have Ripple lock screen effect and 4.2.2 quick Toggles. Can I use the mods for these effects made for XXLSW in my phone with XWLST and can any one of you point me the direction where I can download such modded apks.

Thanks in advance.
[Galaxy S II General] bombaybadboy:
Mods like this are built for deodexed roms not odexed firmware.
[Galaxy S II General] cbucz24:
Yea, make the pressed button the same as the regular one. It would take a bit of work but is still doable

check out our rom website, http://updater.team-nocturnal.com/labrats/
[Galaxy S II General] CarlM34:
Hi @kintwofan......I have had no luck getting this to work:( Did you manage to get anywhere? If not, do not worry:good:
[Galaxy S II General] Jeetu:
Hello everyone.

Any Guide for Sense style recent apps??

Thanks
[Galaxy S II General] :
Here you go brother. Just make sure that you have to follow touch wiz style.....

http://xdaforums.com/showthread.php?t=2188545

"""Hitting Thanks Don't Cost You Anything So Why Don't You Try Hitting It.......;););)"""

Sent From Mind Blowing Canvas Using SUVI-Heart Rom.....<3<3<3
[Galaxy S II General] Jeetu:
Thanks Mate. :)

But i see this mod is for CM10:confused:
[Galaxy S II General] engloa:
Ask ICS_XD. I sent him all the necessary files few months ago

Busy weekend, just have a few mins to check in:o
[Galaxy S II General] cbucz24:
i havent had time yet to try it but im sure this might help too.

http://xdaforums.com/showthread.php?t=2066740

its for the int note 2 but its at least touchwiz
[Galaxy S II General] Jeetu:
Yeah thanks mate.

It gives me bootloop.:(
[Galaxy S II General] tdunham:
And don't forget the mini guide I posted here too. ;)

http://xdaforums.com/showpost.php?p=44286773&postcount=1266
[Galaxy S II General] Jeetu:
Thanks Mate. Thanks alot. :thumbup:
[Galaxy S II General] Jeetu:
I just Replaced the files but it gives botloop. :(
[Galaxy S II General] :
how to change the background.....???????

Can Anyone guide how to change the background as shown in screenshot. i.e; which png file or which drawable annotation is responsible for this background. I want to theme it but not getting successful......:crying::crying::crying::crying:

So please check the screenshot......
[Galaxy S II General] HighlanderZA:
Morning All

Hi Mr Bond - The Menu POPUP mods on my thread - mod that background.

An easy way would be too DL one of them and then open up the zip to get all the png names and go from there with your own mods.

There are about 45 of them involved in all the popups, dialogs etc etc.

All those PNGS involved are 9 patch pngs so the whole de-compile edit recompile approach applies to them.

See my sig below.
[Galaxy S II General] :
A Warm Welcome to you Sir and an awesome morning as well.

Thanks a ton for your help Sir.

Still I am fighting with few things as I have changed all png that's in related to others but still the popup menu is like that.

But let me try the new png of yours from blue glow. I will try that and will let you know....

Thanks a tone once again....
[Galaxy S II General] tdunham:
I am using a US Sprint Galaxy SII variant mate. I do not think my files will work exactly as they are, especially smali. I onlly include them so you can use something to find differences between stock and modified files. Winmerge is a good program to compare files. I could not port many mods without it.
[Galaxy S II General] :
A hearty thanks to all Devs of this thread.

Again I'm successful in my theming.

Sir,

Need your permission to use your png files of blue glow theme. I've mixed with my stuff and so I want to publish it with your name in credits.

So please requesting you to grant Me permissions sir.

Here are the screenshot.

"""Hitting Thanks Don't Cost You Anything So Why Don't You Try Hitting It.......;););)"""

Sent From Mind Blowing Canvas Using SUVI-Heart Rom.....<3<3<3
[Galaxy S II General] churapa:
I just posted here all the necessary files to get Sense Style Task Manager mod.
[Galaxy S II General] cbucz24:
ok guys,

maybe someone can direct me to the right thread. i have tons favorited an linked but i dont have anything relating to this. I have a user wanting a keyboard that required dpi modding. ive never done this, but it looks like just manipulating the dimens.xml file?

the keyboard is the note 8...it stated that it needs dpi to be set at 213 or lower.

my phone is standard at 320. im not sure what to start to change to make this simulation happen. I understand that the user can instal the xposed mod that allows individual per app dpi. but i was hoping to set this myself so anyone can use it?

any thoughts?
[Galaxy S II General] bombaybadboy:
Good look, trying to work with that 4.2 toggle guide myself, just stuck on the statusbar_expanded.xml hopefully someone will make the guide for tw devices soon :D
[Galaxy S II General] :
Sir,

Can't promise. but yes I do have SGSII but its of my wife. But yes as she herlself is a graphic designer and so she always like my creativity. If I manage to get her device for 2 days, I am sure we can all do this by helping each other.

Let me ask her tonight after office for this.....

Will let you know for this.
[Galaxy S II General] bombaybadboy:
That would be good :thumbup: closest the i9100 will ever get to 4.2 :)
[Galaxy S II General] Goldie:
Whats up mate?
[Galaxy S II General] bombaybadboy:
Xml as always m8, trying to adapt that guide for i9100, I get a bit lost in tw statusbar_expanded.xml. was going to have another go today and read fully though that thread for more info.
[Galaxy S II General] engloa:
What thread?:confused:
[Galaxy S II General] bombaybadboy:
The one Goldieking let me have the link to

http://xdaforums.com/showthread.php?t=2387626

Its the one thing I have always wanted on my theme, just never thought anyone would make that guide. Just wrong device and will take a lot of thinking outside the box :confused:
[Galaxy S II General] HighlanderZA:
Morning All - Hope it was a great weekend and Monday for everyone.

Mr Bond - you may use whatever you please from my thread bud - anytime - glad it came out so well. Like the look of your toggles too, very nice.:D:good:

Phone is playing up a bit guys so I'm not flashing anything or fiddling with it. Suspect USB port is the problem and am looking for a new one.

Will report back as soon as I get it sorted.:silly::(:eek:
[Galaxy S II General] Goldie:
Want my UI to take a look at? Mighy help you :)

Im gonna move brightness slider yo volume panel and rename it "Slider Panel". Think it fits better there
[Galaxy S II General] bombaybadboy:
Would really like that if I could m8, it could help even though you do things to your apks I cant begin to understand :) thankyou m8 :thumbup:
[Galaxy S II General] Goldie:
Here ya go....

http://db.tt/hFUX1boX
[Galaxy S II General] bombaybadboy:
Thankyou m8 should give me a big boost with that mod :)
[Galaxy S II General] :
Sir, [MENTION=3065070]Goldieking[/MENTION] & [MENTION=4608459]bombaybadboy[/MENTION]

Sir why don't you use these power widget files. I think with your hands on these file will make your UI look more nicer.

Just you have to change the IDs with yours. Try it Sir.

Credit For the Files [MENTION=5204709]Adi Aisiteru Reborn[/MENTION]
[Galaxy S II General] Goldie:
Thanks. My powerwidget is already modified for my rom. What is different in these ones?
[Galaxy S II General] :
Sir,

These power widget has a layout of "3x3" both in portrait and landscape modes......

As it is in my Screenshots a few post behind....
[Galaxy S II General] BryanChia:
thanks sale, i was watching that one jsut now.. a little bit confused to me but i have it bookmarked

and now im watching this http://www.youtube.com/watch?v=oc_qzlqKvFI
[Galaxy S II General] MyLifeRocks10:
This thread is moving faster than Neat Rom thread.:p
[Galaxy S II General] Vivek_Neel:
+1

Moving in a right way.
[Galaxy S II General] engloa:
Neat Rom thread Reloaded?

Sent through my Neighbor's Open Wifi.
[Galaxy S II General] Christian Nothing:
You're right about that man ;)
[Galaxy S II General] BryanChia:
is it because im asking too many questions? @@