GreenDroid-master
android ui 

所属分类:android开发
开发工具:Java
文件大小:2164KB
下载次数:11
上传日期:2013-03-29 16:19:16
上 传 者785643932@qq.com
说明:  官方的android UI 界面,里面含有大量的适用于普通开发的插件
(The official android UI interface, which contains applicable to a large number of common development plugins)

文件列表:
.project (813, 2013-01-25)
CHANGES.mdown (5978, 2013-01-25)
GDCatalog (0, 2013-01-25)
GDCatalog\.classpath (388, 2013-01-25)
GDCatalog\.project (1135, 2013-01-25)
GDCatalog\AndroidManifest.xml (2671, 2013-01-25)
GDCatalog\assets (0, 2013-01-25)
GDCatalog\assets\LICENSE.txt (9165, 2013-01-25)
GDCatalog\default.properties (518, 2013-01-25)
GDCatalog\res (0, 2013-01-25)
GDCatalog\res\color (0, 2013-01-25)
GDCatalog\res\color\link.xml (960, 2013-01-25)
GDCatalog\res\drawable-hdpi (0, 2013-01-25)
GDCatalog\res\drawable-hdpi\action_bar_divider.png (996, 2013-01-25)
GDCatalog\res\drawable-hdpi\class1.jpg (3289, 2013-01-25)
GDCatalog\res\drawable-hdpi\class2.jpg (3592, 2013-01-25)
GDCatalog\res\drawable-hdpi\class3.jpg (4182, 2013-01-25)
GDCatalog\res\drawable-hdpi\class4.jpg (3453, 2013-01-25)
GDCatalog\res\drawable-hdpi\class5.jpg (4182, 2013-01-25)
GDCatalog\res\drawable-hdpi\greendroid_application_logo_alt.png (13128, 2013-01-25)
GDCatalog\res\drawable-hdpi\greendroid_application_logo_normal.png (9303, 2013-01-25)
GDCatalog\res\drawable-hdpi\greendroid_logo.png (23929, 2013-01-25)
GDCatalog\res\drawable-hdpi\ic_action_bar_info.png (676, 2013-01-25)
GDCatalog\res\drawable-hdpi\ic_gdcatalog.png (4269, 2013-01-25)
GDCatalog\res\drawable-hdpi\ic_title_export_alt.png (1895, 2013-01-25)
GDCatalog\res\drawable-hdpi\ic_title_export_default.png (550, 2013-01-25)
GDCatalog\res\drawable-hdpi\separator_bg.9.png (250, 2013-01-25)
GDCatalog\res\drawable-mdpi (0, 2013-01-25)
GDCatalog\res\drawable-mdpi\action_bar_divider.png (1054, 2013-01-25)
GDCatalog\res\drawable-mdpi\class1.jpg (1943, 2013-01-25)
GDCatalog\res\drawable-mdpi\class2.jpg (2031, 2013-01-25)
GDCatalog\res\drawable-mdpi\class3.jpg (2420, 2013-01-25)
GDCatalog\res\drawable-mdpi\class4.jpg (1957, 2013-01-25)
GDCatalog\res\drawable-mdpi\class5.jpg (2294, 2013-01-25)
GDCatalog\res\drawable-mdpi\greendroid_application_logo_alt.png (9637, 2013-01-25)
GDCatalog\res\drawable-mdpi\greendroid_application_logo_normal.png (6876, 2013-01-25)
GDCatalog\res\drawable-mdpi\greendroid_logo.png (14805, 2013-01-25)
GDCatalog\res\drawable-mdpi\ic_action_bar_info.png (794, 2013-01-25)
... ...

