Showing posts with label Java. Show all posts
Showing posts with label Java. Show all posts
Monday, September 7, 2015
Create a Compound Widget for Android Lollipop: Part 3
Create a class for my compound widget
This is the third in a four part article detailing the implementation of a compound widget for Android Lollipop. In this part I will implement a class to hold the code that defines my widget's behavior. I am going to start by implementing the minimum required to be able to use my widget in Android Studio's Design editor.
Create a Compound Widget for Android Lollipop: Part 1
This is the first in a four part article detailing the implementation of a compound widget for Android Lollipop. A compound widget is a widget that is made up of other preexisting widgets. Typically a compound widget will hide the properties those sub widgets usually expose and expose its own custom properties instead.
The example I am going to use is to recreate the classic color picker control. The first version of this I remember seeing was on the Commodore Amiga 30 years ago.
I am going to create a simplified version of this that will set one color.
The example I am going to use is to recreate the classic color picker control. The first version of this I remember seeing was on the Commodore Amiga 30 years ago.
Subscribe to:
Posts (Atom)

