#GreenDroid Changes History
##Changes from June 2, 2011 (version 0.2)
- [NEW] Add a new
GDExpandableListActivity
. This is the GreenDroid equivalent to a regularExpandableListActivity
- [NEW] Add of a new theme attribute
gdTabIndicatorStyle
allowing basicGDTabActivity
tabs styling - [NEW] Add of some basic
ImageProcessor
s.ScaleImageProcessor
may be used to scale an image from the network prior displaying itMaskImageProcessor
masks an image according to a given shape orBitmap
ChainImageProcessor
sequentially appliesImageProcessor
s to an image
- [NEW] Add a new attribute in the style to change the color of all
ActionBarItem
gdActionBarItemColorNormal
changes the color of allActionBarItem
s in normal modegdActionBarItemColorAlt
changes the color of allActionBarItem
s in alternative (pressed/focused) mode
- [NEW] Add of a
MapPinDrawable
helping developers to easily create colored pins forMapView
MapPinDrawable
is based on the original creation of Roman Nurik for the Cycle Hire Surgery
- [NEW] Add of a new
PagedView
widget. APagedView
shows items in a 'paged' manner. Pages can be scrolled horizontally by swiping theView
. ThePagedView
uses a reuse mechanism similar to the one used by theListView
. It is usually a good idea to show the user which page is currently on screen. This can be easily done with aPageIndicator
. - [CHANGE] The
ThumbnailItemView
now uses anAsyncImageView
instead of the regularImageView
- This change allow developer to use URLs directly via the
greendroid:thumbnailURL
XML attribute or via thethumbnailURL
property of theThumbnailItem
.
- This change allow developer to use URLs directly via the
- [CHANGE] Time related constants are now of type
long
(types previously used wasint
) - [CHANGE] Using one of the
setActionBarContentView
more than once was stacking views on top of each other. Starting from nowsetActionBarContentView
acts likesetContentView
and remove all subviews prior setting the new one. - [FIXED] Using one of the
setActionBarContentView
inGDListActivity
was buggy. ThesetActionBarContentView
methods are helpers that should only be used inGDActivity
to help developers adding anActionBar
to their already existing layouts. If you really want a custom layout inGDListActivity
you should be using thecreateLayout
method. - [FIXED] The
GDTabActivity
was not correctly handling clicks on the home button - [FIXED] Add missing leading zero for single digit hex values in the
MD5Utils
class
##Changes from March 22, 2011 (version 0.11)
- [CHANGE] Refactor on some GreenDroid style. Styles related to
ItemView
s are now named@style/GreenDroid.Widget.ItemView.<The-Item-View>
- This change may impact your code if you are extending GreenDroid's styles. There is no impact otherwise
- [CHANGE] The
SegmentedBar
style has been refactored to be in accordance with other widget styles. It is now in@style/GreenDroid.Widget
- [CHANGE] All XML files have been re-indented with tabs instead of spaces (used in Java files)
- [FIXED]
ActionBar
title background has previously inherited from theActionBar
. As a result, using translucent backgrounds was quite hazardous.- Starting for now, the
ActionBar
title has no background. The background is only given by theActionBar
itself.
- Starting for now, the
- [FIXED] The
ImageLoaderCallback.onImageLoadingFailed(ImageLoader loader, Throwable exception)
was sometimes called with a nullThrowable
. - [NEW] New
setBitmapFactoryOptions(BitmapFactory.Options)
andsetInDensity(int)
/greendroid:inDensity
methods toAsyncImageView
- May be used to bypass the default image loading behavior. By default images loaded from the network are all considered
as mdpi images. Using a
BitmapFactory.Options
object with a inDensity toDisplayMetrics.DENSITY_HIGH
will load images as hdpi images.
- May be used to bypass the default image loading behavior. By default images loaded from the network are all considered
as mdpi images. Using a
- [NEW] Add of new Javadoc on some GreenDroid's classes (
AsyncImageView
,Time
,ImageProcessor
, etc.) - [NEW] Add of new
ActionBarItem.Type
. Almost 10 new icons are now available. Icons are extracted from the Android Assets Studio project by Roman Nurik - [NEW] GreenDroid now has a version number! This makes GreenDroid's versions and history tracking way easier.
##Changes from March 1, 2011 (version 0.10)
- [NEW] Add of a complete image loader system:
AsyncImageView
widget,ImageLoader
,ImageCache
, etc. - [FIXED] Class check issue in
GDTabActivity
- [NEW]
GDListActivity
does not force normalActionBar
mode anymore - [NEW] Add of a new
ActionBar.Type
:ÀctionBar.Type.Empty
- In this mode, the
ActionBar
has no "Home" button
- In this mode, the
- [NEW]
addActionBarItem()
methods now return the newly addedActionBarItem
- [NEW]
ActionBarItem
can be "tagged". This makesActionBarItem
click handling way easier - [NEW] Add of a
removeItem(ActionBarItem)
in theActionBar
widget - [NEW] Add of a new
ActionBarDrawable
class that helps the developer easily creatingDrawable
s forActionBar
s- The
ActionBarDrawable
takes aDrawable
and automatically fill the shape with the white or black color depending on its current state. It allows you to decrease the size of your project. (GreenDroid's size has also decreased thanks to this optimization)
- The
- [NEW] Add of a
GDMapActivity
- In order to use it you have to replace GreenDroid by the new GreenDroid-GoogleAPI library. GreenDroid-GoogleAPIs already integrates the GreenDroid library.
- [NEW] Add of a new
ActionBarActivity
extra parameter:ÀctionBarActivity.GD_ACTION_BAR_VISIBILITY
- Enable
ActionBar
visibility changes from parameters passed via anIntent
. This may be useful when using a reusableGDActivity
inside aGDTabActivity
.
- Enable