Skip to content

Releases: hmrc/android-components

4.0.0

25 Mar 09:40

Choose a tag to compare

Changed

  • Updated InformationMessageCardView button so it has the ability to set the button to outline style using isOutlineButton. This mean setHeadlineButtons will need to provide InformationMessageButton instead of SecondaryButton.

3.22.0

03 Feb 14:29

Choose a tag to compare

Changed

  • Updated InformationMessageCardView buttons so that the button minHeight is reset from the default 60dp to 0dp. This means that buttons now only occupy the vertical space that they need and no more.

3.21.0

25 Jan 16:20
ce75486

Choose a tag to compare

Added

  • WarningView has new attribute defaultPadding which removes the default padding from the component when set to false. When set to true, or not provided in the xml, component has default 8dp padding.

Changed

  • Updated padding on HeadlineCardView so that if there are no children added then the bottom padding is the same as a normal card (16dp). If children are added, this padding is increased back to 24dp automatically.

3.20.0

09 Dec 16:52
d67f7ec

Choose a tag to compare

Changed

  • Updated MenuPanelRowView notifications to add support for 'New' badge.
    To show the notification you now need to provide the type of notification as a parameter: showNotification(notificationType: Notification)
    Notification types: Count(val count: Int = 0), New, None.
    Default for panel is None and this does not need to be set.
    Default of Count just shows a dot, and a count value does not need to be provided, this is the default state of showNotification().

  • Refactored dependencies and updated the following:

    • kotlin version: 1.5.20 -> 1.5.31
    • hmrc spotless plugin: 1.0.0 -> 1.1.1
    • detekt: 1.6.0 -> 1.18.1

3.19.0

08 Nov 11:34

Choose a tag to compare

  • Updated StatusView to improve support for vectors that are more than 100dp wide

3.18.0

22 Oct 13:09
184377a

Choose a tag to compare

  • Added Java 11 support

3.17.1

13 Aug 16:15

Choose a tag to compare

  • Updated hmrc_grey_1 colour to match the GOV palette

3.17.0

26 Jul 11:00
53f8b97

Choose a tag to compare

Added

  • Added setOnClickListener(clickHandler: () -> Unit) and setChevronContentDescription(description: CharSequence) methods to HeadlineCardView.

3.16.0

16 Jul 09:09
b31ca26

Choose a tag to compare

Added

  • Exposed the setTextFocusable(focusable: Boolean) for use in MultiColumnRow and provided isTextFocusable for setting this in xml.

3.15.1

01 Jul 10:51
70abc19

Choose a tag to compare

  • Updated hmrc_yellow