Android :: Remove Title Below Battery , Time Bar From Showing Up?
Mar 15, 2010How do I remove the title below the battery, time bar from showing up?
Not sure the terminology for that bar, but on this picture it is the "Nested XML Layout" bar:
How do I remove the title below the battery, time bar from showing up?
Not sure the terminology for that bar, but on this picture it is the "Nested XML Layout" bar:
I already know ho to hide the title bar with the getWindow().requestFeature(Window.FEATURE_NO_TITLE); in the Activity onCreate() method before the setContentView() call.
But i want something different. I'd like to show/hide the title bar in any moment. To make an example, place a button in the view that toggle the title. Unfortunately the requestFeature can be done only before the call to setContentView().
I dont want title bar in my application, how to remove that? in my activity?
View 7 Replies View RelatedIs it possible to remove a title bar in a window after content has been set? Calling the method Activity.requestWindowFeature (Window.FEATURE_NO_TITLE) ends up in the exception: "requestFeature() must be called before adding content".
View 3 Replies View RelatedI'm trying to create a custom titlebar in my app that looks like this (essentially):
For some reason, the icon shows up, but not the title text. It's really weird. For a split second you see the title text, but then it disappears and only the icon shows in the title.
My code is as follows:
==========================window_title.xml======== ==================
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
androidrientation="horizontal"
android:layout_width="60px"
android:layout_height="60dip"
android:gravity="center_vertical"
[code]....
I am using a custom title view in my application for each activity. In one of the activities, based on button clicks I need to change the custom title view. Now this works fine every time when I make a call to setFeatureInt.
But if I try to update any items in the custom title (say change the text of a button or a text view on the title), the update does not take place.
Debugging through the code shows that the text view and button instances are not null and I can also see the custom title bar. But the text on the text view or the button is not updated. Has anyone else faced this problem? How do I resolve it?
So I am using the techniques in this thread to use a custom background for my titlebar. Unfortunately the framework places my layout inside a FrameLayout (title_container) which has padding as seen below.
Is there anyway to remove the Grey borders? The frame layout is defined in com.android.internal.R.id.title_container, so accessing the frame by ID would be fragile.
I am using a custom title view in my application for each activity. In one of the activities, based on button clicks I need to change the custom title view. Now this works fine every time when I make a call to setFeatureInt.
But if I try to update any items in the custom title (say change the text of a button or a text view on the title), the update does not take place.
Debugging through the code shows that the text view and button instances are not null and I can also see the custom title bar. But the text on the text view or the button is not updated. Has anyone else faced this problem? How do I resolve it?
Can the title be removed from icons and widgets? I am now using text instead of icons and wondered if I can remove text from the HTC widgets for bluetooth and wifi?
View 1 Replies View RelatedHey I think this was covered in a Hero forum but there was no good answer. Does anybody know why Handcent decides to not show facebook pictures from time to time?
View 2 Replies View RelatedI have a custom title bar that I would like to apply to all my activities. I have searched online and found a few ways of doing that however I have ran into a problem. It seems that despite the fact I have a TextView in my titlebar with id @android:id/title, Android will not use the value defined in the manifest in android:label for each activity. I tried also calling setTitle(R.string.myTitle) but it still will not render it! If I manually put some text in my TextView in the xml it shows up fine. How can I have a custom title bar that is linked and makes Android use my manifest values for labels? I do not want to lose the setTitle() or the XML attributes functionality.
View 9 Replies View RelatedI am using a custom title view and would like to show/hide a progressbar in the title view when a thread is working.But there is no change to the progress bar. It is never displayed. Can someone please tell me what is wrong with the code?Is it possible to display the title progressbar in a custom title?
View 4 Replies View RelatedI'm setting up an app to use a custom title so I can get the proper logo into the title instead of just text, and to make it clean (since the logo has a flat black background), I also want the whole title bar to be black. My xml for the title is a framelayout to hold the logo inside of a linearlayout to change the background color, and I'm setting the title in OnCreate() as follows:
CODE:.........................
With this setup, the old gray from the old title bar still exists around the edge of my custom title. Appears to be on the order of 3-4 px on the bottom and 8-10 px on each side. Any ideas about how to get the black background to cover the entire area?
How do you remove web ads showing on your apps? I believe the web ad was showing up because I have downloaded another apps which I allowed web ad to be shown on my other apps but I'm not really sure. how do you also know if the app you are downloading will not have any web ad on it?
View 6 Replies View RelatedI've had a Droid X2 for almost 2 years, and as phones usually do, the battery life became pretty bad. It would get to 5% and then quickly die halfway through the day.
I purchased a new battery, and found it to be just as bad (supposedly). It would be down to 5% by noon without much usage, so I thought maybe the problem was with my phone and not an old battery. I'd just turn it off or try to find a charger...
It took me a few days to realize that it lasts hours past when it gets to 5%. HOURS. It reached 5% at about 1pm EST today, I used it my whole commute home on the train, made a two 5-10 minute phone calls this evening, and now past 9pm it still hasn't died.
So, it's not the battery. It's not the worst problem to have... but it would be really nice to know how much battery I have left.
Note: I rooted my phone about 1 week before I got the new battery.
My Google Calendar on my Android phone is off by one hour. Although it displays correctly on the website, on my Android phone some of the times are off by 1 hour. When I click into the event, it says (America/Cancun) which I assume means for some reason its displaying Cancun time zone.
View 3 Replies View RelatedI just got a new EVO 4G. I've been an Apple guy for the last 4 years (iPhone, iPhone 3G, iPhone 3GS, iPhone 4) and I will say so far I'm liking the switch over. Most people I have in my address bok I have multiple contact numbers for them. For example, Mobile, Work, Home
When I click on there contact name it shows up to call each number but then to also message each number. I was wondering if I can manually remove the Work and Home numbers as being "messagable". So only the Mobile number will have the message button.
Does the small analog clock (#2 in the HTC clock widgets) still have issues with it showing the wrong time? Or is it just my phone? It shows the right location, but the time is 6 hours off
View 10 Replies View RelatedMy clock widgets have all shown the correct time and place since I received my Hero. On Saturday, all of a sudden the clock is off by 5 hours but showing the correct location. I restarted my phone and the correct time would show up, but as soon as the phone sleeps and I wake it up, the clock is off by 5 hours again!!! I checked the settings for the clock and it is set to the network time and gps for current location. I had to download a clock widget off the market because I could not figure it out. Anyone?
View 2 Replies View Relatedi just got a new galaxy s yesterday so far i've found it really useful.but today i realized that when i get text messages, the received time is almost 4 hour behind.when i send a text, it shows the right time but only when i receive it
View 2 Replies View RelatedI have added a couple of soft keys through navigation_bar.xml in SystemUI.apk. The soft keys show great, but are also showing on the lockscreen, when the others "disappear".
The added ones are Menu and Search, the order is Home, Menu, Recent Apps, Back, Search. This is to be the same as my desire hard keys. I know, no point in it, but have just got used to the soft keys so much!
Anyway, here is my coding, I have removed the android:visibilty="invisble" attribute to no ill effects...I have also added the relevant strings and ids in their respective places..
Code:
<FrameLayout android:id="@id/rot0" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:id="@id/nav_buttons" android:clipChildren="false" [code]...
Could it be to do with the ID's? (I know that when I made the center clock, I added the "@id/clock" and it made the clock "disappear" on the lockscreen, where taking it out the clock stayed in the status bar!)...
The notification in the expanded status bar has time field. How can I set the "time" invisible or remove it??
Does anyone know about this?
I just flew from Raleigh, NC (eastern) to Chicago (central). The clock on the phone has the correct time but the weather/clock widget that came with the dinc is still on eastern time. When i tap on the widget the screen it takes me to shows the correct time but when I go back to the homescreen it's back to eastern. Any idea what's going on here?
View 6 Replies View RelatedI want to have more than one clock showing for different time zones. Can anyone recommend a widget for this?
View 4 Replies View RelatedIs there any benefit to having botha click widget and having the time displayed on the right hand side of the notification bar? After viewing other peoples screens I've decided to put more thought into how my phone looks, and having the time displayed twice is starting to annoy me, is it possible to remove the time from the notification bar?
View 1 Replies View RelatedI just got my Captivate on Sunday, got it rooted, removed bloatware etc and am a new member of this forum. I searched the forum to make sure it is not a re-post, but I could not find anything. Since I bought Beautiful Widgets to display time and weather I wanted to remove the time from the notification bar. Does anyone know how to do this?
View 1 Replies View RelatedI just wanted to pass this along; You can take it for a grain of salt, but I came away impressed. I decided to make a call to HTC (the number is on their page, if you go to Support and "Hotline" the number is there) to discuss a few of the hardware/software issues that I, as well as others on the board have been experiencing. First off, my wait time was about 3 minutes. Very short, so that was a good start. I spoke to a representative named Jonathan (a woman). The topics I asked about:
1. Why Gmail messages do not show up in the "People" application under the contact's card who sent the email.
2. Some questions that I had about managing memory and the best way to exit a program.
3. The clock widget displaying incorrect time, and the new issue that appeared with the clock today (possibly brought about by some DST error).
4. What happens when you "Clear Data" from the RAM using the "Manage Application" menu.
I began the conversation, which lasted about 40 minutes, asking about the Gmail issue (#1) as that was my biggest query, but added on the others as the conversation went on. She did not know exactly what I was talking about, as she hadn't heard that complaint before. Instead of just saying, "uhhhh, yea, I don't know what to say" or try to spout off some half-assed solution only to get me off the phone, she actually took the time to look in some of their documentation, and when coming up empty, grabbed a new phone, set it up and tried to replicate the issue. At no point in our conversation did she sound like she was saying stuff just to "get by" or end the call. She actually sounded as if she cared......
I feel dumb asking this but I'm having trouble removing the battery and I don't have the manual with me right now.
View 4 Replies View RelatedI have purchaced new sony ericson X10 recently. Can some one suggest me how to remove time space from my desktop. Its covering my photo in desktop. Also tell me me how to disconnect/silent the phone when i get a call.
View 5 Replies View RelatedIn the battery use menu on my desire its showing as 48% use for camera even though ive only used the camera about 4 times (to take 4 pictures) since I got the phone on Friday !
Its showing the same percentage use (48%) for Android system as well which I can expect but why all the use for the camera ?
Other use at the moment is 'Cell Standby' 2% and 'Phone Idle' 2%