Right gravity and hint in EditText is making hint disappear

by and.pradeep » Mon, 02 Nov 2009 14:35:32 GMT

Sponsored Links
     I am trying to apply RIGHT gravity to EditText(google search bar)
with hint and setSingleLine property to true but hint is disappearing.
Have I missing something? below is the code

       EditText mEditText = new EditText(this);

       mEditText.setSingleLine(true); //this is required but without
this hint appears

       //the above line also makes the hint disappear



Other Threads

1. Checkout: Cancellations vs. Refunds?


I'm sorry if this issue has been covered; I could not find a topic having
the answers I seek.

We while back, we were able to click the "Refund some money" button and
select an amount to refund to a customer. Eventually that feature was
changed, and now we can only refund the entire purchase price.

Nonetheless, there are two options for completed purchases:
1) Cancel the order
2) Refund some money

We have used the Cancel option for users who had issues with our software or
otherwise didn't want it any longer (but after the usual 24 hour return

We have used the Refund option to give money back to purchasers who we wish
to have a free copy.

By all indications in Google Checkout, a person who has been Refunded still
shows a completed purchase and should still be an authorized owner of the

However, this is not what we are observing. If we refund money to someone,
and that person uninstalls and re-installs, they are charged again. This
effectively makes the Refund button do the same thing as the Cancel button.

So, I have two questions:

1) Does anybody know if this issue I describe is the intended behavior, and
if not, if it is known and/or being fixed?
2) Does anybody know why we can no longer give partial refunds?

Thank you to anybody with insight on these issues.

Warm regards,


2. Geocoder no longer works on new PC

I have a problem getting the Geocoder to return results on my new PC
during development.  I started writing a android app on my other (Win
XP) system and Geocoder worked fine and returned locations based on an
address that I passed to it.

I recently bought a new PC (Win 7).  Moved the code over to it and now
the no address queries return any results.  I tried a couple that did
work on the xp machine, but are returning no results on the new pc.
It does not give any errors.

I did generate a keyfile on the old pc.  Do i need to create another
on the new pc?  Does the Geocoder require the key?  It is not from the
maps api.


3. Contained Library (jar?)

4. duplicating the fling motion of one gallery widget to the other gallery widget in same screen

5. Icon size on 480x800 resolution

6. FaceDetector class

7. Failed binder transaction when passing byte[] (from camera) between intents