Difference between View margin and padding , mPadding and mUserPadding?

by GPU » Fri, 30 Oct 2009 18:43:54 GMT


Sponsored Links
 Difference between View margin and padding , mPadding and mUserPadding?
--~--~---------~--~----~------------~-------~--~----~



Difference between View margin and padding , mPadding and mUserPadding?

by Mark Murphy » Fri, 30 Oct 2009 20:16:01 GMT


 


For the purposes of determining the boundaries of a background, padding
is considered "inside" the widget (and so padding area gets the
background) and margin is "outside" the widget (and so does not get the
background).

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://twitter.com/commonsguy 

Android Development Wiki:  http://wiki.andmob.org 

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


Sponsored Links


Other Threads

1. android:apiKey in m5-r15

How I can use mapview in Android m5-r15 if don't exists the parameter
android:apiKey ?

I don't have much time to translate my code to the last version because I
need to submit it to graduate.



*Cassiano Valle Tartari - www.cassianotartari.eng.br*

   *- Tcnico em Informtica pelo Colgio Tcnico Industrial - CTI*[image:
   CTI] *- Graduando em Engenharia de Computao pela Universidade Federal
   do Rio Grande - FURG*[image: FURG]

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

2. Messenger on UK G1

Maybe I'm being very dim, but I thought I would be able to use my
Yahoo and Windows messneger accounts out of the box on my UK version
G1.  The only option I can see is Google Talk.  Have I missed
something or have T-Mobile UK locked us out?

Pete

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

3. Why does "My Location" crash LocationManagerService?

4. SlideME: Sam 2.1 Release

5. Android Market - Comment Spam (Youtube-Style-Solution ?)

6. Android embedded hardware

7. About the disappearing comments and ratings on upgrade