Showing posts with label xml. Show all posts
Showing posts with label xml. Show all posts

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

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.