Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 5f92227c95
Fetching contributors…

Cannot retrieve contributors at this time

63 lines (56 sloc) 5.978 kb

GreenDroid Changes History

Changes from June 2, 2011 (version 0.2)

  • [NEW] Add a new GDExpandableListActivity. This is the GreenDroid equivalent to a regular ExpandableListActivity
  • [NEW] Add of a new theme attribute gdTabIndicatorStyle allowing basic GDTabActivity tabs styling
  • [NEW] Add of some basic ImageProcessors.
    • ScaleImageProcessor may be used to scale an image from the network prior displaying it
    • MaskImageProcessor masks an image according to a given shape or Bitmap
    • ChainImageProcessor sequentially applies ImageProcessors to an image
  • [NEW] Add a new attribute in the style to change the color of all ActionBarItem
    • gdActionBarItemColorNormal changes the color of all ActionBarItems in normal mode
    • gdActionBarItemColorAlt changes the color of all ActionBarItems in alternative (pressed/focused) mode
  • [NEW] Add of a MapPinDrawable helping developers to easily create colored pins for MapView
    • MapPinDrawable is based on the original creation of Roman Nurik for the Cycle Hire Surgery
  • [NEW] Add of a new PagedView widget. A PagedView shows items in a 'paged' manner. Pages can be scrolled horizontally by swiping the View. The PagedView uses a reuse mechanism similar to the one used by the ListView. It is usually a good idea to show the user which page is currently on screen. This can be easily done with a PageIndicator.
  • [CHANGE] The ThumbnailItemView now uses an AsyncImageView instead of the regular ImageView
    • This change allow developer to use URLs directly via the greendroid:thumbnailURL XML attribute or via the thumbnailURL property of the ThumbnailItem.
  • [CHANGE] Time related constants are now of type long (types previously used was int)
  • [CHANGE] Using one of the setActionBarContentView more than once was stacking views on top of each other. Starting from now setActionBarContentView acts like setContentView and remove all subviews prior setting the new one.
  • [FIXED] Using one of the setActionBarContentView in GDListActivity was buggy. The setActionBarContentView methods are helpers that should only be used in GDActivity to help developers adding an ActionBar to their already existing layouts. If you really want a custom layout in GDListActivity you should be using the createLayout 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 ItemViews 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 the ActionBar. As a result, using translucent backgrounds was quite hazardous.
    • Starting for now, the ActionBar title has no background. The background is only given by the ActionBar itself.
  • [FIXED] The ImageLoaderCallback.onImageLoadingFailed(ImageLoader loader, Throwable exception) was sometimes called with a null Throwable.
  • [NEW] New setBitmapFactoryOptions(BitmapFactory.Options) and setInDensity(int) / greendroid:inDensity methods to AsyncImageView
    • 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 to DisplayMetrics.DENSITY_HIGH will load images as hdpi images.
  • [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 normal ActionBar mode anymore
  • [NEW] Add of a new ActionBar.Type: ÀctionBar.Type.Empty
    • In this mode, the ActionBar has no "Home" button
  • [NEW] addActionBarItem() methods now return the newly added ActionBarItem
  • [NEW] ActionBarItem can be "tagged". This makes ActionBarItem click handling way easier
  • [NEW] Add of a removeItem(ActionBarItem) in the ActionBar widget
  • [NEW] Add of a new ActionBarDrawable class that helps the developer easily creating Drawables for ActionBars
    • The ActionBarDrawable takes a Drawable 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)
  • [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 an Intent. This may be useful when using a reusable GDActivity inside a GDTabActivity.
Jump to Line
Something went wrong with that request. Please try again.