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

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

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


Sponsored Links

Other Threads

1. Rest server authentication and authorization - best pratices


I've developped an application which communicates with a Rest server.
Althought I know it's not a android issue, I would like to some advice
in order to securizing the web server.

I wonder which it's the best pratice, way to securize the server?
Which authentication and authorization do I use (Basic, Digest, NLM,
Cookies, user session)?

Bes regards

2. Using Git for multiple build src

Hi All,

I'm trying to have two build trees, so that I can build both of
them ...

For example -

1) ~/mydroid is for the android that comes from google repository

2) ~\koolu  that comes from openmoko

 I can build both the android and linux kernel for (1) above...

Now, when I try to bring down the koolu, I get error after a long
fetching ( with an error ).

In ~/bin I have repo file, but I suppose it is not specific to any
repository !!!. And since the git setup is already done I was using
the following to bring down the koolu src tree ...

repo init -u git://git.koolu.org/freerunner/platform/manifest.git -b

repo sync

The error is -

error: kernel/: kernel/openmoko checkout

Am I missing something?


unsubscribe: android-kernel+unsubscr...@googlegroups.com

3. Bad girls

4. SingleTask...

5. Will there be an Android 1.6 SDK release?

6. How to retain EditText data when "BACK" key is pressed

7. a problem with connection Http