Related
Hey Everybody!! I searched a lot on this forum and really don't know if I post this in the right section or whatsoever, it's a bit unclear. But I just post it and wait for the respons
For the first time I'm developing an Android application and so far it's going really well except for one thing. I made a webview layout and I wanted to show ads in the app. So I added the AdMob ads and they're working really well. But there's one problem.
The AdMob covers a part of the WebView, so it's not shifting the WebView layout up but it's covering it. And that's annoying because you can't read a part of the webview's text. How can I fix it?
This is my main.xml file:
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads"
android:layout_width="fill_parent" android:id="@+id/rltvLayout01"
android:layout_height="fill_parent" android:background="@color/white">
<ScrollView android:id="@+id/ScrollView01"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<WebView android:id="@+id/webview"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:fitsSystemWindows="true"
android:scrollbars="none" />
</ScrollView>
<LinearLayout android:id="@+id/ad_layout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="bottom"
android:layout_alignParentBottom="true">
<com.google.ads.AdView android:id="@+id/ad"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
ads:adUnitId="helloworldcode"
ads:loadAdOnCreate="true"
ads:adSize="BANNER" />
</LinearLayout>
</RelativeLayout>
You need to tell your scrollview to align to the top of the linearlayout. Try Adding this to your ScrollView definition:
android:layout_above="@+id/ad_layout"
You may need to change some "wrap_content" to "fill_parent" but without an IDE, I can't tell for sure.
Gene Poole said:
You need to tell your scrollview to align to the top of the linearlayout. Try Adding this to your ScrollView definition:
android:layout_above="@+id/ad_layout"
You may need to change some "wrap_content" to "fill_parent" but without an IDE, I can't tell for sure.
Click to expand...
Click to collapse
Thank you for the answer, but unfortunately for some reason I get a force close when I add the layout_above...
This is a TICKLEFISH TUTORIAL!
{
"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've had a few people recently ask me how to change the colour of various things on their statusbar and/or notifications screen so I thought I'd do a little tutorial.
This will show you how to change the colour of your statusbar clock. It's actually very simple but, once you know about it, you can apply this to all kinds of things.
This is my second tutorial here. If you want to learn how to center your clock, or move about various other items, check out my first one here: http://forum.xda-developers.com/showthread.php?t=1767593
So, to begin, you will need to edit your status_bar.xml. To get this, you'll need to decompile either your SystemUI.apk or framework-res.apk, depending on your rom. If it's not in either apk's, you'll need to decompile something else.
How do you decompile an apk file? Well, it wouldn't hurt to check out Tickle My Android, the link is in my signature.
This is the stock Timescape ICS status_bar.xml:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/status_bar_background" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:visibility="gone" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:gravity="center_vertical" android:layout_alignParentLeft="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center_vertical" />
<ImageView android:id="@id/stat_no_sim" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:visibility="gone" android:layout_gravity="center_vertical" />
<LinearLayout android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<ImageView android:id="@id/battery" android:paddingLeft="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<com.android.systemui.statusbar.policy.Clock android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="left|center" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:animationCache="false">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0" android:paddingTop="2.0dip">
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:singleLine="true" />
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:singleLine="true" />
</com.android.systemui.statusbar.phone.TickerView>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
This is long and complicated but we only care about one line:
Code:
<com.android.systemui.statusbar.policy.Clock android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="left|center" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:singleLine="true" />
That's the line that controls the appearance of the clock. We're going to edit it to change the clock from white to ICS-style blue...but there are two different ways of doing it..
The Quick Way
I'm not kidding when I say this is quick. We will need the ARGB code for the colour we want. ARGB stands for Alpha Red Green Blue and is a mix of eight hexadecimal characters. For opaque, ICS blue, we will want the code "ff278ab1". And we will want the parameter "textColor".
The new code we need will look like this:
Code:
<com.android.systemui.statusbar.policy.Clock android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="left|center" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:singleLine="true" [COLOR="Red"]android:textColor="#ff278ab1"[/COLOR] />
Save, recompile and all the usual stuff and...that's it. Simple, no?
The Slightly Slower Way
Have a look at res\values\styles.xml
This file defines a few styles that can be used by pretty much anything. You may spot a style called TextAppearance.StatusBar.Clock being defined here. This is used by the clock in status_bar.xml but it could also be used by anything else. The date, carrier label (if you have it in your statusbar), anything at all.
So let's make a new style:
Code:
<style name="ICSBlue">
<item name="android:textSize">16.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ff278ab1</item>
</style>
and add it to the file.
Now edit the clock line in status_bar.xml to:
Code:
<com.android.systemui.statusbar.policy.Clock android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="left|center" [COLOR="red"]android:textAppearance="@style/ICSBlue"[/COLOR] android:singleLine="true" />
Save, recompile, blah-blah-blah..
The advantage of doing it this way is you only need to enter the ARGB code once and that new style can be used in any layout file to make anything that colour. Just remember that the style also defines the text size as well.
And here's the result:
And that's the tutorial done. Simple, but very handy to know how to do!
Now, remember "android:textColor" can be used for any text, not just the clock.
Enjoy!
---reserved---
thanx bro...
Awesome! Thanks man.
it's about time someone wrote a decent guide on how to do this.
I've learned this on my own over time, but it would have been nice to start off with a resource like this one.
THANK YOU!!
Time for me to start going hard on decompiling apk
Thanks for this great tutorial.
Does this work on any device?
Thanks for this, a very good TUT!
bigups brov..... well done!!!
currently on mobile, will check it out well on PC!
How advanced is this? Can I do something like the long dead "Reloaded ICS" with it? http://forum.xda-developers.com/showthread.php?t=1531222
Because this was awesome and seriously needs to be recreated.
ickkii said:
it's about time someone wrote a decent guide on how to do this.
I've learned this on my own over time, but it would have been nice to start off with a resource like this one.
Click to expand...
Click to collapse
The first method I ever saw for changing the clock colour involved decompiling the apk twice and editing a lot of smali. This is a little simpler!
ross231 said:
Does this work on any device?
Click to expand...
Click to collapse
Yes, and on any rom. android:textColor is a standard Android parameter.
Scary Guy said:
How advanced is this? Can I do something like the long dead "Reloaded ICS" with it? http://forum.xda-developers.com/showthread.php?t=1531222
Because this was awesome and seriously needs to be recreated.
Click to expand...
Click to collapse
Tickle My Android may have a silly name (although it's easy to remember!) but it is a full, serious de- and recompiler for Android apk's as well as doing other things.
As long as you know what changes to make to what files, it can be used to make something like that.
Sent from my SK17i using xda premium
Tickle if one wanna use another color, how can one go about it? how can i get yur battery icon please with stat_battery.xml file??? i need percentage battery style, anymore screenies please?
> Purple
> Red
whalesplaho said:
Tickle if one wanna use another color, how can one go about it? how can i get yur battery icon please with stat_battery.xml file??? i need percentage battery style, anymore screenies please?
> Purple
> Red
Click to expand...
Click to collapse
To use another colour, just use a different ARGB code. Most decent image editors will give you at least a RGB code and you can work out what transparency you need. If you don't have a decent image editor, I recommend Pixelformer. It's not massively powerful but it's free and it's what I use.
As for my battery icon in the screenshot, that's available from Tickle My Android. The link is in my signature.
Sent from my SK17i using xda premium
Ticklefish said:
To use another colour, just use a different ARGB code. Most decent image editors will give you at least a RGB code and you can work out what transparency you need. If you don't have a decent image editor, I recommend Pixelformer. It's not massively powerful but it's free and it's what I use.
As for my battery icon in the screenshot, that's available from Tickle My Android. The link is in my signature.
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
i dont know how to use pixelformer, i would appreciate if yhu can help me with tha code please!
i have TickleforAndroid but dnt know how i will go about getting tha battery icon & tha stat_battery.xml
whalesplaho said:
i dont know how to use pixelformer, i would appreciate if yhu can help me with tha code please!
Click to expand...
Click to collapse
you can use, photo editor, free from play store, put it in drawing mode and it will show the colour and transparency value you can use .
ⓐⓝⓓⓡⓞⓢⓘⓓⓔ ⓘⓢ ⓝⓞⓣ ⓐ ⓢⓘⓝ
plegdroid said:
you can use, photo editor, free from play store, put it in drawing mode and it will show the colour and transparency value you can use .
ⓐⓝⓓⓡⓞⓢⓘⓓⓔ ⓘⓢ ⓝⓞⓣ ⓐ ⓢⓘⓝ
Click to expand...
Click to collapse
thanks brov....
whalesplaho said:
i dont know how to use pixelformer, i would appreciate if yhu can help me with tha code please!
i have TickleforAndroid but dnt know how i will go about getting tha battery icon & tha stat_battery.xml
Click to expand...
Click to collapse
There are instructions for changing battery icons in the second post on the Tickle My Android thread. Or it could be the third post, I don't remember.
Sent from my SK17i using xda premium
Ticklefish said:
There are instructions for changing battery icons in the second post on the Tickle My Android thread. Or it could be the third post, I don't remember.
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
Thanks brov... will check it brov!!!
TickleFish check dis out.... thanks!!!
will try to get more codes.
This is a TICKLEFISH TUTORIAL!
{
"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"
}
If you've been following these tutorials, you'll know by now how to center the clock in the statusbar and how to change its colour to whatever you like. So far, so good.
Now, let's do something you won't see anywhere else. Let's make it display seconds!
You haven't been following my threads?
Well, click here to find out how to change the clock's colour and here to find out how to center it.
So..let's get started.
We will need to edit status_bar.xml in SystemUI.apk. To do this, we'll need to pull and decompile the apk file from the phone.
What's the best way to do this? Why, with Tickle My Android, of course!
This is the stock code in Timescape ICS:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/status_bar_background" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:visibility="gone" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:gravity="center_vertical" android:layout_alignParentLeft="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center_vertical" />
<ImageView android:id="@id/stat_no_sim" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:visibility="gone" android:layout_gravity="center_vertical" />
<LinearLayout android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<ImageView android:id="@id/battery" android:paddingLeft="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<com.android.systemui.statusbar.policy.Clock android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="left|center" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:animationCache="false">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0" android:paddingTop="2.0dip">
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:singleLine="true" />
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:singleLine="true" />
</com.android.systemui.statusbar.phone.TickerView>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
We'll need to edit the line containing the clock:
Code:
<com.android.systemui.statusbar.policy.Clock android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="left|center" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:singleLine="true" />
Now, how do we add seconds to this? XML tags? Smali edits?
Nah..
We'll cheat!
There's a little bit of widget code that's been in Android for ages called 'DigitalClock'. This provides..can you guess..a digital clock! And we're going to use it like this:
Code:
<DigitalClock android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="left|center" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:singleLine="true" />
This will change the xml to:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/status_bar_background" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:visibility="gone" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:gravity="center_vertical" android:layout_alignParentLeft="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center_vertical" />
<ImageView android:id="@id/stat_no_sim" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:visibility="gone" android:layout_gravity="center_vertical" />
<LinearLayout android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<ImageView android:id="@id/battery" android:paddingLeft="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<DigitalClock android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="left|center" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:animationCache="false">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0" android:paddingTop="2.0dip">
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:singleLine="true" />
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:singleLine="true" />
</com.android.systemui.statusbar.phone.TickerView>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
Save, recompile, blah-blah-blah.
And here it is:
It's worth noting that DigitalClock doesn't have any leading zeros. Which means, at one o'clock in the morning, the clock shows 1:00:00, not 01:00:00.
There's also another widget code you might be interested in, which is AnalogClock. This gives you...well, I'm sure you can guess.
This doesn't work well on the statusbar as the clock won't be big enough. But it can be used in other places.
Here's my personal setup on my Mini Pro:
Have fun!
Amazing brotha... trying it out now!
Bro, i can't recompile the file. it said "error, "systemUI.apk" has not been fully decompiled". In fact i already modified the code inside the status_bar.xml
Tickle My Android version 4.3,
Mini Pro ICS .587 stock ROM, rooted.
Thanks.
what about tha analog clock brotha?
coolkwc said:
Bro, i can't recompile the file. it said "error, "systemUI.apk" has not been fully decompiled". In fact i already modified the code inside the status_bar.xml
Tickle My Android version 4.3,
Mini Pro ICS .587 stock ROM, rooted.
Thanks.
Click to expand...
Click to collapse
Yes, but the apk is still missing information. If you're using the stock rom, chances are you didn't install framework-res.apk before you started decompiling.
Oh, and Tickle My Android is on Version 5.0 now..
Sent from my SK17i using xda premium
what about tha analog clock brotha?
Click to expand...
Click to collapse
Give it a try and see what happens!
Sent from my SK17i using xda premium
Ticklefish said:
Give it a try and see what happens!
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
no code for tha Analog brov....
Ticklefish said:
Yes, but the apk is still missing information. If you're using the stock rom, chances are you didn't install framework-res.apk before you started decompiling.
Oh, and Tickle My Android is on Version 5.0 now..
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
Bro, i'm using v5 now. Can recompile...after that what shall i do? option 14 to prepare system apps for pushing? or option 15 to sign? after that how to push back the device? create flashable zip? i try create zip, but error... Sorry bro, i read the TMA tutorial, but it is confusing, especially after the step of recompile.
Thanks in advance.
---------- Post added at 06:58 PM ---------- Previous post was at 06:49 PM ----------
coolkwc said:
Bro, i'm using v5 now. Can recompile...after that what shall i do? option 14 to prepare system apps for pushing? or option 15 to sign? after that how to push back the device? create flashable zip? i try create zip, but error... Sorry bro, i read the TMA tutorial, but it is confusing, especially after the step of recompile.
Thanks in advance.
Click to expand...
Click to collapse
Bro, i adi figure out how to create zip, previously i din set destination folder for zip.
coolkwc said:
Bro, i'm using v5 now. Can recompile...after that what shall i do? option 14 to prepare system apps for pushing? or option 15 to sign? after that how to push back the device? create flashable zip? i try create zip, but error... Sorry bro, i read the TMA tutorial, but it is confusing, especially after the step of recompile.
Thanks in advance.
---------- Post added at 06:58 PM ---------- Previous post was at 06:49 PM ----------
Bro, i adi figure out how to create zip, previously i din set destination folder for zip.
Click to expand...
Click to collapse
Once you've successfully recompiled, you need to prepare the files then make a flashable zip. Preparing signs the new apk in the same way as the old, which you need to do to make the phone accept it.
Sent from my SK17i using xda premium
Whalesplaho, the xda app is misbehaving again and I can't view your post to quote it.
But basically, the code is AnalogClock and you just need to set the width and height. If you examine the full tag for DigitalClock as I wrote in the op, that should give you enough to start with.
The analogue clock is really meant for app developers to use, because it doesn't work well when it's small, but it works well on the tracking part of the drop-down notification screen.
Have a play and experiment with it. It's the best way of learning!
Sent from my SK17i using xda premium
really like it tackelfish...definitly going to try this..
Just one question..don't I need the png's for clock in notification area.?
Sent from my SK17i using XDA Premium HD app
sandy7 said:
really like it tackelfish...definitly going to try this..
Just one question..don't I need the png's for clock in notification area.?
Sent from my SK17i using XDA Premium HD app
Click to expand...
Click to collapse
Nope. You can actually use PNG's for the different parts of the clock if you want but what you see in the screenshots is how it looks by default. All you need is code.
Sent from my SK17i using xda premium
Ticklefish said:
Once you've successfully recompiled, you need to prepare the files then make a flashable zip. Preparing signs the new apk in the same way as the old, which you need to do to make the phone accept it.
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
Bro, i really dun know what's wrong with my step, please kindly review.
1. Pull framework-res.apk, decompiled and install in PC.
2. Pull systemUI.apk, decompiled.
3. Edit status_bar.xml as stated, then save.
4. recompile systemUI.apk
5. prepare system apps for pushing.
6. sign app.
7. create flashable zip
Here's the problem, i dun understand the purpose of step 5 and 6, am i doing wrongly??
I flash using CMW, boot into recovery and install zip from sdcard.
the result is as follow:
<<FLASHING MOD>>
ADDING XTRA FILES>>
[!] Nothing to do in XTRAS
WORPHING >>
[!] Nothing to morph
{ Nothing has changed }
CLEANING CACHE, TEMPORAL FILES & EXIT >>
Install from sdcard complete.
i reboot and nothing has changed. I tried pull the modified systemUI.apk from phone, and noticed that the status_bar.xml still remained same as original, which doesn't changed as i edit.
Really no idea what's wrong with that.
Thanks in advance.
coolkwc said:
Bro, i really dun know what's wrong with my step, please kindly review.
1. Pull framework-res.apk, decompiled and install in PC.
2. Pull systemUI.apk, decompiled.
3. Edit status_bar.xml as stated, then save.
4. recompile systemUI.apk
5. prepare system apps for pushing.
6. sign app.
7. create flashable zip
Here's the problem, i dun understand the purpose of step 5 and 6, am i doing wrongly??
I flash using CMW, boot into recovery and install zip from sdcard.
the result is as follow:
<<FLASHING MOD>>
ADDING XTRA FILES>>
[!] Nothing to do in XTRAS
WORPHING >>
[!] Nothing to morph
{ Nothing has changed }
CLEANING CACHE, TEMPORAL FILES & EXIT >>
Install from sdcard complete.
i reboot and nothing has changed. I tried pull the modified systemUI.apk from phone, and noticed that the status_bar.xml still remained same as original, which doesn't changed as i edit.
Really no idea what's wrong with that.
Thanks in advance.
Click to expand...
Click to collapse
Don't sign the apk. That's what preparing it is all about.
And it looks like you're creating the zip file without putting any files in it. Once you've recompiled and prepared SystemUI.apk, you need to add it to system/app in the zip menu. Then you can make the zip.
Sent from my SK17i using xda premium
Realy cool... thanks for showing us!! :good:
whalesplaho said:
Amazing brotha... trying it out now!
Click to expand...
Click to collapse
brov...can you mod it to your v6 tabbed systemui mod..?
it would be great
Dark ramadhan said:
brov...can you mod it to your v6 tabbed systemui mod..?
it would be great
Click to expand...
Click to collapse
Anybody can..fancy giving it a try?
Sent from my SK17i using xda premium
Ticklefish said:
Anybody can..fancy giving it a try?
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
edited some xml but cant recompile... apktool aint working on windows 8, i get error apktool is not recognised while trying to recompile!
ticklefish should i upload my edited file & help me recompile please?
whalesplaho said:
edited some xml but cant recompile... apktool aint working on windows 8, i get error apktool is not recognised while trying to recompile!
ticklefish should i upload my edited file & help me recompile please?
Click to expand...
Click to collapse
I'm happy to, if I have the time. I might even be able to in a hour or two. In the meantime, what are you using for your de/recompiling?
Sent from my SK17i using xda premium
Ticklefish said:
I'm happy to, if I have the time. I might even be able to in a hour or two. In the meantime, what are you using for your de/recompiling?
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
I do use Apktool on my Windows 7 but not working on Windows 8..... i edited an already decompiled apk!
should i upload & drop tha link?
Hi,
I've read some infos about that and tried different ways but it didn't work.
I try to add volume buttons to my tablets (exotic model: Rockchip M742E) navigation bar.
What I tried:
- pulled original SystemUI.apk
- decompiled it using apktool
- opened res/layout/system_bar.xml and found:
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/navigationArea" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentLeft="true">
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_back" android:contentDescription="@string/accessibility_back" systemui:keyCode="4" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/home" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_home" android:contentDescription="@string/accessibility_home" systemui:keyCode="3" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_recent" android:contentDescription="@string/accessibility_recent" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:layout_gravity="center_vertical" android:id="@id/screenshot" android:layout_width="@dimen/navigation_key_width" android:layout_height="wrap_content" android:src="@drawable/capture" android:contentDescription="@string/accessibility_recent" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/menu" android:visibility="invisible" android:layout_width="@dimen/navigation_menu_key_width" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_menu" android:contentDescription="@string/accessibility_menu" systemui:keyCode="82" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/sub" android:background="@drawable/sub_normal" android:visibility="gone" android:layout_width="@dimen/navigation_menu_key_width" android:layout_height="fill_parent" systemui:keyCode="25" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/add" android:background="@drawable/add_normal" android:visibility="gone" android:layout_width="@dimen/navigation_menu_key_width" android:layout_height="fill_parent" systemui:keyCode="24" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
</LinearLayout>
OK, there already are hidden volume buttons... great (i thought).
- I removed android:visibility="gone"
- recompiled SystemUI.apk with apktool
- pushed SystemUI.apk to the device
- rebooted... no navbar and other UI elements
I also tried this tutorial but had no luck
Does someone know what I am doing wrong?
I added the original apk to this post.
ponchofiesta said:
- recompiled SystemUI.apk with apktool
- pushed SystemUI.apk to the device
- rebooted... no navbar and other UI elements
Click to expand...
Click to collapse
Did you sign it correctly?
XperienceD said:
Did you sign it correctly?
Click to expand...
Click to collapse
I didn't sign anything. Never read about it. How do I do it?
ponchofiesta said:
I didn't sign anything. Never read about it. How do I do it?
Click to expand...
Click to collapse
Click the image in my sig and learn how.
XperienceD said:
Click the image in my sig and learn how.
Click to expand...
Click to collapse
Thanks. I tried both methods under Signing but both didn't work. After reboot SystemUI FCs
ponchofiesta said:
Thanks. I tried both methods under Signing but both didn't work. After reboot SystemUI FCs
Click to expand...
Click to collapse
You'll just need to experiment with your code then if the guide you followed isn't for your device, I rebooted and flashed my framework about 8 times last week trying to get a mod right, it's what you have to do sometimes. Push a stock SystemUI to your Phone for now and start from scratch.
I used now this simple guide but still the same. SystemUI crashes.
I will now test a unmoddified APK... if it also crashes, the problem is in the procedure itself.
I also tried APK-Multi-Tool now but it still crashes...
logcat shows much of this:
Code:
W/PackageManager( 275): Not granting permission android.permission.INJECT_EVENTS to package com.android.systemui (protectionLevel=2 flags=0x83e0d)
I believe it's still a signature problem or something. But I don't know how to fix it.
Noob wanna share how to modified SystemUI on Galaxy Mega GT-I9152. For others,please compare it with yours.maybe this guide would help you...
I'd made mistake about how to remove Sim Icon on Statusbar,statusbar Expanded & enable Navigation bar. So I update the Guide...
REQUIREMENT: !!!
- BRAIN
- Patient
- experience
- Know how to decompile/recompiling Apk file
- notepad++
- Tool for decompiling, : apkmanager/apktool/Virtous/apkmultitools/ or else
A. HOW TO FIX ERROR WHEN RECOMPILE SYSTEMUI.APKDecompile SystemUI.apk
Go to System/res/value/style.xml
add this line in the end of the line above "</resources>"
HTML:
<style name="SystemBarNotificationText">
<item name="android:textSize">16.0sp</item>
<item name="android:textColor">#ff999999</item>
</style>
<style name="SystemBarPanelSettingsRow">
<item name="android:orientation">horizontal</item>
<item name="android:background">?android:listChoiceBackgroundIndicator</item>
<item name="android:paddingRight">16.0dip</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">64.0dip</item>
</style>
<style name="SystemBarPanelSettingsIcon">
<item name="android:layout_width">64.0dip</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:scaleType">center</item>
</style>
<style name="SystemBarPanelSettingsContents">
<item name="android:textSize">18.0sp</item>
<item name="android:textColor">?android:textColorPrimary</item>
<item name="android:layout_gravity">left|center</item>
<item name="android:layout_width">0.0dip</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_weight">1.0</item>
</style>
<style name="SystemBarPanelSettingsPanelSeparator">
<item name="android:background">@*android:drawable/divider_horizontal_dark</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">1.0dip</item>
<item name="android:layout_marginRight">0.0dip</item>
</style>
B. HOW TO FIX ERROR WHEN RECOMPILE FRAMEWORK-RES.APKDecompile framework-res.apk
go to framework/res/layout
open all this xml :
HTML:
keyguard_screen_password_landscape.xml
keyguard_screen_password_portrait.xml
keyguard_screen_tab_unlock.xml
keyguard_screen_tab_unlock_land.xml
keyguard_screen_unlock_landscape.xml
keyguard_screen_unlock_portrait.xml
find this in all that xml :
HTML:
@id/transport
in that line you will see :
HTML:
layout="@layout/keyguard_transport_control"
change to :
HTML:
layout="[email protected]/keyguard_transport_control"
do it for all xml I'd mentioned above
try to recompile systemui & framework without modifying anything.if succeed you can try to modifying...
Now,lets modifying...
1. Center ClockDecompile systemUI.apk
go to SystemUI.apk\res\layout\status_bar.xml
find this line & delete it:
HTML:
<com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ffffffff" android:ellipsize="none" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:includeFontPadding="false" />
then find this :
HTML:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
add this below it :
HTML:
<DigitalClock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textColor="#ff339bc1" android:gravity="center" android:id="@id/clock" android:layout_width="fill_parent" android:layout_height="fill_parent" />
2. Remove Icon Sim on Status Bargo to SystemUI.apk\res\layout\signal_cluster_view.xml
Find this :
HTML:
<ImageView android:id="@id/sim_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="3.0dip" />
replace all that line with this :
HTML:
<ImageView android:id="@id/sim_icon" android:layout_width="0.0dip" android:layout_height="0.0dip" />
3. Remove Icon Sim on Status Bar Expandedgo to SystemUI.apk\res\layout\status_bar_expanded.xml
Find this :
HTML:
@id/quickpanel_dualsim_layout
change 0dip android:layout_height with to :
HTML:
0.0dip
4. 1% battery & Animation chargingdownload attached files and copy files to corresponding folders in SystemUI
5. Enable Navigation Bardownload attached files and copy files to corresponding folders in SystemUI if folder does not exist(drawables-xhdpi) create it. then add ic_lock_power_off.png to system/res/drawable hdpi...
Go to system/res/value/ids.xml
add this above </resources>
HTML:
<item type="id" name="quick_launch">false</item>
Go to system/res/value/strings
add this above </resources>
HTML:
<string name="accessibility_capture">Power toggle</string>
YOU MUST EDIT YOUR "build.prop" in folder /system too. if not your SystemUI will fc....
ADD THIS IN THE END OF YOUR "build.prop" :
HTML:
qemu.hw.mainkeys=0
Remove Text and Toggle Status :download attached files and copy files to corresponding folders in SystemUI
Thanks To :
- Allah SWT
- My beloved wife & childs
- @joehanh88
- @gharrington
- @Adi Aisiteru Reborn
- @barikke74
- Budi SemogaDermawan
- XDA forum
Flymeui on gt i9152
1. FrameworkDecompile framework-res.apk
got to framework/res/value/dimens.xml
find this :
HTML:
<dimen name="status_bar_height">
change 0dip to :
HTML:
<dimen name="status_bar_height">40.0dip</dimen>
Recompile
SystemUIDecompile SystemUI.apk
1. Go to System/res/layout/statusbar.xml
Replace all with this :
HTML:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:id="@id/status_bar" android:background="@drawable/status_bar_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<AnalogClock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ffffffff" android:ellipsize="none" android:gravity="center" android:id="@id/clock" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:includeFontPadding="false" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="@color/notification_header_date_color" android:ellipsize="marquee" android:gravity="bottom|left|center" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="45.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="@dimen/notification_panel_header_date_margin_bottom" android:singleLine="true" />
<ImageView android:id="@id/black_bg" android:background="#ff000000" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<ImageView android:id="@id/notification_lights_out" android:paddingLeft="6.0dip" android:paddingBottom="2.0dip" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lights_out_dot_small" android:scaleType="center" />
<LinearLayout android:orientation="horizontal" android:id="@id/status_bar_contents" android:paddingLeft="45.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="20.0dip">
<LinearLayout android:orientation="horizontal" android:id="@id/notification_icon_area" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:alpha="@dimen/notification_icon_area_alpha">
<TextView android:textSize="15.0dip" android:textColor="#ff339bc1" android:gravity="center_vertical" android:id="@id/carrierLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<ImageView android:id="@id/operatorLogoIcon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_stat_notify_operator_logo" />
<ImageView android:id="@id/operatorLogoIcon_org" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_stat_notify_operator_logo_org" />
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="55.0dip" android:paddingRight="16.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="wrap_content" android:layout_height="fill_parent" android:alpha="@dimen/system_icon_area_alpha">
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
<TextView android:textSize="12.0dip" android:textColor="#ffffffff" android:layout_gravity="center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_network_name_separator" />
<ImageView android:gravity="center" android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="45.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="20.0dip">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="centerInside" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="centerInside" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:background="@drawable/status_bar_bg_tile" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:textColor="#ff99cc00" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:textColor="#ff99cc00" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.phone.TickerView>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
Recompile
Push your SystemUI first then framework after that...
PS : Fixed annoying black background after restart/reboot.just replace status_bar_bg_tile.png with mine...
here my screenshoot... a little bit different because I add custom background on statusbar & statusbar expanded header...
Sorry for my bad English...
reserved again...
keep it up :thumbup:!
@sitfire,
dear friends...
you're doing great...
nice share bro...
:good::good::good:
Selamat!
Aku sudah mencoba berbagai cara untuk menimbulkan navbar (mengedit SystemUi alias metode gharrington, mengedit framework-res.apk dll), tapi setiap kali gagal
Padahal aku lumayan tahu pakai apktool, dan tidak ada error waktu recompile, tapi setelah filenya dipush kembali ke dalam system dan hpnya direboot aku mendapat FC.
Kalau anda tidak keberatan mungkin anda bisa mod SystemUI.apk ku?
Linknya:
http://d-h.st/TQN
Terima kasih banyak!
(In english:
hi,
I have aready tried different ways to enable the navbar, (editing the SystemUi ala gharrington, editing framework-res.apk etc.) but everytime it fails.
I'm not too bad at using apktool, and I don't get any recompile errors, but everytime I push the file back into the system and reboot I get FC.
If you don't mind maybe you cold mod my SystemUI?
Here's the link:
http://d-h.st/TQN
Thanks a lot!)
unclefab said:
Selamat!
Aku sudah mencoba berbagai cara untuk menimbulkan navbar (mengedit SystemUi alias metode gharrington, mengedit framework-res.apk dll), tapi setiap kali gagal
Padahal aku lumayan tahu pakai apktool, dan tidak ada error waktu recompile, tapi setelah filenya dipush kembali ke dalam system dan hpnya direboot aku mendapat FC.
Kalau anda tidak keberatan mungkin anda bisa mod SystemUI.apk ku?
Linknya:
http://d-h.st/TQN
Terima kasih banyak!
(In english:
hi,
I have aready tried different ways to enable the navbar, (editing the SystemUi ala gharrington, editing framework-res.apk etc.) but everytime it fails.
I'm not too bad at using apktool, and I don't get any recompile errors, but everytime I push the file back into the system and reboot I get FC.
If you don't mind maybe you cold mod my SystemUI?
Here's the link:
http://d-h.st/TQN
Thanks a lot!)
Click to expand...
Click to collapse
Try to decomplit and complete it back then fix the error when try to complete. ..
Sent from my GT-I9205
---------- Post added at 08:35 PM ---------- Previous post was at 08:33 PM ----------
sitifire said:
reserved again...
Click to expand...
Click to collapse
Did you fine the torchlight and rip with ink effect. ...
Sent from my GT-I9205
unclefab said:
Selamat!
Aku sudah mencoba berbagai cara untuk menimbulkan navbar (mengedit SystemUi alias metode gharrington, mengedit framework-res.apk dll), tapi setiap kali gagal
Padahal aku lumayan tahu pakai apktool, dan tidak ada error waktu recompile, tapi setelah filenya dipush kembali ke dalam system dan hpnya direboot aku mendapat FC.
Kalau anda tidak keberatan mungkin anda bisa mod SystemUI.apk ku?
Linknya:
http://d-h.st/TQN
Terima kasih banyak!
(In english:
hi,
I have aready tried different ways to enable the navbar, (editing the SystemUi ala gharrington, editing framework-res.apk etc.) but everytime it fails.
I'm not too bad at using apktool, and I don't get any recompile errors, but everytime I push the file back into the system and reboot I get FC.
If you don't mind maybe you cold mod my SystemUI?
Here's the link:
http://d-h.st/TQN
Thanks a lot!)
Click to expand...
Click to collapse
did you edit build.prop as I said above?
I'd try with sgm 6.3 too & it works perfectly...
please read the guide slowly & carefully bro...
shazzl said:
---------- Post added at 08:35 PM ---------- Previous post was at 08:33 PM ----------
[/COLOR]
Did you fine the torchlight and rip with ink effect. ...
Sent from my GT-I9205
Click to expand...
Click to collapse
not yet bro...any link as reference,so I can compare it?thanks...
sitifire said:
did you edit build.prop as I said above?
I'd try with sgm 6.3 too & it works perfectly...
please read the guide slowly & carefully bro...
Click to expand...
Click to collapse
Of course I've edited build.prop!
Some months ago I had followed gharrington's method to enable the navbar on my galaxy grand and it worked, and it's actually an easy mod.
But for some reasons it doesn't work on my mega 6.3.
That's why I uploaded my systemui here, I would be interested to see if you can make it work, and in case you do I'll be even more interested to see how you did it.
Believe me, I've tried different ways and I know how to use apktool, it's not my first mod but still, I couldn't make it work.
Thanks in advance for any help
unclefab said:
Of course I've edited build.prop!
Some months ago I had followed gharrington's method to enable the navbar on my galaxy grand and it worked, and it's actually an easy mod.
But for some reasons it doesn't work on my mega 6.3.
That's why I uploaded my systemui here, I would be interested to see if you can make it work, and in case you do I'll be even more interested to see how you did it.
Believe me, I've tried different ways and I know how to use apktool, it's not my first mod but still, I couldn't make it work.
Thanks in advance for any help
Click to expand...
Click to collapse
here's a proved a made a navbar on galaxy mega 6.3.
http://forum.xda-developers.com/editpost.php?do=editpost&p=50488102
download systemui.apk in my post on that thread & compare it with yours.
you have posted in that thread too...and you said you delete the line "qemu.hw.mainkeys=0" and my guide add that line.
I can't download your ui because my data plan limited right now.I wanna upload a huge files now...maybe next time I help you bro...sorry & thanks...
sitifire said:
did you edit build.prop as I said above?
I'd try with sgm 6.3 too & it works perfectly...
please read the guide slowly & carefully bro...
not yet bro...any link as reference,so I can compare it?thanks...
Click to expand...
Click to collapse
for torchlight able follow this guidehttp://forum.xda-developers.com/showthread.php?t=2355931
for ink effect on ripple lockscreen here
i have mode this on my rom CML1... but the torchlight is not a wake i check logcat, i should active the framework file but dont know where to fine it
Mod guide
unclefab said:
Of course I've edited build.prop!
Some months ago I had followed gharrington's method to enable the navbar on my galaxy grand and it worked, and it's actually an easy mod.
But for some reasons it doesn't work on my mega 6.3.
That's why I uploaded my systemui here, I would be interested to see if you can make it work, and in case you do I'll be even more interested to see how you did it.
Believe me, I've tried different ways and I know how to use apktool, it's not my first mod but still, I couldn't make it work.
Thanks in advance for any help
Click to expand...
Click to collapse
the guide work on me i9205
@sitifire see my screen short ink effect...
if you want a small ampm in status bar just add systemui:ampmSmall="true"
SystemUI/res/layout/status_bar.xml
Code:
<com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ffffffff" android:ellipsize="none" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:includeFontPadding="false" systemui:ampmSmall="true" />
if you want to make date 2 line in the status bar expanded header
1. add this at SystemUI/res/values/strings.xml
Code:
<string name="status_bar_date_format_day_month">"EEEE
d MMMM yyyy"</string>
<string name="status_bar_date_format_month_day">"EEEE
MMMM d yyyy"</string>
2 add this at SystemUI/res/layout/status_bar_expanded_headerr.xml android:maxLines="2"
Code:
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="@color/notification_header_date_color" android:gravity="bottom" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="8.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="@dimen/notification_panel_header_date_margin_bottom" android:maxLines="2" />
Thank you
i will help you if i seat in frond my laptop if on my hp sorry to say...
i also have some mod about add 10 battry icon witch 1% incress. using og battry mod HOW TO ( folow this, is as simpele as 123 )
and how to add speed meter on status bar on this Galaxy Mega Themes and Apps.
shazzl said:
the guide work on me i9205
@sitifire see my screen short ink effect...
if you want a small ampm in status bar just add systemui:ampmSmall="true"
SystemUI/res/layout/status_bar.xml
Code:
<com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ffffffff" android:ellipsize="none" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:includeFontPadding="false" systemui:ampmSmall="true" />
if you want to make date 2 line in the status bar expanded header
1. add this at SystemUI/res/values/strings.xml
Code:
<string name="status_bar_date_format_day_month">"EEEE
d MMMM yyyy"</string>
<string name="status_bar_date_format_month_day">"EEEE
MMMM d yyyy"</string>
2 add this at SystemUI/res/layout/status_bar_expanded_headerr.xml android:maxLines="2"
Code:
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="@color/notification_header_date_color" android:gravity="bottom" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="8.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="@dimen/notification_panel_header_date_margin_bottom" android:maxLines="2" />
Thank you
i will help you if i seat in frond my laptop if on my hp sorry to say...
i also have some mod about add 10 battry icon witch 1% incress. using og battry mod HOW TO ( folow this, is as simpele as 123 )
and how to add speed meter on status bar on this Galaxy Mega Themes and Apps.
Click to expand...
Click to collapse
greats...thanks bro...I'll try it,hope get lucky following ink effect's guide...
sitifire said:
greats...thanks bro...I'll try it,hope get lucky following ink effect's guide...
Click to expand...
Click to collapse
It work but ink effect are so little, need more test on it...I dont have much time buzy on dev a kernel.... hey do you want how to build a kernel
unclefab said:
Of course I've edited build.prop!
Some months ago I had followed gharrington's method to enable the navbar on my galaxy grand and it worked, and it's actually an easy mod.
But for some reasons it doesn't work on my mega 6.3.
That's why I uploaded my systemui here, I would be interested to see if you can make it work, and in case you do I'll be even more interested to see how you did it.
Believe me, I've tried different ways and I know how to use apktool, it's not my first mod but still, I couldn't make it work.
Thanks in advance for any help
Click to expand...
Click to collapse
here's bro... http://www.mediafire.com/?xxmaqxo26rsdjka
Don't forget to add
qemu.hw.mainkeys=0
in the end of your build.prop
report back it works or not.thanks...
shazzl said:
It work but ink effect are so little, need more test on it...I dont have much time buzy on dev a kernel.... hey do you want how to build a kernel
Click to expand...
Click to collapse
not test it yet bro...?a bit busy on works... I don't know about making custom kernel...
For your phone I much I easy the are a repo aready u shuld set up you pc to ubuntu 12.04lts and set up android environment...
Sent from my GT-I9205 using xda app-developers app
shazzl said:
For your phone I much I easy the are a repo aready u shuld set up you pc to ubuntu 12.04lts and set up android environment...
Sent from my GT-I9205 using xda app-developers app
Click to expand...
Click to collapse
I don't know anything about linux and ubuntu bro...even in windows I just know office only...
could you make custom kernel for my device please...
sitifire said:
I don't know anything about linux and ubuntu bro...even in windows I just know office only...
could you make custom kernel for my device please...
Click to expand...
Click to collapse
I shuld ask permission k2wl on this first ohter wise it will be a same as i9205 kernel I build....
shazzl said:
I shuld ask permission k2wl on this first ohter wise it will be a same as i9205 kernel I build....
Click to expand...
Click to collapse
ok bro...k2wl ever made a kernel for my device but not add other features yet.same as stock kernel but its works...hope he and you could add others feature like oc and ram management...thanks bro...