Reputation: 27596
I'm referring to the two links here that are broken: "Android Styles (styles.xml)" and "Android Themes (themes.xml)"
Where can I find the source to these? I know that the Android source code is cloned to github but I have no idea where to look.
Specifically, I'm wanting the Honeycomb (or Ice Cream Sandwich) version of these so I can see how some of the Holo themes are defined.
Upvotes: 3
Views: 10669
Reputation: 28418
Make sure your dev machine has HC/ICS SDK. Then you can find the files on your machine.
For instance, for Android 4.0 those files are placed at <android-sdk-root-dir>\platforms\android-14\data\res\values
dir.
Upvotes: 13
Reputation: 27596
Okay, I found them here:
But this repo is out of date and does not have the HC/ICS versions of the files.
So I ended up pulling the Android source myself and found them there:
git clone https://android.googlesource.com/platform/frameworks/base.git
Upvotes: 6