yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device Development Themes and Apps] whalesplaho:
still same brov.... no changes!

im thinking maybe its "systemui:datePattern" dats causing it cos in expanding screen tha clock has same format with tha one showing on status bar!....
[Sony Cross-Device Development Themes and Apps] FunSucker:
Thanks for helping, sir. Appreciated :)

Like the clock, if i used English locale will be seen "13:12:11". But, if i used other locale will be seen different. Sometimes to be be like this "13.12.11".

In some ROMs, "HH" format isnt working, and should be used "kk".

You can see others example simple dateformat from here too :

https://developer.android.com/reference/java/text/SimpleDateFormat.html
[Sony Cross-Device Development Themes and Apps] FunSucker:
Try to input the date format in status_bar.xml, not in strings.xml.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
it still didnt work.... so i used tha TextClock format & it works but when i put tha code on clock it didnt!

like dis below it wont show tha week on top tha clock;

<TextClock android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:format24Hour="EEEE" android:gravity="center" android:singleLine="true" android:textAppearance="@style/TextAppearance.StatusBar.Clock" />
<com.android.systemui.statusbar.policy.Clock android:id="@id/clock" android:layout_width="0.0dip" android:layout_height="0.0dip" android:gravity="start" android:singleLine="true" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:visibility="gone" />
<TextClock android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:format12Hour="@string/status_bar_clock_12hr_format" android:format24Hour="EEEE HH:mm:ss" android:gravity="center" android:singleLine="true" android:textAppearance="@style/TextAppearance.StatusBar.Clock" />
<TextClock android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:format24Hour="MMMM dd, yyyy" android:gravity="center" android:singleLine="true" android:textAppearance="@style/TextAppearance.StatusBar.Clock" />

but when i removed tha top code for week den add tha code to clock code, it works but which to move tha week to tha top like in yur screenshot! yhu ll see my attached screenshot below!

<com.android.systemui.statusbar.policy.Clock android:id="@id/clock" android:layout_width="0.0dip" android:layout_height="0.0dip" android:gravity="start" android:singleLine="true" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:visibility="gone" />
<TextClock android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:format12Hour="@string/status_bar_clock_12hr_format" android:format24Hour="EEEE HH:mm:ss" android:gravity="center" android:singleLine="true" android:textAppearance="@style/TextAppearance.StatusBar.Clock" />
<TextClock android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:format24Hour="MMMM dd, yyyy" android:gravity="center" android:singleLine="true" android:textAppearance="@style/TextAppearance.StatusBar.Clock" />
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Woah.... atlast it works out! thanks for all yur support [MENTION=5539344]FunSucker[/MENTION] [MENTION=4315551]Ticklefish[/MENTION].... but i still need help for notification icons overlapping on clock & also dock icons overlapping on nav bar please! [MENTION=5539344]FunSucker[/MENTION] please can yhu make tha clock background wider a bit more cos it doesnt really fits in on my phone!

<LinearLayout android:id="@+id/fun_c" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_centerInParent="true" android:layout_gravity="center" android:gravity="center" android:orientation="vertical" android:paddingStart="4.0dip" android:paddingEnd="4.0dip">
<TextClock android:id="@+id/day_statbar" android:layout_width="wrap_content" android:layout_height="wrap_content" android:format24Hour="EEEE" android:gravity="center" android:textAllCaps="true" android:singleLine="true" android:textSize="10.0dip" android:textAppearance="@style/TextAppearance.StatusBar.Clock" />
<com.android.systemui.statusbar.policy.Clock android:id="@id/clock" android:layout_width="0.0dip" android:layout_height="0.0dip" android:gravity="start" android:singleLine="true" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:visibility="gone" />
<TextClock android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:format12Hour="@string/status_bar_clock_12hr_format" android:format24Hour="@string/status_bar_clock_24hr_format" android:gravity="center" android:singleLine="true" android:textAppearance="@style/TextAppearance.StatusBar.Clock" />
<TextClock android:id="@+id/date_statbar" android:layout_width="wrap_content" android:layout_height="wrap_content" android:format24Hour="MMM dd, yyyy" android:gravity="center" android:singleLine="true" android:textSize="10.0dip" android:textAppearance="@style/TextAppearance.StatusBar.Clock" />
</LinearLayout>
[Sony Cross-Device Development Themes and Apps] Ticklefish:
For overlapping notification icons you could try setting the "@id/fun_ltop" layout to have an absolute width rather than a relative one. Something like:

