Showing posts with label styles. Show all posts
Showing posts with label styles. 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

Monday, 11 May 2015

Introduction to android styles and themes part II

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.