Re: How to set width and height of a View in DP through code not in XML ?

by Xu Jiyong » Thu, 27 Jan 2011 14:54:32 GMT


Sponsored Links
  http://developer.android.com/guide/practices/screens_support.html 

search 'Converting dp units to pixel units' on above page.






-- 



Other Threads

1. wallpape

kereeeen....
ijin sedot buat X8 saya :)



hasil browsing ga sengaja ketemu wallpaper ini mudah2an ga repost -- Regard Muh. Fitrah Sent From Gmail web -- =============== "Indonesian Android Community [id-android]" PING'S mobileEmail: sa...@pings-mobile.com Ph. (021) 96087100 --------------------- Yopie Ratjoen Email: yo...@ratjoen.com Ph. 08977726681 -------------------- Gila original Email: i...@gilaoriginal.com Ph. (031) 91555898 -------------------- Aturan Jual/Kloteran ID-Android http://goo.gl/azW7
-- Regards, -biMp- -- =============== "Indonesian Android Community [id-android]" PING'S mobile Email: sa...@pings-mobile.com Ph. (021) 96087100 --------------------- Yopie Ratjoen Email: yo...@ratjoen.com Ph. 08977726681 -------------------- Gila original Email: i...@gilaoriginal.com Ph. (031) 91555898 -------------------- Aturan Jual/Kloteran ID-Android http://goo.gl/azW7

2. Operator internet unlimited

Dear RR,

Hi, Salam kenal. Saya pengguna baru android. Mau tanya2.. RR pakai operator
apa ya?

Sedang compare2 yang paling menguntungkan.

Thanks all
[adit]

-- 
===============
"Indonesian Android Community [id-android]"

PING'S mobile
Email: sa...@pings-mobile.com  Ph. (021) 96087100
---------------------
Yopie Ratjoen
Email: yo...@ratjoen.com  Ph. 08977726681
--------------------
Gila original
Email: i...@gilaoriginal.com  Ph. (031) 91555898
--------------------

Aturan Jual/Kloteran ID-Android  http://goo.gl/azW7

3. From emulator to real device

4. Library SharedPreferences

5. Is there any way to hide a dialog yet have it remain active?

6. Creating a trial version

7. Equivalent to dialog display iniitiated from a service