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. Porting Android error 'Illegal instruction' in init

Hi everyone,

I am trying to port Android to some CPU like ARMv5T,
when running the Android init made on the linux-x86,
(1) Booting on /init, I got nothing but the black console, it echoes
what I input with keyboard through ttyS0.
(2) If chroot /init after booting normal FS, I got the error 'Illegal
instruction'.

The kernel (eabi supported) is compiled by some compiler for the CPU,
but the init compiled by arm-eabi-4.2.1.
The FS of Android is JFFS2.

It is very nice of you to give some advices.
Thank you very much.

Best Regards.

Roc

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Input Method

I am writing an input method for my language. Can you tell me how to
call "Select input method" window from my app, so that the user could
change freely to another input method when he wants, like in Android's
pre-installed keyboard.
Thanks

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

3. C#.NET program compatibility

4. Geni Widget from Flan Dump

5. Error : PVMediaOutputNodePort::ConfigMIO setParametersSync of PVMF_FORMAT_SPECIFIC_INFO_KEY_AUDIO failed

6. Andoird on x86 Recompile with -Xlint:unchecked for details issue

7. allowTaskReparenting and FLAG_ACTIVITY_CLEAR_TOP conflict