#GreenDroid _**Foreword** : This project, initially initiated by me, Cyril Mottier, is not maintained anymore and can be considered as deprecated. As a consequence, it will not receive any new features nor fixes. Please keep that in mind and use it at your own risks._ GreenDroid is a development library for the Android platform. It is intended to make UI developments easier and consistent through your applications. A complete description is given on [my personal blog][personal_blog]. You can also take a tour to the GreenDroid website at ! [![](http://lh4.ggpht.com/_OHO4y8YcQbs/TQFWEpSo-UI/AAAAAAAAMpc/DzAbSkhOx3I/s800/greendroid_logo.png)](http://lh4.ggpht.com/_OHO4y8YcQbs/TQFWEpSo-UI/AAAAAAAAMpc/DzAbSkhOx3I/s800/greendroid_logo.png) Keep in mind this is still a work in progress. There are thousands of things to do and I hope I'll have enough time to develop all of the features I have in mind :) [![](http://lh4.ggpht.com/_OHO4y8YcQbs/TQFQZTft6OI/AAAAAAAAMpY/hAloaii6kRA/s288/gd7.png)](http://lh4.ggpht.com/_OHO4y8YcQbs/TQFQZTft6OI/AAAAAAAAMpY/hAloaii6kRA/s800/gd7.png) [![](https://lh6.googleusercontent.com/-DuebAvhlkYo/Ted7VA4WzoI/AAAAAAAAMvc/fs9IRD4ZtgU/s288/gd8.png)](https://lh6.googleusercontent.com/-DuebAvhlkYo/Ted7VA4WzoI/AAAAAAAAMvc/fs9IRD4ZtgU/s800/gd8.png) [![](https://lh6.googleusercontent.com/-oQoXEMJcO0E/Ted7UeGFemI/AAAAAAAAMvY/HpfJVIVE6-4/s288/gd9.png)](https://lh6.googleusercontent.com/-oQoXEMJcO0E/Ted7UeGFemI/AAAAAAAAMvY/HpfJVIVE6-4/s800/gd9.png) [![](http://lh6.ggpht.com/_OHO4y8YcQbs/TQFQTfazM2I/AAAAAAAAMpQ/lgPpIKImdZw/s288/gd5.png)](http://lh6.ggpht.com/_OHO4y8YcQbs/TQFQTfazM2I/AAAAAAAAMpQ/lgPpIKImdZw/s800/gd5.png) [![](http://lh3.ggpht.com/_OHO4y8YcQbs/TQFQS5hyrKI/AAAAAAAAMpM/4hqL9y_tVgM/s288/gd4.png)](http://lh3.ggpht.com/_OHO4y8YcQbs/TQFQS5hyrKI/AAAAAAAAMpM/4hqL9y_tVgM/s800/gd4.png) A sample application can be downloaded on the [Android Market][gd_catalog_market] ##Contacts Feel free to contact me for any question related to GreenDroid: bug report, questions about the library, etc. I don't have time to provide personal support but I'll try to look at bug reports and important talks about the GreenDroid philosophy. ##Using GreenDroid in your projects ***Note :*** The previous `greendroid.py` method has been removed from the library. Indeed, this Python script was perfectly functional but wasn't user-friendly (especially for Windows users). Creating libraries for Android is now handled by the ADT plugin. In order to use GreenDroid you have to do the following steps: 1. Download the GreenDroid library on your computer with a simple: `git clone http://github.com/cyrilmottier/GreenDroid.git`. As usual, Git will clone the GreenDroid repository and create a folder GreenDroid that contains a 3 folders: * GreenDroid: the core library. This is the code that will be mostly linked to your code * GreenDroid-GoogleAPIs: GreenDroid's extension including Google APIs related features (GDMapActivity for instance) * GDCatalog: the demonstration application. This project contains a lot of snippet of code showing you how to use GreenDroid. 2. Since [May 2010][adt_history], the ADT plugin added an amazing new feature: the ability to work with library projects. Using GreenDroid consists on applying the GreenDroid project as a library to your application. A complete description on how to use library projects is given on the [Android documentation website][library_project_doc]. Make sure your development environment uses the latest tools and platforms, since older releases of the tools and platforms do not support building with library project. * In case you want to use some Google APIs features, make sure you are using the GreenDroid-GoogleAPIs library. GreenDroid-GoogleAPIs is based on GreenDroid. As a result, you don't need to link GreenDroid as an Android library to your project. 3. By default, the GreenDroid theme inherits from `@android:style/Theme`. If your project inherits from a different theme, you'll have to modify the GreenDroid library on your own (and do that everytime you are updating GreenDroid as updating deletes all of your changes - still working on a way to overcome that problem). Open the `res/values/gd_themes.xml` and replace the parent theme `@android:style/Theme` with your own theme. 4. A lot of GreenDroid's feature (`GDActivity`, `GDListActivity` or `GDTabActivity` for instance) requires your application to be a `GDApplication` so make sure your application is a `GDApplication` class. In order to do that, simply add `android:name="greendroid.app.GDApplication` (where `greendroid.app.GDApplication` may be replaced by your own class that inherits from `GDApplication`) in the application tag of your `AndroidManifest.xml`. 5. You finally need to make your project use the GreenDroid base theme. In your `AndroidManifest.xml`, go to the application tag and add `android:theme="@style/Theme.GreenDroid"` as a new attribute. ##Using the GDCatalog application The GreenDroid project includes a demo projet called GDCatalog. This project shows some of the GreenDroid's features. I strongly encourage you to look at it as it's a great way to apprehend the library and understand how to use it in a correct manner. GDCatalog obviously uses the GreenDroid library. As a result, it won't build until GreenDroid has been applied to it. If your IDE is up-to-date you'll have nothing particular to do. Simply press the "Play" button! ##Documentation GreenDroid documentation is available online at . ##Software Requirements GreenDroid has been designed for Android 1.6 and greater. It may work on Android 1.5 but I don't want to provide support for this platform as it's way too old ... It has been developed using the following software: * Eclipse IDE 3.6 * Android SDK 4 (android-4) * Android Development Tools (ADT) 8.0.1 Go the [Android Developers website][android_developers_website] for complete installation instructions. ##Credits Copyright Cyril Mottier [android_developers_website]: http://d.android.com/sdk/installing.html [personal_blog]: http://android.cyrilmottier.com/?p=240 [adt_history]: http://d.android.com/sdk/eclipse-adt.html#notes [library_project_doc]: http://d.android.com/guide/developing/eclipse-adt.html#libraryProject [gd_catalog_market]: http://market.android.com/details?id=com.cyrilmottier.android.gdcatalog

近期下载者

相关文件


收藏者