-
Notifications
You must be signed in to change notification settings - Fork 3
Atoms
Christopher O'Brien edited this page Jul 1, 2021
·
1 revision
<uk.gov.hmrc.components.atom.button.PrimaryButton
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Primary Button" />
<uk.gov.hmrc.components.atom.button.SecondaryButton
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Secondary Button" />
<uk.gov.hmrc.components.atom.button.IconButton
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Icon Button"
app:icon="@drawable/icon" />
<TextView
style="@style/Text.H3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="H3 Text" />
A H3 styled TextView identified as a visual heading for accessibility purposes.
<uk.gov.hmrc.components.atom.header.Heading3
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Heading3 Text" />
<TextView
style="@style/Text.H4"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="H4 Text" />
A H4 styled TextView identified as a visual heading for accessibility purposes.
<uk.gov.hmrc.components.atom.header.Heading4
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Heading4 Text" />
<TextView
style="@style/Text.H5"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="H5 Text" />
A H5 styled TextView identified as a visual heading for accessibility purposes.
<uk.gov.hmrc.components.atom.header.Heading5
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Heading5 Text" />
<TextView
style="@style/Text.Bold"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Bold Text" />
<TextView
style="@style/Text.Body"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Body Text" />
<TextView
style="@style/Text.Info"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Info Text" />
<TextView
style="@style/Text.Link"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Link Text" />
<TextView
style="@style/Text.Error"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Error Text" />
<uk.gov.hmrc.components.atom.bullet.BulletedTextView
style="@style/Text.Body"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Bullet Text" />
<View style="@style/Divider" />
or
@drawable/divider
if you need a drawable resource