text alignment in edit text

by r3 » Wed, 29 Apr 2009 15:04:12 GMT


Sponsored Links
 Hi,

Can anybody teell me how to set half  text left aligned and other half
right aligned in the edit text


thanks,
rakesh

--~--~---------~--~----~------------~-------~--~----~



text alignment in edit text

by Marco Schmitz » Wed, 29 Apr 2009 16:05:35 GMT


 I think it isn't possible. Maybe u use 2 widgets instead...

Greetings,
DaRolla

2009/4/29 r3 <rakesh.gar...@gmail.com>:

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. APK not visible in market for HTC Tattoo Android Phone ?

The tattoo has a low density screen if I remember correctly. Your application 
would have to support low density screens explicitly for it to show up in the 
market.

Regards
S





> 

2. The method versionName() is undefined for the type PackageInfo

A few thoughts, and them my code that's producing the above error (and
I'm perplexed as to why).

1.)  I'm using API 6
2.)  I have "import android.content.pm.PackageInfo;" and "import
android.content.pm.PackageManager;" at the top of the java class.
3.)  I've hit "control-shift-o" in eclipse to try to get it to import
anything that might be missing.
4.)  Eclipse shows the methods avaiable on PackageInfo (and it lists
versionName as one of them) but then gives the error message "The
method versionName() is undefined for the type PackageInfo".

My question, what am I doing wrong (I've tried other variations of the
getPackageManager line where I specified META_DATA, etc.)

// Begin Code
String version = " (Development)";

try {
  PackageInfo pi = getPackageManager().getPackageInfo
("com.testdoman.testapplication", 0);
  version = pi.versionName();     // this is the line Eclipse complains
about
}
catch (PackageManager.NameNotFoundException e) {
        // eat error, for testing
}

--

3. NexusOne newbie and disappointed... here is why...

4. NexusOne newbie and disappointed... here is why...

5. AccountManager sync policy

6. Finally Hit a Wall

7. installing application silently in android