Wednesday, 13 May 2015

Level List


A resource that manages a number of alternate Drawables.
It’s inflated into the LevelListDrawable java object.

Each drawable is assigned a maximum numerical level.

You can set the level value of the object with setLevel(int) or an equivalent method.
This will load the image/drawable whose maximum level attribute you have passed in the parameter.

Layer Lists


A layer list is a drawable used to manage other drawables.
Its inflated into a LayerDrawable object in java.

Each drawable in the list is drawn in the order of the list, just like a stack of plates at the dinner table, the last drawable in the list is drawn on top.

Android drawables


1.      What is an android drawable?
2.      What are the types of drawables?
3.      How to access drawables via xml and code
4.      3 ways to instantiate drawables
5.      Android system variables(public and private)
6.      User created xml variables
7.      Drawables vs images

Tuesday, 12 May 2015

Introduction to android themes and styles part III

Switching themes programmatically
This post is a continuation of android themes and styles part I and II.
In this section we are going to learn to:
1.      Dynamically set the theme of an application from existing themes whether system or custom
2.      Reference a theme from code, I assure you, I also thought it’s so obvious.
3.      Colors

Monday, 11 May 2015

Introduction to android styles and themes part II

In the first part of this series, we covered:
1.      What are styles and themes and their difference
2.      How a programmer can create a style
3.      Inheritance
In this post we shall cover:
1.      Inheritance of system styles
2.      Themes

Sunday, 10 May 2015

Introduction to android themes and styles part I

This is my first technical blog post and somebody may wonder why I have chosen such an advanced topic… well I like to write about things as I encounter them, and what I am working on currently is themes and styles. I will be slotting in posts to cover the basics as time allows.
Please note that in this post I use eclipse indigo 3.7 for J2EE, if your environment for android development is not yet set in anyway, you may want to deal with that first and then return.

Thursday, 7 May 2015

SimpleJavan overview

This is a blog administrated by Bengi Egima. The  aim of the blog is to be an ever available content guide for any one learner and a quick reference source  for the busy developer. 

For the record, we all love to code but truth be told, code is not the solution but  rather a means to implement the solution.