how to change the themes and icons of Android 2.2 OS? - android

I am Optimizing the Android 2.2 OS to make it in such a way that it can be ported to the tablet. Can anyone suggest me how to change the themes and icons of Android 2.2 OS.

I asked a similar question in another forum about a custom UI, and why Sense from HTC is the way it is. I was given a brief answer, but I think it applies to you too: It involves a custom UI application that overlays on top of what is pre-existing.

Related

StatusBar not showing on MIUI and EMUI devices

I created app for Android(with Xamarin Classic). I did the testing and everything is fine, except for one thing: StatusBar not showing on MIUI and EMUI.
I understand that these firmware have their own peculiarities. but I almost did not find any information about it. Only this question, this quote:
your android device does not support that feature. For example, there
are different custom ROMs that manage the status bar in an
unconventional way like MIUI, EMUI, etc.
Please help me, any tips and tricks.

Force Android App to have Jellybean Theme?

I am making an Android app and was messing around with styles. Instead of using the Material Light/Dark or other themes that I could find, is it possible to render the phone in Jellybean? I would like the look and feel of Jellybean while keeping the functionality of Lollipop. Does anyone know how to do this?
-- Ben

Modifying the Android combined tablet bar

There exist several solutions (both legit and workaround) to allow the navigation bar to be hidden in smartphones and, in the case of https://stackoverflow.com/a/15227433/995285 there is even a magic flag that hides everything. I have confirmed that solution as working on my Sony ExperiaZ running Android 4.1.2. Seemingly perfect.
Trouble is, I am involved in Android OS development and one requirement is that the combined bar be completely hidden while proprietary applications are running - this is for safety reasons - and I cannot, for the life of me, get the status bar to hide using the API.
My question, then, is what modifications need to be made to the Android OS to achieve this goal? Could I derive the responsible class and use that as a replacement? If I'm not mistaken, I'm looking at modifying the WindowManager, but I could be wrong...
We are, so far, limited to Android ICS 4.0.4 and so the aforementioned solution does not work - I tried and hoped...

Android widget vertical scroll for Android 2.3.6

I'm trying to figure out how to enable vertical scroll for an Android widget.
From what I read in the documentation and this post it's possible to do that only from Android version 3.0 and up.
However, I saw a phone (Motorola Razr) with Android version 2.3.6 that had a Gmail widget with a vertical scroll.
So I can't understand if it's possible or not? And if it is possible, how to implement it?
Manufacturers generally build out Android from a custom version of AOSP. Since the entire source for Android 2.3.x is available, it is quite possible that Motorola simply added support for scrolling widgets by modifying the source for their own devices (potentially using the same techniques that AOSP 3.0 does). And if this is indeed the case, that will require changes in the underlying operating system and hence will likely not be available to you if you are building the widgets using the SDK.
If by widgets you are talking about ? extends widget.View, you can always build you own View that does vertical scrolling.
This envolves parsing onTouchEvent (and probably onDispatchTouchEvent) and a lot of math.
I did it myself at work.

ListPreference on tablet

I have a ListPreference on my android application.
On phone 2.3.4, it has the 'downward triangle with a circle' icon on the right.
But when I run on the same app on Samsung Galaxy, it has no such icon. Can you please tell me how can I fix that?
Thank you.
The missing triangle is probably due to customizations that Samsung has made to Android. If you want to force the list preference to appear the exact same on each device regardless of the vendor you will probably have to subclass the ListPrefernce class and define exactly how you want it to appear, rather than using the definition that ships with the device.
Update I just noticed that you mention you are using a tablet in the title. I'm assuming you're using a Galaxy Tab 10.1 or 8.9. If that is the case the missing triangle is either due to Honeycomb or TouchWiz. If its a Honeycomb customization I wouldn't try to hack one in there.
It really is best for everyone if your app conforms to the UI standards put forth by the OS. Introducing inconsistencies in the UI tends to make users unhappy and can lead to interfaces that are difficult to use.

Categories

Resources