Card.ImageLayout
Stay organized with collections
Save and categorize content based on your preferences.
This enum was deprecated
in API level XE21.
Use CardBuilder.Layout
to specify how the
card's content should be laid out.
Defines image layouts for a card.
Inherited Methods |
From class
java.lang.Enum
final
Object
|
clone()
|
int
|
|
final
int
|
compareTo(E arg0)
|
final
boolean
|
|
final
void
|
finalize()
|
final
Class<E>
|
getDeclaringClass()
|
final
int
|
hashCode()
|
final
String
|
name()
|
final
int
|
ordinal()
|
String
|
toString()
|
static
<T extends Enum<T>>
T
|
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
java.lang.Comparable
abstract
int
|
compareTo(T arg0)
|
|
Enum Values
Added in API level XE12
public
static
final
Card.ImageLayout
FULL
Images appear full screen in the background.
Added in API level XE12
public
static
final
Card.ImageLayout
LEFT
Images are aligned to the left of the card (the default).
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["`Card.ImageLayout` defines how images are displayed within a card on Glass, with options for full-screen or left-aligned placement."],["This enum has been deprecated since API level XE21 and developers should now utilize `CardBuilder.Layout` for card content layout."],["`Card.ImageLayout` was introduced in API level XE12 and provided two values: `FULL` for full-screen images and `LEFT` for left-aligned images."]]],[]]