[Q] Android theme GPS XML - Galaxy Tab Q&A, Help & Troubleshooting

Hi all,
I was going to post this in Development, but I don't think I have enough posts. I was building my theme when I noticed an xml I hadn't seen: the stat_sys_gps_acquiring_anim.xml
Looking in here, I found where I could change my animation timing and images, but I was just a bit curious as to whether I can include more than two animation images by simply adding another <item /> line with another image from the drawable area?
Would this work?
Cheers,
Alistair.

Related

editing the music player screen

i am currently working on a music player screen theme for Darkstar, but theres one image i can find and its the grey part at the bottom of the screen where the music controls are. i searched in fremwork-res.apk but im not sure if its in there or which image it is. does anyone know?
im not sure, but it might be an xml edit, i havent seen any images in the music.apk that look like that.
any idea which xml it could be?
no, ive been trying to work on some for myself, but i cant seem to find which one is it.
I posted in the other thread http://forum.xda-developers.com/showthread.php?p=5121572#post5121572
I edited an xml and changed part of it, just not all
In Music layout-finger
audio_player_common.xml
Code:
<SeekBar android:id="@android:id/progress"
android:background="#ff5a5a5a"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="fill_parent"
android:layout_height="36px"
android:paddingLeft="5px"
android:paddingRight="5px"
android:paddingBottom="4px" />
I changed it to ff5aaaff for that screen shot
Make sure you replace both instances of 5A 5A 5A
i do graphics... are you just reduin colors or are u desingin a whole new design..
i got designs i wanna create just dont know how to create apps
Its for a theme, but certain things like the bottom section of the music player is an xml file, not an image.

[Q] Help with resolving mis-aligned text.

Another user on this forum is having an issue with mis-alligned text. Originally they felt it was an issue with malformed .9.pngs, but I have replaced all the pngs in the framework with stock pngs and the issue is still ongoing.
Question I have is what controls the text alignment (an xml in framework? or elsewhere such as services.jar)
I have recently learned how to theme the Andoid OS. I understand how to de-compile an apk, make xml edits (color edits using word pad), re-compile the apk. (replace the android-manifest and meta folders from the recompiled apk with the originals).
I know how run baksmali on services.jar make the appropriate edit to change the clock color. (as far as the services.jar, That is truely all I know).
I would like like to help this person, but need a sense of direction as to where to begin looking to fix.
Any and all help regarding this would be greatly appreciated.
Below is a link to the original thread they posted with screen shots of the mis-aligned text.
http://forum.xda-developers.com/showthread.php?t=991105
Update:
Had him test another framework-res.apk and services.jar file from another rom and he still has the same results with mis-aligned text.
Where else should I look?
This is truely out of my realm, but I am always interested in learning, so I would like to see if I can come to the resolution.

[QUESTION] Theming Transparency GB Sense 2.1