<LinearLayout android:id="@+id/fun_ltop" [COLOR="Red"]android:layout_width="100.0dip"[/COLOR] android:layout_height="25.0dip" android:orientation="horizontal">

## Everything that is in here, will be in the LEFT TOP lines on your statusbar

</LinearLayout>

You'd need to experiment to get the right width for you but it'd stop the notification icons from overlapping the clock.

However it won't stop the icons from appearing - they'll just get bunched up. The trouble is the 'more' icon you see on a stock status bar when you have too many notifications only works for a stock layout. The code just can't cope if you rearrange the statusbar. You could rework the smali but I'd have no idea where to even start with that.

The only other I can think of would be to put the navigation icons inside a HorizontalScrollView (as seen in my scrolling navbar :https://xdaforums.com/crossdevice-dev/sony-themes-apps/mod-scrolling-navigation-bar-t3511437). It wouldn't be perfect but it would work.

Or change the settings in your various apps so you don't get so many notifications.. ;)

For the dock icons you'd need to mod the launcher itself.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
i have tried to mod tha launcher by creating an overlay but no luck.... when i reduced tha status_bar_height = 30.0dip instead of 50.0dip in framework-res, tha dock icons was back to normal but tha status bar icons was shattered cos of tha height reduced! den i decompiled home-release.apk & got something den tried to changed but no effect. i reduced tha status_bar_offset from 25.0dip

<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="home_default_status_bar_offset">0.0dip</dimen>
</resources>

for tha overlapping icons, i ll try 100.0dip and see what comes out.... thanks a ton buddy!

"Out of Thanks"
[Sony Cross-Device Development Themes and Apps] FunSucker:
Finally, great works sir :fingers-crossed: I wondered why you can't use "systemui: datePattern" while I can.

And one more thing, I am using 9-patch PNG for the background, and i see it wasn't working properly for you too.. I try to resize the PNG, take it from attached file please.

Like [MENTION=4315551]Ticklefish[/MENTION] say, you must decompile home-release.apk too for navbar overlapping. I have no issue with the navbar, though I use the stock launcher also (v10.0A.040)

When i have a time, i will tried to see inside home.apk sir.

For all the layouts that are on the left, yes you must set the layout width or you can try what Ticklefish said.

I've tried several layout structures that can be used without editing smali (to hide the middle part of the statusbar), and only used existing AplhaOptimized layouts. So that it can freely add something in the middle of the statusbar without overlapping between homescreen, lockscreen. and expanded status bar, sir.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
i believe its related to OS version cos dat was what was used in status_bar_expanded_header.xml & tha one yhu used, android:datepattern too doesnt work.... thanks for resizing tha clock background, gonna try right away!!!

i am using Home 10.2.A.2.10, maybe dats why. i tried making an overlay but doesnt work & i tried decompiling & recompiling Home.apk but get error while compiling, guess its due to framework files!

i would appreciate if yhu can help look into it soon please & really love tha tut, no smali edits & it works so good. i have tried to set tha layout_width to 200dip and see how it goes!
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Please sorry for bugging yhu.... still needs a bit more width buddy! [MENTION=5539344]FunSucker[/MENTION]
[Sony Cross-Device Development Themes and Apps] FunSucker:
already resized, sir. try it please
[Sony Cross-Device Development Themes and Apps] whalesplaho:
fixed.

looking so good... mind making black cos i love black:victory::good:
[Sony Cross-Device Development Themes and Apps] whalesplaho:
im trying to make tha clock seconds font smaller compared to hour & mins... i tried dis code but nothing happens!

<string name="status_bar_clock_12hr_format">h:mm:<font size="12">ss</font></string>
<string name="status_bar_clock_24hr_format">HH:mm:<font size="12">ss</font></string>
[Sony Cross-Device Development Themes and Apps] FunSucker:
My clock have 14.0sp in dimens, and thist codes is working fine sir.

<string name="status_bar_clock_12hr_format">h:mm:<font size="10">ss</font></string>
<string name="status_bar_clock_24hr_format">HH:mm:<font size="10">ss</font></string>
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Font size=10 works perfectly..... :victory::highfive::good:
[Sony Cross-Device Development Themes and Apps] FunSucker:
Nice to hear that :)
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Please share dark background for clock background... I saw a pix in Ticklefish thread for scrolling navigation bar
[Sony Cross-Device Development Themes and Apps] FunSucker:
I cant share it for now, maybe tonight. Be patient :)
[Sony Cross-Device Development Themes and Apps] whalesplaho:
No problems buddy... I ll wait!

