Reputation: 11688
I'm sure this has been asked before, but I'm having trouble finding the answer (overwhelmed with search hits).
Where can I find the source code to the default settings of the various built-in layouts and widgets?
Why? So I can see what they (the android developers) are doing so that I can emulate when I like, and change what I don't. There are hundreds, if not thousands of files in my API, so going through them one-by-one is...tedious at best.
Thanks in advance!
Upvotes: 0
Views: 89
Reputation: 9189
The source is in at the Android Git Repository at kernel.org in repository platform/frameworks/base.git. Clone this repository, as it is far less frustrating not waiting for it to load via the Internet. The View related code is a couple different packages, android.view, android.widget, and android.webkit. The the related XML resources are scattered a bit wider but to start take a look at values and drawable directories.
Upvotes: 1