App is currently in the store "CalculateMe" It appears differently in different devices. The first one is Galaxy S3 and the second one is Galaxy S1. Not sure how I can fix this so it appears similarly to the first one.
It is maybe because of the theme your are using in your activity.
e.g. If you are using the default theme of device in your manifest.
Samsung Galaxy S3 has 4.2 version of android which has the Holo Theme (picture 1).
While Galaxy S1 has 2.3 which only has the default android Theme without the visual effects of Holo (picture 2). I believe this is the problem in your case.
Possible Solutions:
1)Either define your own theme to style the tabhost and set it in your activity.
2)Or you can use ActionBarSherlock or HoloEverywhere in your project. Probably it will require more time, but it will solve many problems with theming on Holo and pre-Holo devices.
Related
So i currently have a low-end Samsung Galaxy Pocket smartphone which uses the factory version of Android 2.3. When i test my apps in this device, it uses the gingerbread theme which is ugly. Android 4.2 UI is very nice and cool. So I want to know how to use the theme of Android 4.2 when im using lower versions of android. Here are some comparisons:
If you want to use the holo theme, you can use this library: HoloEverywhere. Alternatively, you can also create you're own theme.
I created an Android application. I tried this on differnet device and I have different layout in any Activity of my app. My Project Build Target is 2.3.3.
The two devices I used are:
Samsung Galaxy S2 - Android 2.3.6
HTC Desire - Android 2.3.5
For example the main Activity produces this layout in my Samsung:
and this in my HTC:
Why the two layout are so different?
This is because before Google introduced holo in Ice Cream Sandwich, manufacturers had a free hand in deciding how their devices' version of Android would look. Because of this, they could theme it to whatever they want.
I'm pretty sure that your app hasn't defined its own theme, and this is why you're getting such radically different looks on different devices.
To fix it, simply create your own theme and apply it to your activities.
This document can help you with styling your app.
You can use ActionBarSherlock with the Holo theme and Action Bar on older android versions (under 3.0).
I am building new Android app and i have question on the differences between how UI widgets looks in the emulator and how they look in my device (Samsung S2, OS 4.0.3).
When i run the app in the emulator buttons (BTW, and other UI widget) looks much more "elegant".. buttons (in number picker) are small arrow in blue/gray but in the device buttons (in number picker) are more "regular" (gray rectangle)
(sorry but I can not load pictures..)
my question is, how can i make the UI widget on my device looks like in the emulator?
Thanks,
Dudy.
I think it is the other way around - the emulator shows the default skin from Google, while your device shows what the manufacturer has customized (and burned into the operating system of your device).
So you may look into getting "Samsung skins" (if they exist) to make the emulator more close to the real device.
The nice UI you are talking about is probably the Holo Theme, which was introduced in Android HC, but some OEMs use customized Android Frameworks like Samsung(TouchWiz) or HTC(HTC Sense). If you want to use the same Theme throughout the big range of Android devices you can use third party libraries . A popular Theme, which brings pure Holo to older devices (2.3=<) is HoloEverywhere. If you use this Theme in your App you'll have the Holo Theme in most Android versions and on most devices.
i used the example in ActionBarSherlock Sample project from http://actionbarsherlock.com/download.html.
Then I applied the default theme to the app from http://jgilfelt.github.com/android-...rtiaryColor=F2F2F2,100&accentColor=33B5E5,100
This is the strange behavior. When I am checking the Activity with navigation as Tabs (ActionBar.NAVIGATION_MODE_TABS), the first and the last tab is not highlighting as soon as I apply the theme on MiUI ROM running on HTC One X
The same app is running fine on stock android, emulators, and every other configuration except MiUI
Can someone help?
To make life easy, I have uploaded the sample eclipse project export at http://bit.ly/Tu3xji
Following are the example of the problem:
I'm using android:Theme.Holo in my activity and I'm wondering if there's any way this can be not recommended. I mean if it's possible that Holo theme is not present in the device (obviously in >=Honeycomb).
In case it's not present, I guess the app would just crash, wouldn't it?
Holo theme is mandatory on all Android 4.0 devices that are running Android Market.
Yes Android 4.0 showcases the Holo theme family, further refined since its debut in Android 3.0. Indeed, Google continues its approach to unify the user experience on various Android devices by imposing native Holo theme (and its variations: Holo Holo Light and Light DarkActionBar) to access the Marketplace. So to ask your question all devices that run Android 4.0 uses the Holo theme.
As the other answers say, Holo is mandatory in 4.0, but if you want to support Holo on pre-4.0 phones then check out HoloEverywhere, https://github.com/ChristopheVersieux/HoloEverywhere.