I tried tho buh not perfect...:D:D
[Sony Cross-Device Development Themes and Apps] FunSucker:
Crop the black lines too, thats just for patching :) You can use mine. Take it
[Sony Cross-Device Development Themes and Apps] whalesplaho:
I used photoshop to add an overlay... I dnt know how to do dat since it ll make it smaller.
[Sony Cross-Device Development Themes and Apps] FunSucker:
I used photoshop too, sir. For patching any PNGs, i used draw9patch from Android SDK.

I never resizing any 9.png , because can make the patchs are "broken". So i croping it (exclude 1px lines on every sides and then patching again.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
I noticed lil bug.... Doesnt really fit like tha previous background cos tha date shifted down!
[Sony Cross-Device Development Themes and Apps] FunSucker:
How about this?
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Perfect buddy.... :highfive::good:
[Sony Cross-Device Development Themes and Apps] FunSucker:
great :fingers-crossed:

btw, i edited my post in ticklefish thread for the navbar icons and i already updated my other thread too for battery icons. maybe you want to try my white icon battery :)
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Yhu re just too fantastic buddy... Appreciate yhu some much!

There re still so many good pple.:good::highfive::victory:
[Sony Cross-Device Development Themes and Apps] FunSucker:
stop it, don't be excessive like that hahaha. We're just having fun here right :D

and thanks for your nice words :victory:
[Sony Cross-Device Development Themes and Apps] whalesplaho:
[MENTION=5539344]FunSucker[/MENTION] still needs help on navigation bar and dock icons please
[Sony Cross-Device Development Themes and Apps] FunSucker:
Can you share your launcher? Thats stock xperia home right?

Maybe i can found something.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
thanks buddy.... im gonna really appreciate!

http://www.apkmirror.com/apk/sony-m...e/xperia-home-10-2-2-10-android-apk-download/
[Sony Cross-Device Development Themes and Apps] vinaykharayat:
This guide look awesome I want it for Kitkat please.
[Sony Cross-Device Development Themes and Apps] FunSucker:
After a few days , a few version of launchers, i still cant found the solution. My navbar get overlaped too if i used launchers v12, all of them. But nothing happen in all of v10.

I hear something about expanded desktop, like on Nova. Im not sure, but if i remember, when i running on cm13 & los14, my issues is gone using thats feature.

Im really sorry, sir :(

Yes sure, will be updated for kitkat soon. After i finished my new mod project. Just be patient :)
[Sony Cross-Device Development Themes and Apps] vinaykharayat:
Quote this reply when you will finish ur new project with link to that guide :)
[Sony Cross-Device Development Themes and Apps] whalesplaho:
I understand buddy... I have tried too, maybe [MENTION=4315551]Ticklefish[/MENTION] can help too!! I might use Nova just so in love with stock.

Whats tha new project on buddy?
[Sony Cross-Device Development Themes and Apps] FunSucker:
OP updated for V.2

V.2 added. Just adding different version with different base layout :D

