Skip to content
Styling Android

Styling Android

A technical guide to improving the UI and UX of Android apps

  • About
  • License Information
  • Privacy Policy

State List Drawables

April 2, 2011July 27, 2011Mark Allison10 Comments

In the last article we covered the styling of a dialog box using vector drawables. In this article we are going to add a cancel button to that dialog box, and style the button. Styling widgets is a little more complex that the static styling that we’ve previously covered because widgets change state depending on…

Continue Reading

Shape Drawables – part 3

March 29, 2011December 21, 2014Mark Allison6 Comments

In part 2 we got our basic dialog box look and feel working, but still had some tidying up to do. The first things that we need to do it to make the dialog box title look a bit more like a dialog box title. We need to define a new drawable for the background…

Continue Reading

Shape Drawables – part 2

March 28, 2011December 21, 2014Mark Allison2 Comments

In part 1 we set up a basic dialog box project, but it was badly in need of some styling and it didn’t bear much resemblance to a dialog box. Let’s begin part 2 by making this actually appear in a centralised dialog-style window. To do this, we need to begin defining the “dialog” style…

Continue Reading

Shape Drawables – part 1

March 28, 2011December 21, 2014Mark Allison1 Comment

One of the building blocks of styling and themeing Android apps is understanding drawables. Drawables are graphic elements that come in two distinct types: Bitmap Drawables – these are bitmap files such as PNG which are rendered as images by the OS. They can also be 9-patch bitmaps which enable the OS to anamorphically distort…

Continue Reading

Posts navigation

Previous Page 1 … Page 51 Page 52

Categories

Archives

Social Media

Twitter+

Recent Posts

  • Activity Result Contract – The Basics
  • AnimatedIcons: Visibility V3
  • Broken Material Theme
  • Currency Converter: Improvements
  • Currency Converter: UI
  • CurrencyConverter: Not Cutting Corners
  • CurrencyConverter: Cutting Corners
  • Hacky New Year
  • MaterialTimePicker
  • KTX: Miscellaneous

Useful Links

  • Android Open Source Project
  • Android Weekly
  • Official Android Developer Site

Blogroll

  • Android UI Design Patterns
  • Cyril Mottier's Android blog
  • Grokking Android
  • Martin van Zuilekom's blog
  • Official Android Developers Blog
  • Reto Meier's Blog
  • Richard Hyndman's blog

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Content Protection by DMCA.com
© 2021 Styling Android