public enum IosThemeGeneration

  1. Object
  2. Enum<IosThemeGeneration>
  3. IosThemeGeneration

ImplementsComparable<IosThemeGeneration>

Which iOS design generation the modern theme targets.

Separate from ThemeMode rather than more constants on it, because the two answer different questions and compose: themeMode picks the LOOK – modern, iOS 7, pre-flat – and this picks which generation of the modern look. Folding modern27 into ThemeMode would have made every combination a new constant, on an enum already shared with Android and the desktop.

Consulted only when the theme resolves to modern/liquid. Every other themeMode ignores it, because there is only one iOS 7 and one pre-flat look.

Enum constants

DEFAULTSay nothing, and let the build server apply its own default, which is IOS26.
IOS26The iOS 26 Liquid Glass look, shipped as iOSModernTheme.res.
IOS27The iOS 27 look, shipped as iOSModern27Theme.res.

Methods

public static IosThemeGeneration[] values()
public static IosThemeGeneration valueOf(String name)

Inherited methods

Enum constant details

DEFAULT

DEFAULT
Say nothing, and let the build server apply its own default, which is IOS26. An application that never sets this keeps the theme it has.

IOS26

IOS26
The iOS 26 Liquid Glass look, shipped as iOSModernTheme.res.

IOS27

IOS27

The iOS 27 look, shipped as iOSModern27Theme.res.

It is a real design change rather than a version bump: 31 of the 68 native reference tiles differ from iOS 26, concentrated in the Liquid Glass surfaces and the bar and button chrome built on them.

Method details

values

public static IosThemeGeneration[] values()

valueOf

public static IosThemeGeneration valueOf(String name)