Fork us on GitHub

Tutorial - Theming Basics

Styling components and the entire application to achieve any look
Tutorial - Theming Basics

Tutorial - Theming Basics

Theming allows us to adapt the look of an application in a similar way to CSS while styling allows us to do so within the code. In this tutorial I cover only a small fraction of the subject matter but after going thru it you should have a decent understanding of the forces at play and the tools you can use.

I didn’t cover many crucial subjects such as borders (9-piece or otherwise), backgrounds, in place style editing or many other things. All of these things are worth knowing and understanding and hopefully will be covered in a future video individually.

We already have a relatively old 9-piece border video

What I did cover is the basics of how theming works across platforms. How to apply various styles, colors, fonts etc. I explain padding/margin and a few other things:

Share this Post:

Posted by Shai Almog

Shai is the co-founder of Codename One. He's been a professional programmer for over 25 years. During that time he has worked with dozens of companies including Sun Microsystems.
For more follow Shai on Twitter & github.