I can try to make it on Kitkat & Marshmallow now. Maybe somebody can help me for dumping system app from their Marshmallow stock ROM. I would really appreciate it :)
[Sony Cross-Device Development Themes and Apps] vinaykharayat:
I want that 'x' thing in which date clock is inside it. V. 1 looks better ?
[Sony Cross-Device Development Themes and Apps] FunSucker:
Yeah, same with me. V.2 just for alternatives. Maybe you need a big space for notif icons, so v.2 can handle it lol

Next update, make it for the other OS versions. I hope i can make it for 4.4 - 6.X/7.X lol
[Sony Cross-Device Development Themes and Apps] vinaykharayat:
Yes buddy you can do it ;) ........
[Sony Cross-Device Development Themes and Apps] whalesplaho:
v1 still looks great tho.... but i like tha text added to lockscreen in v2... i dnt get how yhu added it.

please help, thanks..... also does tha nav bar align with tha dock too in v2?
[Sony Cross-Device Development Themes and Apps] FunSucker:
unfortunately, yes. I'm running on 4.4 for now, and I will try it in kitkat.

you can create a text with TextView, like this :

<TextView
android:text="WHATDOYOUTHINK"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/textView"
android:textAppearance="@style/TextAppearance.StatusBar.Clock" />

but I prefer to use the code below :
[Sony Cross-Device Development Themes and Apps] Ticklefish:
Here you go. This is the SemcGenericUxpRes.apk, framework-res.apk and SystemUI from a stock deodexed Sony Marshmallow rom. Enjoy! https://www.mediafire.com/?c5exib4dqn5sx29
[Sony Cross-Device Development Themes and Apps] whalesplaho:
But where do i put tha textview?

I know where to put strings which is strings.xml... Will i put tha code in keyguard_status_bar.xml and where?

Thanks
[Sony Cross-Device Development Themes and Apps] FunSucker:
Yeah! Thanks a lot, sir :D

ow sorry, sir :D

Open keyguard_status_bar.xml and then add this code above @id/keyguard_carrier_text :

<TextView android:id="@id/text_id" android:text="@string/WHATDOYOUTHINK" android:gravity="center_vertical" android:layout_width="fill_parent" android:layout_height="25.0dip" android:singleLine="true" android:layout_alignParentTop="true" android:layout_marginStart="6.0dip" android:layout_toStartOf="@id/multi_user_switch" android:layout_alignParentStart="true" android:textAppearance="@style/TextAppearance.StatusBar.Clock" />

You only have to change it with yours :

android:id="@id/text_id"
android:text="@string/WHATDOYOUTHINK"
android:textAppearance="@style/TextAppearance.StatusBar.Clock"

Your text will appear on the top left (It was just for V.1 only)
[Sony Cross-Device Development Themes and Apps] whalesplaho:
I ll give a shot and post feedback but my carrier label is on tha bottom left tho so it wont disturb. Thanks
[Sony Cross-Device Development Themes and Apps] whalesplaho:
[MENTION=5539344]FunSucker[/MENTION] I did it . Yhu rock buddy!
[Sony Cross-Device Development Themes and Apps] whalesplaho:
[MENTION=5539344]FunSucker[/MENTION] I did it . Yhu rock buddy!:good::highfive:
[Sony Cross-Device Development Themes and Apps] vinaykharayat:
v1 or v2
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Dats v1 buddy.... He [MENTION=5539344]FunSucker[/MENTION] already mentioned it in his post..

I prefer v1 buddy.:victory:
[Sony Cross-Device Development Themes and Apps] FunSucker:
OP Updated for kitkat

OP Updated for kitkat. And a little mod added ==> running text for your statusbar :D

Thanks for visiting this thread :fingers-crossed:
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Still no luck for Xperia Launcher dock icons and nav bar misalignment?
[Sony Cross-Device Development Themes and Apps] FunSucker:
Good news = my launcher had no issues with the navbar anymore.

Bad news = this is v10.0.A.029, not the latest version.

If you want, I can share it for you sir
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Guess there is a value to be changed in latest home but dont know... I ll keep to using it cos i have Xperia X Home mod n compatible with latest home only!
[Sony Cross-Device Development Themes and Apps] FunSucker:
I cant remember it, a lot of change in my home.apk.

