Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Releases: benlau/quickandroid

v0.1.4 release

03 Oct 17:36
Compare
Choose a tag to compare

New Components

TextField

Features

  1. Material Design look and feel
  2. Long press will show PASTE button
  3. Text handle to move cursor and selection
  4. Floating Label

RaisedButton

System

  1. Rename package of QuickAndroid.priv to QuickAndroid.Private
  2. QASystemDispatcher::dispatched() - Changed the name of first argument from “name” to “type. Following the naming convention of Flux application framework

ActionBar

  1. Changed the default height from 48p to 56dp

TabView

  1. Emit appear() and disappear() signal for index changes.

FloatingActionButton

  1. Use Theme.colorAccent as default color

TextStyle

  1. Added “disabledTextColor” property
  2. Added “bold” property

Screenshot

v0.1.3 release

19 Sep 16:56
Compare
Choose a tag to compare

Critical Changes

  1. Min requirement of Qt version has been raised to Qt 5.4
  2. Dropped QuickAndroid.def package. All the constant value has been merged into Constants singleton component.
  3. Renamed the package of QuickAndroid.style to QuickAndroid.Styles
  4. Dropped Style singleton component. User should get current theme from ThemeManager.currentTheme from QuickAndroid.Styles package.
  5. All the Style components use DP unit for component size.

The following components are dropped. They are not implemented by Material design :

  1. PopupMenu
  2. DropDownList
  3. Spinner

New Components

  1. TabBar and TabView
  2. DropDownMenu
  3. Paper
  4. Text
  5. Button

Style Components

Added “extend” property for user to create derived style class form existing Theme object.

Example:

ActionBar {
    style: ActionBarStyle {
    extend: [ ThemeManager.currentTheme.actionBar, {
       “titleTextStyle.textColor” : Constants.white100
    }  ]
   }
}

or

ActionBar {
   style: ActionBarStyle {
      Component.onComponent {
         merge(this,ThemeManager.currentTheme.actionBar);
            titleTextStyle.textColor = Constants.white100   
         }
   }
}

Drawable Provider

  1. Bug Fix - Crash on handling mono image (1bit depth)
  2. Bug Fix - It don’t resize image according to sourceSize.

Drawable

  1. Now it may take Component as input to source property

e.g

Drawable {
    source: Rectangle { color:”red” };
}
  1. Bug Fix - Can not handle Color object as input to source property

Action Bar

  1. ActionBarStyle - Added “unitHeight” property to control the heigh of control item.
  2. Reimplemented by Material Design
    1. Title is not part of action button
    2. Move title according to keyline
  3. Added iconSource, background properties

A

  1. Changed the implementation from C++ to QML
  2. Added A.px() and A.drawable() functions

FloatingActionButton

  1. Added “size” property to choose large/small size of button

Activity

  1. “actionBar” property is not a component anymore. Now it take Item type.

ListItem

  1. ListItemStyle - Added “showDivider” property

v0.1.2 release

03 Sep 17:57
Compare
Choose a tag to compare

New Components & Features

  1. Support tintColor in QADrawableProvider.
  2. ListItem
  3. FloatingActionButton

System

  1. QADrawableProvider
    1. Supported to load image from drawable/ folder. Not only from drawable-*dpi
    2. May tint a drawable image by using tintColor argument to provider.

Android Integration

  1. Added QuickAndroidActivity.java as an alternative Activity class for launching Qt application
    1. Once the onActivityResult() is invoked, it will forward the arguments to SystemDispatcher
  2. SystemDispatcher
    1. Add onActivityResult() helper function to forward the arguments passed to onActivityResult.

ActionBar:

  1. Align icon and title according to keyline as described in Material design
  2. Renamed the "icon" property to "iconSource"

Deprecated:

  1. DividerHorzonalHoloLight - Replaced by ListDivider

First Release

17 Jul 17:28
Compare
Choose a tag to compare

Features

  1. Provide “DP” unit
  2. Page transition management
    1. "Back" to previous page by the hardware back button
  3. Unified “Drawable” component
    1. A single component that supports color , image , QML component, simulated nine patch image as input source
    2. Auto scale image to fit current screen resolution
    3. Derived StateListDrawable for animated drawable like button
  4. Image provider that will find the right image for current resolution automatically.
  5. Theme / Style Engine
  6. A set of components with native look and feel on Android
  7. SystemDispatcher - C++ and Java communication manager.
    1. Auto conversion between C++ and Java data type. No need to write in JNI.