yashsingh1/xdaforums huggingface dataset:
[Android Themes] venu007:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ScrollView android:id="@id/scroll" android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
<LinearLayout android:gravity="center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:gravity="left" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="0.0dip">
<FrameLayout android:id="@id/settings_button" android:tag="com.android.settings,com.android.settings.Settings" android:background="@drawable/ic_notify_quicksettings_normal" android:layout_width="fill_parent" android:layout_height="100.0px" android:layout_weight="1.0" android:onClick="onClickPanelMethod" />
</LinearLayout>
</LinearLayout>
</ScrollView>
</LinearLayout>
</LinearLayout>

Bro , am new to modding files and dont know how to change.. Can u pls help me
[Android Themes] nongoei:
i am new too. but i ever same this before :D

line 2 >>> you add [ android:paddingTop="? dip" ] i use 52.0dip because my expanded header height =50 dip

line 8 >>> you edit [ android:layout_width="fill_parent"] to dimension you want.

i bad english sorry :D
[Android Themes] dafuqChicken:
I have done with ICS, can I copy your guide to my topic? :)
[Android Themes] marcomarinho:
Can anyone create a guide to put it like this:

[B][URL="http://xdaforums.com/showthread.php?t=2394541"]http://xdaforums.com/showthread.php?t=2394541[/URL][/B]

Regards.:cool:
[Android Themes] ch3mistry2222:
Part 2- step 4

i couldnt find any code similer to this

iget-object v11, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mDisplayMetrics:Landroid/util/DisplayMetrics;

iget v11, v11, Landroid/util/DisplayMetrics;->heightPixels:I

iget-object v12, p0, Lcom/android/systemui/SystemUI;->mContext:Landroid/content/Context;

I found with key word "heightPixels" and there're result:

iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mDisplayMetrics:Landroid/util/DisplayMetrics;

iget v0, v0, Landroid/util/DisplayMetrics;->heightPixels:I

neg-int v0, v0

iput v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mTrackingPosition:I

iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mDisplayMetrics:Landroid/util/DisplayMetrics;

iget v0, v0, Landroid/util/DisplayMetrics;->heightPixels:I

iget v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mNotificationPanelMarginBottomPx:I

---------- Post added at 12:55 PM ---------- Previous post was at 12:50 PM ----------