Hi all,
I'm hoping that someone can help to get me started as I wish to start making more Mods and a theme without relying on UOT.
I am looking to learn how to make things within Rosie and SystemUI transparent such as Quick Settings and App drawer.
I've had a go with this theme by m-deejay. I have managed to make the notifications background transparent but not the bars within them or the quick settings.
I've tried to adjust the labels at the bottom by editing
Res, Drawable, status_bar_tab_off.9 and status_bar_tab_on.9 .pngs
but that doesn't seem to be working for me.
Any help from any themers to get me started will be much appreciated and credit given if and when I can finally get something up and working manually.
I am using photoshop and have avabox2 for signing etc
Thanks in advance
Bump for help
Mate you have to learn using apktool or apk_manager (it's easier - search here in xda to download)...
Just de-compile the Default SystemUI.apk and f.e take also a SystemUI.apk that you know it has transparency, rename it to SystemUItrans.apk f.e and de-compile it too...
Then use WinMerge application (it's for windows) and compare all folders of the 2 systemUI (drawable, layouts, values, etc) and see which .xml files are different...
Then duple click on .xml files that is with red color on WinMerge, and see the differences inside them...
If you read the lines that are diferent you will figure out what you want to change...
In SystemUI f.e there is a xml file with the name quick_settings.xml and has a line which write:
ScrollView android:id="@id/scroll" android:background="#66000000" android:fadingEdge="none" android:layout_width="fill_parent" ...
The android:background="#ffffffff" means that the background will be white... So for make it full transparent you have to change it to android:background="#00000000"
Also compare the smali folders that are created while de-compiling...
this is an example i gave you....
I use for decompile, recompile and zipalling the apk_manager4.9
Here is the Thread of apk_manager... So download it and if you have question ask there and the guys will help you more....
i found this thread a bit of help .
http://forum.xda-developers.com/showpost.php?p=9978779&postcount=62
altho it dont help much with rosie but i have managed to get rosie transparent in my theme from help in this thread.
http://forum.xda-developers.com/showthread.php?t=1078621&page=3
hope that helps mate
and what kalagas has said also i learned loads that way also
Kalagas, you are a gentleman and a scholar
Ajthescot, many thanks for the links.
If I ever get to the bottom of this theming then you guys will surely get credit and thanks for the help and advice.
Much appreciated

Help with Google+ for Theme Chooser/CM10.1

Hello, all... I could really use some help adding Google+ to my themes...
I themed it and thought everything was perfect... I had it pretty much exactly how I wanted it... everything worked... until I clicked on the "Photos" from the side menu... it crashes every time...
I have narrowed it down to one simple thing...
I changed the color tag "host_background" to a drawable png to make the backgound throught the app an image instead of just a color.
com_google_android_apps_plus.xml
<item name="color/host_background">@drawable/frameworks_res_background_holo_dark</item>
This seems to work great for every aspect of the app... EXCEPT the "Photos" section.
Ugg...
I have tried to get around this by including the style where it is specified... but it crashes every time I include this style as well... (Yes, I included all of the appropriate attr and other required styles)
<style name="Theme.Host" parent="@style/Theme.Screen">
<item name="android:windowBackground">@color/host_background</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowContentOverlay">@null</item>
<item name="listSelector">@*android:drawable/list_selector_background</item>
<item name="editAudienceBackground">@*android:drawable/edit_text</item>
<item name="buttonSelectableBackground">@drawable/title_button_background</item>
</style>
Nothing I try seems to work...
I would really like to have a drawable png as the background...
Is there a special way to include styles that have specific attributes that are not android:******?
Any suggestions?!?
Thanx so much
If it's defined as a color and you want to go image try making a color folder and place an xml redirecting the color too an image there. I'm not at home but I did it with the quick settings tiles I'll send you the line you need one I get back home.
Sent from my Sexy Nexy 7 dressed in ClearJelly and Clear Apps!
Omg! Hope! I'd like that... Thanx so much
Sent from my SGH-I747 using xda premium
So I tried to redirect to an xml... and it still didn't work...
Here is the code I used...
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/frameworks_res_background_holo_dark"
android:gravity="fill" />
Suggestions?

[REQUEST] Android L Status Bar Icons

Is it ported to an xposed module? Or anything? I want Android L like battery, wifi, mobile data icons...
agonfighter said:
Is it ported to an xposed module? Or anything? I want Android L like battery, wifi, mobile data icons...
Click to expand...
Click to collapse
There is a xposed module called Xstana, it has the android l navbar and statusbar icons as well as others like miui, lg g3, samsung galaxy, etc, try it
agonfighter said:
Is it ported to an xposed module? Or anything? I want Android L like battery, wifi, mobile data icons...
Click to expand...
Click to collapse
What device do you have? This is a N6 forum but of course N6 will have L status bar icons...
Looking at the Developer Preview, I'm not sure Lollipop actually has icons on the statusbar..
At least, not like the icons that came before. Normally the signal icons use a collection of PNG image files and you can use those image files in a different rom. As far as I can tell, Google have done what they did with the battery icon and the signal and wifi icons are now generated by code.
However, my theming tool has signal and wifi icons that look just like the Lollipop ones, so I've attached two zip's for you. They're not flashable zips, just ordinary archives.
Signal and wifi icons on TMA are great,but what about data icons ?
so, has anyone figured out how to theme the signal and/or LTE "icon" in lollipop?
as @Ticklefish pointed out, the signal/data icons apprear to be generated via XML code now. specifically, the data icon (LTE in my case) appears to be defined in SystemUI/res/drawable/stat_sys_data_fully_connected_lte.xml:
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="17.0dip" android:width="9.207977dip" android:viewportWidth="13.0" android:viewportHeight="24.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M2.000000,9.700000l2.000000,0.000000L4.000000,11.000000L0.300000,11.000000L0.300000,2.500000L2.000000,2.500000L2.000000,9.700000z" />
<path android:fillColor="#ffffffff" android:pathData="M8.300000,3.800000L7.000000,3.800000L7.000000,11.000000L5.300000,11.000000L5.300000,3.800000L4.000000,3.800000L4.000000,2.500000l4.300000,0.000000L8.300000,3.800000z" />
<path android:fillColor="#ffffffff" android:pathData="M12.400000,7.300000l-1.700000,0.000000l0.000000,2.400000l2.100000,0.000000L12.799999,11.000000L9.000000,11.000000L9.000000,2.500000l3.700000,0.000000l0.000000,1.300000l-2.100000,0.000000l0.000000,2.100000l1.700000,0.000000L12.300000,7.300000z" />
</vector>
i dunno how to edit this though, i'm used to simply replacing PNGs. anybody know how to work with this? all i want to dois change the "LTE" symbol to something of my choosing.
PhilDX said:
so, has anyone figured out how to theme the signal and/or LTE "icon" in lollipop?
as @Ticklefish pointed out, the signal/data icons apprear to be generated via XML code now. specifically, the data icon (LTE in my case) appears to be defined in SystemUI/res/drawable/stat_sys_data_fully_connected_lte.xml:
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="17.0dip" android:width="9.207977dip" android:viewportWidth="13.0" android:viewportHeight="24.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M2.000000,9.700000l2.000000,0.000000L4.000000,11.000000L0.300000,11.000000L0.300000,2.500000L2.000000,2.500000L2.000000,9.700000z" />
<path android:fillColor="#ffffffff" android:pathData="M8.300000,3.800000L7.000000,3.800000L7.000000,11.000000L5.300000,11.000000L5.300000,3.800000L4.000000,3.800000L4.000000,2.500000l4.300000,0.000000L8.300000,3.800000z" />
<path android:fillColor="#ffffffff" android:pathData="M12.400000,7.300000l-1.700000,0.000000l0.000000,2.400000l2.100000,0.000000L12.799999,11.000000L9.000000,11.000000L9.000000,2.500000l3.700000,0.000000l0.000000,1.300000l-2.100000,0.000000l0.000000,2.100000l1.700000,0.000000L12.300000,7.300000z" />
</vector>
i dunno how to edit this though, i'm used to simply replacing PNGs. anybody know how to work with this? all i want to dois change the "LTE" symbol to something of my choosing.
Click to expand...
Click to collapse
Those are changes made by decompiling SystemUI.apk if you're looking to replace PNG then open it up using a archive and replace the image.
zephiK said:
Those are changes made by decompiling SystemUI.apk if you're looking to replace PNG then open it up using a archive and replace the image.
Click to expand...
Click to collapse
yeah, I pulled that XML file out of SystemUI. handling of stausbar icons has been completely reworked in Lollipop and there are no PNGs for the LTE data indicator (as best as I can tell). think the three data strings define the symbol but I don't know how to manipulate the values. after looking around some more, it appears to be some sort of vector drawing and requires additional software to generate.
when im feeling adventurous, I'm going to try replacing the code with references to a PNG file and see what happens.
Ticklefish said:
Looking at the Developer Preview, I'm not sure Lollipop actually has icons on the statusbar..
At least, not like the icons that came before. Normally the signal icons use a collection of PNG image files and you can use those image files in a different rom. As far as I can tell, Google have done what they did with the battery icon and the signal and wifi icons are now generated by code.
However, my theming tool has signal and wifi icons that look just like the Lollipop ones, so I've attached two zip's for you. They're not flashable zips, just ordinary archives.
Click to expand...
Click to collapse
Hello , could you please resize icons in 39 X 36 , if I did it myself they are just deform, thank you .
EDIT : Problem solved , with Paint NET , thank .
No such app yet to replace 4.4 status bar with that of 5.0??
Sent from my XT1022 using XDA Free mobile app
how to get back the status bar wifi icon of kitkat? i dont like the FULL wifi icon in lollipop,thx
I Am Looking For This Code Thanks To Share It Here..
---------- Post added at 07:02 AM ---------- Previous post was at 06:58 AM ----------
Can I Aloso Get The .Xml Code Of Airplane mode,Auto-rotate And Some Others...

Categories

Resources