Category: Android

  • Why ActionBarActivity is deprecated?

    The Solution

    If you’ve updated to the new Support Libraries (AppCompat 22.1.1), then you’ve probably noticed by now that extending ActionBarActivity for your Activity classes is now deprecated. Woot!?

    (more…)

  • Implement Floating Action Button – Part 1

    Implement Floating Action Button – Part 1

    What is a Floating Action Button?

    A new component introduced in Material Design is the Floating Action Button. It is an elevated circular view that floats above the UI in the bottom right. Its usually noted by its distinct visual that emphasizes that screen’s most important action.

    components_buttons_usage1

    I’ll show you how we can quickly set up one that works on devices preceding Lollipop in this relatively simple tutorial.

    (more…)

  • Toolbar Height in Landscape mode (FIX)

    Toolbar height issue

    Screenshot_2015-04-19-11-32-36If you’ve noticed by now, the Toolbar height by default when compared in normal and landscape mode, is different. There seems to be extra padding at the bottom where the Toolbar title is not vertically centered.

    (more…)

  • Android Material Design: Getting Started with Lollipop

    Android Material Design: Getting Started with Lollipop

    In this tutorial, I’ll show you how to implement Android Material Design for your apps running on pre Lollipop devices. Material Design is Google’s new design language for Android apps, replacing the previously used Holo theme.

    (more…)