Plz help me
[Android Themes] greedisgood99999:
+ 1..i manage to have it like this as well..can somebody help us??.total newbie..:(
[Android Themes] ch3mistry2222:
Me too, but i think it s one of steps and we had done right

Send from My GALAXY SIV I9500 using Tapatalk 4 BETA
[Android Themes] greedisgood99999:
Yup that's why I continue to the next step and see what will happen..but i just notice if I pull down my status bar coming from the left side below it is normal but if I pull it down coming from the right side below it will look like that picture.lol.:D
[Android Themes] thirdzcee:
okay so im almost done here, i finally got the volume sliders to show up, but i have 1 problem... the dont adjust the volume, sliding the sliders dont make any changes to sound level

EDIT:

never mind, i found out the issue, i skipped adding

invoke-direct {p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->setQuickPanelVolumeSliders()V

silly me... working great now
[Android Themes] greedisgood99999:
OMG!..dont seem to be working on android 4.1.2..i manage to do up to Step 2..then push my modded systemui.apk and lidroid.apk after that..i was surprise NO FC..but BLACK SYSTEMUI..damned...how can i make it..somebody help..:(
[Android Themes] pulak861:
Guys first of all this is one of the best thread i ve ever seen.. look at the collavorative works of the devs.. thanx...

but im seems to be doing something wrong..

heres screen

im trying to port it to galaxy s3 mini.. no luck atm.. tried everything.. heres the files i modded according to tut :

tw_status_bar.xml

tw_status_bar_expanded.xml

Status_Bar_Expanded_Header.xml (not the touchwiz ones)

ids.xml

i have also added the xml files that i modded according to the tutorial. (also provided extra non modded xml which may be needed).

if any of u guys could help me it wopuld be awesome and atleast if u could give me a tut on the troubleshoot.... thakkxx
[Android Themes] ch3mistry2222:
Send from My GALAXY SIV I9500 using Tapatalk 4 BETA
[Android Themes] pulak861:
dude can u expalin a bit??? what are he values for my device??? i have posted in this thread.. please take a look if the helps.. thanx.. i really am determined to port this.... POST #126
[Android Themes] nongoei:
for the settings icon. i think we have 2 choice

1. delete it in the "quickpanel_quick_settings_space.xml" and use settings icon on status bar expanded header. ( bombaybadboy tell me :D )

2. check header height in dimen for "notification_panel_header_height" or on touchwiz check "tw_notification_panel_header_height"

and add paddingTop in "quickpanel_quick_settings_space.xml" for move settings icon to below status bar expanded header.

i bad english :D
[Android Themes] pulak861:
u are very good in theming.. thanx.. will try it now...

<FrameLayout android:id="@id/settings_button" android:tag="com.android.settings,com.android.settings.Settings" android:background="@drawable/ic_notify_quicksettings_normal" android:layout_width="fill_parent" android:layout_height="100.0px" android:layout_weight="1.0" android:onClick="onClickPanelMethod" />

delete the whole??? a bit confused sorry.. :(
[Android Themes] Goldie:
All the people who get this....you already have a settings button in header. So delete the one in quick settings space. This one is for when you are not adding lidroid toggles I believe

I have added color pickers for all elements and two toggles for volume panel on/off and to switch which side of statusbar does what. I will post the modded smali when I get chance :)
[Android Themes] Biftor:
thanks [MENTION=736915]aksha[/MENTION] akay Op

For his great how to I will do it for my Rom

In my free time 3 days later:D

And I will add more features to that!

Same color pikers for all things on that and toggle able volume panel and much more

Thanks

Goodluck

Armin.
[Android Themes] Goldie:
Is there an echo in here?
[Android Themes] pulak861:
thank u sir.... and lol abt the echo.... :D :D
[Android Themes] pulak861:
guys.. again a bit help...

im now stuck with this atm...

also no notifications are showing.. everything is black....

Deleted this line in full :

<FrameLayout android:id="@id/settings_button" android:tag="com.android.settings,com.android.settings.Settings" android:background="@drawable/ic_notify_quicksettings_normal" android:layout_width="fill_parent" android:layout_height="100.0px" android:layout_weight="1.0" android:onClick="onClickPanelMethod" />
[Android Themes] Droidlover123:
deleted
[Android Themes] Goldie:
Im guessing you put com.spacecaker.spacelayout in wrong place so it doesn't include the noti scroll view
[Android Themes] Droidlover123:
i cant get these lines in mine PhoneStatusBar.smali

iget-object v11, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mScrollView:Landroid/widget/ScrollView;

const/4 v12, 0x0

invoke-virtual {v11, v12}, Landroid/widget/ScrollView;->setVerticalScrollBarEnabled(Z)V

pls if somebody can do mod for me mentioned in post 3 ->step 3

i have attatched mine PhoneStatusBar.smali

and let me tell u that i have already done post 3 ->step 4 and others so pls do not include it while editing !!!!!!!

thanks in advance
[Android Themes] Goldie:
You have this.....

iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mScrollView:Landroid/widget/ScrollView;

invoke-virtual {v0, v1}, Landroid/widget/ScrollView;->setVerticalScrollBarEnabled(Z)V
[Android Themes] Adi Aisiteru Reborn:
Using lidroid code, http://xdaforums.com/showthread.php?t=2406596
[Android Themes] Droidlover123:
Bro thanks.

And one request please can you do step 3 of post 3 for me to mine device's PhoneStatusBar.smali
[Android Themes] Goldie:
You don't learn by having things done for you. ;)

Your code has v0 and v1 in place of v11 and v12 so just paste the blue lines after your code I posted and change v11 to v0 and v12 to v1 I would assume.
[Android Themes] bombaybadboy:
Goldieking has been helping me understand this mod so credit for him telling me a work around goes to him, i was messing about fixing this for 2 days before his advice :) i just added this part of this guide for i9100 to help me get past that problem http://xdaforums.com/showthread.php?t=2304658 and just used the part for tw_status_bar_expanded_header.xml
[Android Themes] ch3mistry2222:
Part 2- step 4

i couldnt find any code similer to this

iget-object v11, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mDisplayMetrics:Landroid/util/DisplayMetrics;

iget v11, v11, Landroid/util/DisplayMetrics;->heightPixels:I

iget-object v12, p0, Lcom/android/systemui/SystemUI;->mContext:Landroid/content/Context;

I found with key word "heightPixels" and there're result:

iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mDisplayMetrics:Landroid/util/DisplayMetrics;

iget v0, v0, Landroid/util/DisplayMetrics;->heightPixels:I

neg-int v0, v0

iput v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mTrackingPosition:I

iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mDisplayMetrics:Landroid/util/DisplayMetrics;

iget v0, v0, Landroid/util/DisplayMetrics;->heightPixels:I

iget v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mNotificationPanelMarginBottomPx:I

---------- Post added at 12:55 PM ---------- Previous post was at 12:50 PM ----------

Plz help me

Send from My GALAXY SIV I9500 using Tapatalk 4 BETA
[Android Themes] Droidlover123:
You gotta post your smali file

---------- Post added at 06:28 AM ---------- Previous post was at 06:26 AM ----------

Ok Bro thanks.i will try

:(:(:p:p:p;)
[Android Themes] greedisgood99999:
This is correct i guess..coz you didn't put any activity yet that's why its pure black..just guessing
[Android Themes] Droidlover123:
Make sure some notification is on like give a missed call and just toggle button you added via tutorial more than once
[Android Themes] greedisgood99999:
im trying to add activity on the quick settings now..

but something bothers me..as i pull down my status bar..it should give me the original notification toggles right??.the one with the horizontal toggles..but instead it gives me empty status bar then as I pressed the quick settings panel it gives me empty (as i didnt add anything yet which is correct) then I pressed again the button it gives me the original notification toggles so the solution i could find is to pressed first the quick settings panel button then pressed again so that i can see the notification toggles..lol..:D

BTW, im getting an error of mismatch tag on quicksettings_space.xml: line 9: error parsing xml: mismatched tag

here's the code on my line 9 of quicksettings_panel

<FrameLayout android:id="@id/settings_button" android:tag="com.android.settings,com.android.settings.Settings$WirelessSettingsActivity" android:background="@drawable/ic_notify_quicksettings_normal" android:layout_width="120.0px" android:layout_height="100.0px" android:layout_weight="1.0" android:onClick="onSuviClickGenericFailOver">

Edit: One more thing, notification is on but the close button for notification is not working all i can do is swipe it..
[Android Themes] Akhilendra Gadde:
Dude, I had also got mismatched tag in that XML. But I couldn't solve it, so I changed the method of adding new on click buttons . Don't know what caused the error.

Clear button works fine. Try switching between the tabs and then try pressing clear button.
[Android Themes] greedisgood99999:
thats what i think so this one right "onSuviClickGenericFailOver"..so what should I replace to make it work??

Im still on step one and adding new toggles..I still have my original notification toggles wherein i have a X Button to clear notification all at once but now it doesnt seem to work so inorder to clear notification alert i swipe it out any help on that??

I cant make lidroid works on my MTK device so sad it gives me black SystemUI but no FC..can you help me??
[Android Themes] Akhilendra Gadde:
Lidroid works in mtk device . Make sure that you have compared the hex codes in quickpanel folder with public .XML

For adding methods , buttons take a look at OP's signature .... u'll get many guides regarding it .
[Android Themes] Droidlover123:
Changing all those hex codes are pain it the a**
[Android Themes] greedisgood99999:
yes i compared it and do the step very carefully many times but same output..black systemui..are you on 4.1.2??
[Android Themes] ch3mistry2222:
here is my smali file, tks

http://d-h.st/TWP
[Android Themes] thirdzcee:
You say systemui is black, there is no error or fc,,, can you pull your systemui down or not???
[Android Themes] greedisgood99999:
nope no status bar..just pure black but yes no FC or anything..

---------- Post added at 07:36 AM ---------- Previous post was at 07:29 AM ----------

nope no status bar..just pure black but yes no FC or anything..

what could be the problem then bro??
[Android Themes] Goldie:
Your layouts are probably wrong
[Android Themes] thirdzcee:
Could you verify that systemui is installed in the system by checking all apps from application settings,,, it could be apk signature issue if its not installed by system
[Android Themes] greedisgood99999:
your right no systemui in the settings->all apps..:(

but i sign it using tickle my android sign tool
[Android Themes] thirdzcee:
Have you disabled signature checks from services.jar??? You need to do that first, otherwise youul have to dump your rom turn it to a flashble zip and sign the new rom zip so that systemui will work
[Android Themes] greedisgood99999:
how to that bro??

Okay i have my modded systemUI.apk with lidroids (but blackui as i push it)..now if I include it to a flashable rom..i need to sign the whole ROM??.is that what you say bro??
[Android Themes] thirdzcee:
Yes that is 2nd choice, easier method would be to disable signature checks from services.jar, look for guide by DSA

I used his method to disable signature check and it works like a charm, and it actually quite easy
[Android Themes] greedisgood99999:
there are no particular services.jar mods for MTK bro??

I can't seem to find it on XDA that DSA master..can i used other??

like this one..http://xdaforums.com/showthread.php?t=2342262
[Android Themes] thirdzcee:
http://xdaforums.com/showthread.php?t=1621289

To save you all the trouble
[Android Themes] pulak861:
lol.. i tested it with notifications.. still no signs..

another bug is that theres is a horrible white line passing over the date and time.. u can find it in the screenshots.... really dont know what is happening..

trying to port it to samsung GS3 mini official JB 4.1.2... but fail :(
[Android Themes] greedisgood99999:
thanks bro..youre such a big help..will try it now..and see if it works..

btw, I manage to make quicksettings with 3 activity on it like akash did on spacecaker thread of quicksettings and it works great but how to make status bar close when ticking apps on quicksetting??.some codes are missing??
[Android Themes] bombaybadboy:
How do you add more toggles plz, I cant add Multiwindows and ss on OP has Multiwindows :confused:
[Android Themes] Biftor:
Hi mate

I didn't make this mod but I think yiu can edit your quick panel from lidroid app

Goodluck

Armin.
[Android Themes] bombaybadboy:
Hi thanks for that but I have been following this guide as close as I could with a tw stock rom and it has used old lidroid style. No lidroid-res to work with. If I can finish the mod I was going to try and work on adding lidroid-res after but not got that far yet. Just started on sliders

Edit sorry I see you said lidroid apk, just about to try the one from this guide. I was using the original from lidroid for testing
[Android Themes] :
And one more thing....

You have only 12 toggles and we have 20 toggles. It can be edited through AdvancedS app from play store.

Or lidroidsettings.apk from op....

"""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
[Android Themes] bombaybadboy:
Hi m8 thanks, I just installed apk from here and all working ok but still dont see multiwindows :confused: and also not in lidroid folder. Do you no if it can be added please
[Android Themes] :
[MENTION=4608459]bombaybadboy[/MENTION]

Sir-if I'm not wrong then it can be obtained from any of the systemui of SGS2 running jelly bean....

And through the power widget.smali it can be connected all together...

"""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
[Android Themes] Biftor:
You can use lidroid-res

But you need to edit lidroid smali in systemui for grid toggles (for 23 toggles for example use source of my topick then edit power widget smali)

I really want do it (make this ui) but now I can't:(

Goodluck

Armin.
[Android Themes] greedisgood99999:
Hello mate, do you know how to delete the settings button??.coz i want to add settings button at the quick setting..thanks..:D
[Android Themes] Droidlover123:
Just delete whole settings button line from file quickpanel xml that you added in layout
[Android Themes] greedisgood99999:
Sorry??.just the setting button near the quicksetting button mate..coz by default my status bar already had a settings button my goal here is to delete that default setting button coz i will add it on my quicksettings button..

I didn't add any settings button on my status bar i just add a quicksettings button there
[Android Themes] Droidlover123:
O you want to delete default button!!

I thought you are asking about button that tutorial added!!
[Android Themes] greedisgood99999:
yes the default settings button just like on 4.2.x AOSP ROM it doesnt have a Settings button on status bar just only a quicksettings button
[Android Themes] Droidlover123:
finally got some results....see screenshot!!!!!!!!!!!!!!!!!!!!!!!!

but now status bar lags like helll....did i did something wrong???or is it mine device problem????
[LG Optimus G Pro] hyelton:
Please Delete.
[Shield Q&A] trdpatrick:
Anyone know how to map the analog triggers? So far I can't get any emulators to recognize the L R triggers.
[Shield Q&A] Evo_Shift:
Supern64 recognized mine. The buttons on screen don't look like they are recognized but they are. It's the only one I've really tried so far.
[Shield Q&A] blinkdragonid:
I've noticed it too. I kept downloading different emus to be able to map the triggers. ppsspp(psp emu) has a GIT build that lets you map the gamepad
[Shield Q&A] Randysteele992:
I noticed they don't work in some emulators too. Most importantly N64oid. It doesn't recognize the triggers or second joystick. Had to use mupen.I don't think they work in supergnes or myboy. It's annoying..
[Shield Q&A] Evo_Shift:
Edit - I forgot you need root to use tincore keymapper. I always root my stuff so I didn't even think of that.

The app Tincore Keymapper can do it. You need to have the app running while you play whatever emulator you want the keys mapped to. It can detect the right stick as well. It can also detect which emulator or app you are using so it can switch to that profile without you needing to change settings if you want multiple profiles.

A couple of pointers about that app if you use it.

The app doesn't seem to be able to detect the home key very well so it doesn't really work while the app is running. What I did was map the nvidia key (which tincore sees as the power button) to home while the tincore app is running. Not really a big deal since the nvidia key is really only useful if you are rebooting or planning on playing tegra games which wouldn't need the tincore app to be running.

The volume key needs to be mapped to volume_mute as otherwise it is going to get set as the "Select" key and your volumes won't work.

For touch based games, I have to use "Swap scale" and force the orientation into landscape under "device natural orientation" in the tincore app settings in order for the touches to be mapped to the proper screen location in touch based games. This wouldn't matter if you only ever use it for emulators though. If you don't select these your dpad or other buttons may not map to the proper location on the screen.

For the right analog stick to function without having a mouse pointer floating all over the screen you may need to disable the mouse pointer before you run the tincore keymapper. You can disable that mouse pointer in the android settings under controller.

Anyway, this may seem confusing but once you mess around with the app a little you will understand what I mean.

I had to download the app to my Galaxy S 3 and pull the apk out and sideload it to me Shield. The dev said he is working on getting the Shield to show up properly in the play store and he recommended side loading it for now.
[Sprint HTC One (M7)] SkinnyBiggs:
There's most likely a thread for this if so please redirect me. I'm usually getting about 12-14 hours a day off one charge. I work 5hrs out of the day but I'm usually listening to music, playing words with friends, updating blink feed, or surfing the net, on my way to work and back I'm using mobile data but most of the time I'm on WiFi. What is the weekly average fir you guys? I'm curious to know as well as I wonder if my battery life is normal.

"You are and will become your most dominant thoughts" - Napoleon Hill
[Sprint HTC One (M7)] sauprankul:
How much screen time are you getting?

Around 2.5 hours? If so, that sounds about as much as I get.

I'm stock unrooted. For now...

Disable auto sync. Turn off whatever connections you don't need whenever you can. Use minimum brightness when indoors. Keep power saver on. See if that helps. Download GSam to see what is burning your battery.

I just downloaded Juice defender, I may consider the Pro or even Ultimate if it works.

There are some people who are able to get like 7 hours of screen time, so what we're getting is pretty much peanuts.
[Sprint HTC One (M7)] Deathsnuggle:
This is a good day for me. Normally I get around 13 hours. Three being on screen on time. Heavy internet browsing, texting, light cell usage, updating blink feed, checking emails. Lots of music. I'm pretty happy with it.
[Sprint HTC One (M7)] SkinnyBiggs:
This isn't a normal day for me, I plugged my device up for an hour and half because I thought I was going to be staying out late tonight. But tomorrow night I'll update. I have everything cut off GPS, data, auto sync, kik use to wake my device 1000s a day so I got rid of it, accuweather and ymail are the major device wakes at the moment. I'm nit complaining about battery life I'm just curious to see what others are getting

"You are and will become your most dominant thoughts" - Napoleon Hill
[Sprint HTC One (M7)] SkinnyBiggs:
Also I don't know how to tell how much screen on time I'm getting.

"You are and will become your most dominant thoughts" - Napoleon Hill
[Sprint HTC One (M7)] Deathsnuggle:
Better battery stats
[Sprint HTC One (M7)] sauprankul:
I think the problem here is that your phone isn't able to enter deep sleep. This phone's standby time really shines, but you aren't able to take advantage of that because you keep turning the device on.

There's no problem with that, just that your type of usage severely limits your battery life.

I like using GSam, but I have both.

You can find BBS on XDA if you look for it.