You can try to play with "apptray_grid_offset" (or similar) for length/gap dock icons & shortcuts app.

If didnt worked, change in your dpi values too (ex:values-sw480-hdpi).

EDIT:

Try this launcher. No issues for me
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Still tha same thing brov.... :(:(
[Sony Cross-Device Development Themes and Apps] vinaykharayat:
Thx buddy will try this later...exams are near
[Sony Cross-Device Development Themes and Apps] whalesplaho:
[MENTION=5539344]FunSucker[/MENTION] im having little issh here buddy... i tried to mod systemui of 7.0, but in lockscreen, tha network icon & text is showing which isnt supposed to be so. i only moved it from tha right side in status bar & also add carrier text!

added a zip file my xml.... please i need help urgent!
[Sony Cross-Device Development Themes and Apps] FunSucker:
Yes, you're welcome. Good luck :)

On the lockscreen? Do you have a file named keyguard_status_bar.xml? I didn't found it in zip.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Yeap i have, i didnt touch it dahs why i didnt share, i ll post soon.

Thanks for yur response
[Sony Cross-Device Development Themes and Apps] whalesplaho:
[MENTION=5539344]FunSucker[/MENTION] here is it.....
[Sony Cross-Device Development Themes and Apps] FunSucker:
Oke, thanks. i will look at your codes. Be patient.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
yes yhu re right buddy, was able to track it but no success.... seems i need and id for it or so!

1. i tried dis code but still same position as screenshot posted earlier

"<com.android.keyguard.AlphaOptimizedLinearLayout android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="fill_parent">"

2. i tried dis code but in lockscreen, tha network icon & text was now showing on the right top ontop tha battery icon, network icon

"<com.android.keyguard.AlphaOptimizedLinearLayout android:orientation="horizontal" android:id="@system_icons_area" android:layout_width="wrap_content" android:layout_height="fill_parent">"

3. i tried dis but still showing on tha top left as 1 again.

"<com.android.keyguard.AlphaOptimizedLinearLayout android:orientation="horizontal" android:id="@+id/status_bar_contents_area" android:layout_width="wrap_content" android:layout_height="fill_parent">"

please help me buddy.....:crying::crying:

---------- Post added at 01:11 AM ---------- Previous post was at 01:09 AM ----------

[MENTION=3989065]serajr[/MENTION] sorry to bug yhu friend,i need help please..... [MENTION=5539344]FunSucker[/MENTION] has been helpful too!
[Sony Cross-Device Development Themes and Apps] FunSucker:
keyguard_status_bar.xml

[COLOR="Red"]<com.android.[COLOR="Blue"]keyguard[/COLOR].CarrierText[/COLOR] android:textAppearance="?android:textAppearanceSmall" android:textColor="#ffffffff" android:ellipsize="marquee" android:gravity="center_vertical" android:id="@id/keyguard_carrier_text" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" android:layout_toStartOf="@id/system_icons_super_container" android:layout_alignParentStart="true" />

status_bar.xml

[COLOR="Red"]<com.android.[COLOR="Blue"]keyguard[/COLOR].CarrierTex[/COLOR]t android:textColor="#ffffffff" android:ellipsize="marquee" android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/expanded_carrier_text" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />

You have carrier text with same class on both , keyguard_status_bar.xml & status_bar.xml. That mean, your carrier text still appearing on lockscreen. Didn't you try to hide one, in keyguard_status_bar.xml sir ?! and see what happen.

keyguard_status_bar.xml

<com.android.keyguard.CarrierText android:textAppearance="?android:textAppearanceSmall" android:textColor="#ffffffff" android:ellipsize="marquee" android:gravity="center_vertical" android:id="@id/keyguard_carrier_text" [COLOR="Red"]android:layout_width="0.0dp" android:layout_height="0.0dp"[/COLOR] android:singleLine="true" android:layout_toStartOf="@id/system_icons_super_container" android:layout_alignParentStart="true" />