In-App message - Customization

I already know that we have a configuration section in UrbanAirship site (Configuration -> In-App Messages) and read http://docs.urbanairship.com/platform/android.html#custom-style. But with this I can't change all the In-App layout.

 

In Sum:

  • How I can change the style for button (apply border, changing background color just for the button, changing the color just for the button ...)?
    Base.Widget.UrbanAirship.InAppMessage.Banner.ActionButton
  • How I can hide the divider between the button and notification description?

    Base.Widget.UrbanAirship.InAppMessage.Banner.Divider

 

 

 

Didn't find what you were looking for?

New post

Comments

7 comments

  • Hi Alejandro,

    Customizing the style of the In-App Message can be found in our documentation on Custom Styling for In-App Messages.

    0
  • Hi Michael.
    I already change my theme according the documentation. But how I can have control to the divider (for example) with these methods in the documentation?

    Thank you for answer

    0
  • Alejandro,

    The divider does not have any customizable control, so you will be unable to customize that aspect of the in-app message.

    0
  • Thank you. And if I want to apply to button a different color and background that notification description? In this case, the title of the notification has a different color that the button. And the button has a completely different style of the rest of the notification.

    0
  • Hi Alejandro,

    Yes, the buttons can have a different color than the notification background. The Secondary Color will be the property that you can modify to have a different color and style than the rest of the notification.

    0
  • Hi Michael.

    How can i use interactive buttons inside in app messages ?

    0
  • Ganesh,

    You don't need to do anything code-wise to add interactive buttons to the in-app message (Unless you want to create Custom Interactive Buttons).

    All you would need to do is specify the button pairing you want to use for the in-app message. You can do so either via the Message Composer, or by using the API

    0

Please sign in to leave a comment.