Correct Android tab appearance across platforms?

If you want to support all Android versions (1.5+), the first option is the easiest solution The system applications (e.g. Contacts app) use custom tabs. Take a look here: android.git.kernel.org/?p=platform/packa... (e.g. Search for "tab_" in these folders: res/layout-finger, res/drawable-finger, res/drawable-hdpi-finger).

If you want to support all Android versions (1.5+), the first option is the easiest solution. The system applications (e.g. Contacts app) use custom tabs. Take a look here: android.git.kernel.org/?p=platform/packa... (e.g. Search for "tab_" in these folders: res/layout-finger, res/drawable-finger, res/drawable-hdpi-finger).

Unfortunately the Contacts app's custom tab stuff appears to be unfinished and isn't used --- ContactsUtils. CreateTabIndicatorView() isn't called from anywhere! In addition, the Browser app's bookmarks editor has completely standard tab code, no custom UI anywhere, and yet it too is appearing in system-app style... – David Given Oct 5 '10 at 12:53 Hmm... you seem to be right.By the way, one other thing that affects the tabs style is the "android:targetSdkVersion" from your manifest file.

For example, if you set it to 7 you get another style than with 6. – Edi Oct 5 '10 at 14:48 Yes, I just found that myself.Very... intuitive! At least that mystery is explained.

It also appears that none of the HTC Desire system applications use standard tabs, so I can't compare to see what they look like. The standard Froyo style guide is pretty much unreadable on the HTC Desire... – David Given Oct 5 '10 at 14:57.

I'm writing an application that needs to work on a variety of Android devices, each with their own carrier-specific themeing. Unfortunately, there's a problem in that the tab themes for each device are incompatible --- stock Android uses light-background, dark-foreground for the selected tab, but the HTC Desire uses dark-background, light-foreground, which means that icons designed for one look wrong on the other. (Also, the HTC Desire's themes has a bug where they've forgotten to set the foreground colour for selected tabs, which means what you actually get is dark-background, dark-foreground.

I'd rather not do the first because that why our application won't match the other applications on the device. But unless there's a clever way around this issue, that's what I'll have to do.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions