Android 5.0 Lollipop Style Pack for Appmethod

Written by Sarina D on Posted in UI

This style pack includes a dark style, a light style and a dark blue style for Android 5.0. You can access the download here. This requires the Appmethod September Release (Version 1.15).

Here are the steps to add Android L styling support to your Appmethod Android application:

1. Place a TStyleBook onto your Master view
2. Set TStyleBook.Name = "AndroidLStyleBook"
3. Load AndroidLLight.fsf, AndroidLDarkBlue.fsf or AndroidLDark.fsf to
4. Use the TForm.OnCreate event and add this code:

Object Pascal:

procedure TForm1.FormCreate(Sender: TObject);
if TOSVersion.Major = 5 then
Form1.StyleBook := AndroidLStyleBook;


#if defined(__ANDROID__)
if (System::Sysutils::TOSVersion::Check(5))
Form1->StyleBook = AndroidLStyleBook;

androidlollipopscreenshots 13071

Tags: Appmethod Android Style Lollipop 5.0

Gold User, Rank: 5, Points: 558

Check out more tips and tricks in this development video: