Android :: TabWidget In Light Theme
Dec 15, 2009
I have an application that targets the 1.5 framework and uses the default light theme. When using a tab widget with this theme, the tab images are barely visible, and the tab captions are quite impossible to discern, except for the currently active tab.In the default dark theme these tabs come through quite clearly, but this is not a solution I'd be very happy with. Is there a simple setting I can set, that sets up the tab widget for better visibility in light themes, or would I have to tamper with images and text styles manually?
View 2 Replies
Apr 28, 2009
When apply the white theme, the text views and scrollviews display black background....and its very hard to read the text. The same app works fine on the 1.1 SDK. I am running the application on the Dev Phone (but emulator also have same symptoms)
View 15 Replies
View Related
Aug 31, 2010
I want to have a "change theme" feature in ma app. If I call setTheme() in onCreate(), there is one problem.
The moment after I launch my app, a plain white background appears for a second (because I have set light theme in the manifest). After that, the complete layout of my Activity is displayed - it is either with white or black background, according to user's theme preference.
Is there any way I can change whether white or black background appears after launch?
View 3 Replies
View Related
May 10, 2013
It seems like such a simple thing...it can be done system-wide by editing the framework file, but it seems like using the CM Theme Engine would be much nicer.
Is there any such theme, which is just Holo Light (or Holo Light with Dark Action Bar)?
View 9 Replies
View Related
Sep 10, 2010
I'm trying to create a basic AlertDialog using an activity with a theme of Theme.Dialog.What I want is for there to be a horizontal bar between the title and the message. However, the bar is not being resized correctly. Rather than being the width of the activity, the bar is the width of the message text. This means that if the activity is being expanded by the message, then the bar will fill the whole activity, so it looks correct. However, if the message width is less than the activity width, the bar only displays above the part of the activity with the text. I've tried every single combination of "fill_parent" and "wrap_content" that I can think of, and none of those work.I've also tried using RelativeLayout and placing the bar above the message text, but that also doesn't work. If I use the RelativeLayout approach and set the bar to fill_parent, it causes the activity to expand to fill the whole screen width, which is also undesirable. Ideally, I want the text placed, the activity width computed, and the bar resized to that width (without affecting it). Is there some way to flag a view to fill the parent view but not to affect its size?
View 1 Replies
View Related
Jul 15, 2009
I use themes in my apps, which generally just extend android:Theme and then set a bunch of styles. I use dialogs made from layouts, but since I set the theme for the application, they have inherited all of the regular styles and no longer carry a border, etc. My question is: How do I say, "I want everything to use this theme which extends Theme, except dialogs, which should use this other theme that extends Theme.Dialog"? It seems like that's how things work by default but when you set the theme to your own, you lose the dialog theme!
View 3 Replies
View Related
Mar 6, 2009
I've extended Theme.Dialog to use a different color as per the sample in the ApiDemos project but for some reason it does not use the theme properly in my project. I created a new project and it works perfectly fine there. The main problem here is that it does not show as floating in my project. Instead, it sets the rest of the screen black except for what would be the dialog window, where it uses the correct colors, etc. Any ideas? I am beating my head against the wall here.
View 2 Replies
View Related
Nov 25, 2009
I would like to make some small changes to the style of the built-in TabWidget (i.e. make the height smaller and change some colors).
View 2 Replies
View Related
May 24, 2010
I need to refresh my listview on my activity whenever i remove an item. I tried to call the activity (startActivity(Intent) ) it works but i lose the tabwidget.How Can I refresh my list without any lost ?
View 10 Replies
View Related
Jan 25, 2010
I am trying to launch activities under each tab.
I hav tried with following code:....................
I m getting exception as::::::
code:................
View 3 Replies
View Related
Nov 21, 2010
I am writing Java code to create a tabs.i have done that.but now i want the tab widget to be in the lower part of the screen.i hope this will be achieved by adding this code. android:layout_alignParentBottom="true" let me know how to add this coding.....
View 1 Replies
View Related
May 24, 2010
In android how to close TabWidget when a tab is selected.
As the title, I want close the TabWidget where some tab is selected.
View 3 Replies
View Related
Mar 20, 2009
I have a little problem, I'm doing landscape layouts and I can't resize the Tabs, which are huge like on this .
View 3 Replies
View Related
Jun 30, 2010
Is there a way that I can color the TabWidget View? Both the idle and selected colors? That way my app can look a little more personalized, ya know.
View 1 Replies
View Related
Mar 9, 2009
In my layout xml, I have: <TabHost android:id="@+id/tabhost" android:layout_width="fill_parent" android:layout_height="fill_parent">
<TabWidget android:id="@android:id/tabs" android:layout_width="fill_parent" android:layout_height="wrap_content"/>
</TabHost>
My question is how can I get a reference to TabWidget object. I tried this: mTabWidget = (TabWidget) findViewById(com.android.internal.R.id.tabs); but this won't compile since 'com.android.internal.R is not visible. And then I try change the id to android:id="@+id/tabs" but I get a run time error saying: "Your TabHost must have a TabWidget whose id attribute is 'android.R.id.tabs'"
View 2 Replies
View Related
May 31, 2010
I'm writing an android program in which I have an activity that uses tabs.Anybody have any idea how I can get this content into a tab without crashing my application? My actual program is more complex and has more than one tab but I simplified it down to this in an attempt to find out why it's crashing but it still crashes and I don't know why.If I don't use LayoutInflator my program doesn't crash but I don't get any content either, just tabs.
View 1 Replies
View Related
Jun 14, 2010
I set my tabWidget at the bottom. When i want to edit the edittext the keyboard will raise up. But the tab widget come above the keyboard. To support for the multiple screen i set the android:layout_weight="1.0". After that, I got this problem i added my layout code below. any idea to make the TabWidget at the bottom stably? Code...
View 1 Replies
View Related
Mar 30, 2010
I don't know what I did but for a period of time my TabWidget had white colored tabs which looked really nice. I never set a theme or background/foreground color in my project at all. The next time I compiled it it reverted back to the gray tabs. My application is using the default dark theme. Even if I set the application theme to light, the tabs are still gray. So obviously it was something else that changed the tabs' color. Anyone know how to do this?
View 2 Replies
View Related
Jul 18, 2010
What is the supported way to set tabwidget color?
View 2 Replies
View Related
Apr 21, 2010
Having just moved to an Android 2.1u1 HTC Desire from an Android 1.5 HTC Hero, I've noticed that there a weird behaviour from TabWidget in that it shows a thick white line under the tabs instead of what I think it should do. Difficult to explain so here are two URLs: http://android.esstec.co.uk/images/how_it_should_be.png http://android.esstec.co.uk/images/what_it_is.png Initially the tabwidget looks like the first picture but when you do anything with it (change tabs for example), it looks like the second. These screenshots are from the Google provided API demos so I don't think it's my code, but I wanted to paste here before filing a bug. Anyone got any ideas?
View 2 Replies
View Related
Jun 6, 2010
It seems that Android is very buggy compared not only to the iPhone, but to pretty much any other software. It's not just minor bugs either - pretty much every developer will come across many serious bugs. Some examples:
- When you run the "sdk setup.exe", the very first thing that happens is that it informs you that it can't connect using https, so you have to change the options to use 'http' instead. This appears to be a bug in the .exe rather than any kind of user issue because the https url works fine in the browser and this error seems to affect everyone. Sure, it's trivial to work around (just do a google search and you figure it out in 5 seconds), but the user shouldn't have to do that. It makes it look unprofessional.
- When you view a TabWidget in the layout editor it crashes.
- Every time you run an app in the emulator, it starts off with the screen locked so you need to press the Menu key.
- Various socket bugs (or perhaps all the same bug) related to IOException not happening. Even something as simple as just trying to connect to a remote host that is not listening will cause it to hang instead of immediately returning an error.
All of these bugs have been logged for months (some by me, some by other people) with no indication of any fix.
At the moment I'm just using the emulator, but I'm wondering if the phones themselves are this buggy or if all the bugs are just in the development environment and emulator.
View 1 Replies
View Related
Oct 13, 2010
In my TabHost activity, I want to show an ImageView below the selected tab (the ImageView overlaps the tab content). What would be the best solution to do this?
View 2 Replies
View Related
Oct 26, 2010
These packages are alternative gapps. These Gapps should improve performance. On top of that all apps are up to date (like YouTube). Ultra Light version will also remove unnecessary preinstalled apps like yaam, DSP Audio Manager and so on (and some more gapps of course).
View 13 Replies
View Related
Aug 16, 2010
My employer is having me work on an android application with very specific UI requirements. Specifically, we need an interface that looks exactly like a TabWidget interface. However, having the tabs on the left hand side is an absolute must. We aren't going to be deploying this application to any android phones, its for an in house device, and as such don't have any problem violating any design considerations that the android platform might have.
We already have a working prototype that hacks together the functionality we need using a combination of focus listeners and list views. It isn't pretty, and we aren't very confident in it just yet, but it works for the time being.
What we'd really like is to throw all of our prototype UI code away in exchange for using the built in TabWidget. However, since TabWidget is hardcoded to only work with the tabs on top, this isn't really an option.
So, we are hoping that someone out there has a patch, or set of patches, or perhaps a custom class, that handles the TabWidget functionality with the tabs on the side instead?
The relevant code for the TabWidget is here: http://www.google.com/codesearch/p?hl=en#uX1GffpyOZk/core/java/android/widget/TabWidget.java&q=android%20package:git://android.git.kernel.org%20lang:java%20tabwidget&sa=N&cd=1&ct=rc
And the specific function that is hardcoded for being tabs on top is
CODE:.......................
View 1 Replies
View Related
Sep 30, 2010
I accidently sat got my evo into some water on our bathroom the other night and now my phone is acting weird. I disconnected the battery and the phone and allowed them to sit in bags of rice for a few days to draw out the mositure. I turned the phone back on and found the camera is no longer so the water must of wicked in through there, but what is troubling me is the orange charge light comes on as well as a red indicator light on the other side.
View 2 Replies
View Related
Sep 13, 2010
Is there a performance impact, especially with regard to battery performance, if we switch from the default black theme of android to white or another colour?
View 2 Replies
View Related
Apr 27, 2010
When a TabWidget is using intents to designate the target Activity for each tab, is there any special handling of those Activities on the Activity Stack outside of the default operation? For Instance, if my app has tabs A, B, and C, and I click them in this order--A, B, A, C, A, B--how will the Activity stack change? My understanding of the default operation, if startActivity() is called each time on the intent, would have the Stack keep loading up new instances of the activities: A, AB, ABA, ABAC, ABACA, ABACAB It's hard to believe that's how it works though... Seems like it would be a waste of resources and could be endless. Can anyone tell me how this will actually work?
View 2 Replies
View Related
Jun 24, 2010
is there any app in the market like missed reminder or blink, that works correctly with an evo? ive tried both and neither of them have been working another thing is im looking for an app like flashlight alerts, but im trying to find some kind of free version of that app or an app that does just the same thing? any suggestions?
View 8 Replies
View Related
Apr 3, 2010
I just downloaded 2 themes from OpenHome and the clocks that I assume go with the themes are gone. I have a few skins and those clocks wont display either. The only clock I can get to show is the analog one that came with the phone.Any thoughts or ideas? I have the Motorola Back Flip.I have restarted, battery pull (that is what I used to do on my cursed Blackberry).
View 2 Replies
View Related
Nov 15, 2010
I need to use particular image as the theme for my most of the activities in my application...
how to do this..
View 2 Replies
View Related