Android :: Possible To Hang Help / Hint Bubbles Off Views?
Jul 1, 2010I'm considering the use of hints on TextViews but curious to know if hint * bubbles* are possible? (out of the box).
View 2 RepliesI'm considering the use of hints on TextViews but curious to know if hint * bubbles* are possible? (out of the box).
View 2 RepliesThis has happened to me several times in slightly different cases. Several times I've mistakenly placed calls to the wrong people (due to just messing around with the phone).
In a panic, I pressed the "back" button thinking that it will cancel the call. It didn't. I also tried the "home" button. Also no good.
I had to drag down the notifications bar to see the phone call in progress and finally access the red Hang Up button. That worked. The problem is that is is SLOW. And worse, one time the phone would not respond to the button press until after several tries (maybe the CPU was busy on something).
Anycase, that would appear to be a major problem with all these touchscreen-only smartphones - lack of a physical Hangup button.
Is there any workarounds to this? Perhaps some sequence or combo of the existing physical buttons to forcefully hangup an errant call?
I have a simple ListView and on that ListView I have placed a number of custom defined Views. The CustomView has ImageView and two TextViews.
The CustomView also has a "stateful drawable" as background, so that the background image (a 9-patch) changes if you press the Row in the ListView. When pressing the Row, the background image changes to a Red-ish thing.
The problem is that when the background changes from the default greyish, all the Views in the CustomView (ImageView and TextViews) still have their greyish background and thus creates very ugly greay boxes on top of the now redish background.
What is the best way to solve that problem? I hoped that such things were handled automatically (as it is done in for example .NET), but I was wrong it seems.
I have a Spinner.Is there a way to display some hint text on it?It seems to default to the first item in its supplied array adapter.I want the user to make a choice, right now it seems like it would assume the 0th item is by default selected.
View 5 Replies View RelatedI am implementing a music player application in Android. My play list selection screen is implemented as a tab selector widget which contains a ListActivity inside each of the tabs: Artist, Albums, Songs.
I want to update the ListView in each of the ListActivity when I delete an item from any of the lists.
i.e. When I long press an item in the Artists list a context menu is drawn with "Delete Artist"
And it should delete all the songs from this artist in the Songs ListView, delete all the albums by this artist in the Albums ListView, and finally delete the entry for the artist in the Artist ListView.
Each of the ListActivity has its own fillData() method, which updates the ListView when the button in the context menu is pressed.
How can I call the fillData() method of the Albums ListActivity after I update the ListView inside of the Artists ListActivity?
I want to populate a table, defined in layout xml file through the programmatic way. I have define Table with a single row defining its header, with all the attributes set. Now i want to know a way so that i can just replicate that header row in the table with new content.
I tried using inflator inflate(int,view) method, but at runtime it showed up with error.
Here is the XML code for the layout file defining the table
CODE:.................
I have a one line EditText, when I set a long hint, the hint wraps to two lines. Can I force the EditText to be always one line tall? android:lines="1" didn't work.
View 1 Replies View RelatedI am supporting search in my app, I'd like to display a unique hint in the search box depending on what activity is being viewed.
To that end, I have a two different searchable.xml files in my xml folder:
CODE:..........
When I reference searchable.xml, everything works as expected. The second searchable xml file has the same contents as the first, but this does not work:
CODE:............
Pressing the search key does not display the search box. If I just reference the first searchable instead, it works fine:
CODE:.....................
Again, both have the same content. It looks like there is a dependency on the name "searchable.xml" within android?
If we're not allowed to have searchables named anything but searchable.xml, how do we specify different hint strings for different activities?
For example:
CODE:..............
How to reduce EditText Hint size?
View 1 Replies View RelatedMy EditText configured as follows won't show the hint code...
It works if I set android:gravity="left" or if I remove android:scrollHorizontally and android:singleLine attributes, which is not desirable.
I have the following XML code:.................
The idea is to change the views, whenever I press one of the radio buttons. When I press a button the first time everything works out fine, but the second time I press a button, I get an IllegalStateException, and I can't quite see why I'm getting this.
Also, the Activity seems to set all my global variables to null, which is why I have to create them every time I switch from portrait to landscape or vice versa. So I would like to know if there is a way I can save my views in the Bundle, or any other way in which I can permanently save my views, so I don't have to add or create them every time, I flip the phone. And whenever I flip the phone, it seems that it rereads the main XML file, causing the RadioGroup to be set to 2D even if the 3D button is checked. This is because I've said the 2D button to be checked from when the app is first created, but I would like to also save the state of that RadioGroup.
I am looking for an alternate texting app. I have looked at Handcent and Chompsms, but both seem to use the "bubbles" look when viewing messages. Are there any that use something different?
View 6 Replies View RelatedHow do you align views relative to the "middle" part of another view? I think it is best explained with a pic of the UI I'm trying to create in android.
View 2 Replies View RelatedMy EditText hint is not wrapping. A hint isn't very useful if the last part is cut off. I am very cautious about restricting/forcing the dimensions my EditText box to ensure it looks decent regardless of screen dimensions. Here's what the relevant xml looks like:
<EditText android:id="@+id/ET1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="left"
android:hint="@string/Hint1"
android:lines="3">
</EditText>
I've already set android:lines="3" to mitigate the issue, but it isn't enough. In order to maximize compatibility with various screen dimensions I would prefer OS wrapping over me putting in line breaks and hard returns in the string. There are other things happening in the view which also compel me to not manually set the width of the box to promote good breaks.
In my app i am using edit text. i am specifying hint as well as aligning the text of the edit text using the gravity tag. if i align the text then hint is not shown but if i remove the gravity tag for aligning text then it shows.
please help as to how i can align text as well as show hint..
If there was any way that I could get a hint at the bottom of an Edit Text view -- and then the user to start entering text at the top of the box.
As a bonus question, is there any way I can make the hint NOT disappear once the user starts entering text.
Is there any way to query a root view of an activity for all of its child views even before the root view or its children have been inflated? I guess what I'm looking for is whether a view knows ahead of time what children it will have before it gets inflated, and can I get that list in some way. Bizarre I realize, but I think it will help me with some unconventional automation testing I'm working on. I haven't found anything in the API like this.
View 1 Replies View RelatedHow long would it take for the air bubbles from screen protectors to go away?
View 3 Replies View Relatedprotected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Intent intent = getIntent();
String message = intent.getStringExtra(MainActivity.EXTRA_MESSAGE);[code]....
My app includes a search bar. In the first activity the user types into it what they are looking for. What I am currently trying to do is try to change the text hint to the message string. This string contains what the user typed in the previous search bar.
I've searched, but I guess I'm not putting in the right question.I have Handcent set up do show messages in bubbles, but it doesn't. Anyone have suggestions for what I'm doing wrong in setting it up?Is there somewhere that I'm missing that says USE BUBBLES or something? I have the colors and all set up, but it just shows the standard style. Under the bubble setting, I have Handcent selected.
View 4 Replies View RelatedWhat happens on the Nexus when you want to enter text into a bubble on a web page or in the calender app while in landscape mode?On the Droid, if I'm in Calender, and I add a new event and use the virtual keyboard in landscape mode, the only way to see what the box actually is and what the next box will be, is to use the physical keyboard.If I'm using the virtual keyboard, I just get a box, and a key that says "next" to the right.It makes entering data more difficult (you're not sure what field you're filling out and what the next field will be).I'm one of the guys that was waiting for the Passion and got the Droid because I had to switch to Verizon.The way the Android OS seems to be setup, a physical keyboard almost seems necessary to make certain tasks easier.
View 2 Replies View RelatedLet's say I have a LinearLayout, and I want to add a View to it, in my program from the Java code. What method is used for this? I'm not asking how it's done in XML, which I do know, but rather, how can I do something along the lines of (One View).add(Another View) Like one can do in Swing.
View 2 Replies View RelatedMy G/F just got the Incredible and she likes the Bubbles that I have on my Vibrant. I can't find anything on changing the layout of text or anything so I was curious if anyone on here knows of a way to change it? I've heard recommended HandSent?
View 3 Replies View Relatedrunning ADW Launcher with ICS theme. I never get any notification bubble on my icons on the homescreen. is this because i used an icon from the adw icon pack and not the stock icons? Galaxy SII Skyrocket
View 2 Replies View RelatedHow to change the colours of the chat bubbles in messages?
View 3 Replies View RelatedI know this is silly, but can you change the colors of the chat bubbles in messageing?
View 1 Replies View RelatedI just got my captivate today. is there a way to make fonts and stuff smaller, and change the threaded text message format to something besides bubbles?
View 3 Replies View RelatedI have had my sprint HTC Hero for some months now and love all the neat apps I can load. BUT... the actual telephone app seems dysfunctional. I imagine the telephone function is built in and probably cannot be fixed by the average developer and maybe this is also a function of the carrier (sprint in this case).
PROBLEM:
When I have multiple calls my Hero interface provides no easy mechanism to hang up on one caller only. It has just one "End call" virtual button and pressing this drops the entire call interface.
So for example if I accept a call waiting then the prior caller is placed on hold while I talk to the interrupting caller. When I am done talking to the interrupting caller I have only the option to "End call". Pressing this will drop the entire call interface. What happens next depends ...
IF I have hung up on the interrupting caller before they hang up on me then I will still have someone on hold (but nothing shows this). Some seconds later (like 5) the system realizes I still have someone on hold and rings as if a new call. Clunky but at least it works.
IF the interrupting caller manages to hang up before my "End call" registers then the phone ends the only remaining active call which is of course the person on hold. No indication of this either except I wait 5 seconds and realize my phone is not ringing. The lag time on the HTC hero is so large that this happens just about half the time.
IF I don't hang up at all but instead just wait for the interrupting caller to hang up then the phone will put up a new screen that shows that the person who just hung up is still active, the person on hold is on hold, but in fact I will be connected to the person listed as "on hold". So the interface is wrong but at least I have not hung up on the holding caller. In this case it is very unclear if my call waiting slot is free or not. I have had people unable to call when I thought the phone was connected to just one person. Effectively the call waiting slot seems already occupied when in fact it is not. Don't know if this consumes double minutes or not.
To me this seems like an event driven system without a properly deterministic event handler. Or perhaps there is really no way for the phone's understanding of call waiting to by synchronized with the carrier's.
Almost done ranting...
Lastly, while making a call the screen seems to stay active for its full timeout period so that my cheek can sometimes press a virtual button and end the call. I would love it if I could press a button to de-activate the screen sooner but unfortunately that button also terminates the call. Wasn't there supposed to be some mechanism that detects that the phone is cheek bound and deactivates the screen? Could use a manual way do force this.
I've spend the last couple days looking for a way to hang up a phone cal via the API. I'm guessing for some "security" reason that Google does not allow this. Not being one to give up yet...is there any undocumented way to hang up a phone call? Of course the real solution would be for Google to add a HANG_UP_CALL permission and expose the hangup() method to the public API, but it doesn't appear that will happen.
View 2 Replies View RelatedWe are new to Android and creating an application where one of the things we need is to control the outgoing call, at least to be able to stop it from our application. For now we tried using Intent.ACTION_CALL to use existing activity:
Intent callIntent = new Intent(Intent.ACTION_CALL, Uri.parse ("tel:" + phoneNumber)); startActivity(callIntent);
But we can't figure out whether it's possible to stop launched by this default Call activity. Is it possible? If yes, how? If not, what should we use to write our own Call activity to make a very simple call? We would want this activity only to be used by our application, not for all outgoing calls.