Class FeedbackStyle

  • All Implemented Interfaces:
    java.io.Serializable

    public class FeedbackStyle
    extends java.lang.Object
    implements java.io.Serializable
    This class allows to configure the colors used on the feedback screen.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      FeedbackStyle()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      FeedbackStyle setAppBarColors​(int backgroundColorResId, int titleColorResId, int closeButtonColorResId, int actionButtonColorResId)
      Configure the app bar colors
      FeedbackStyle setInputColors​(int backgroundColorResId, int textColorResId, int hintColorResId)
      Configure form input (EditText) colors
      FeedbackStyle setScreenColors​(int backgroundColorResId, int textColorResId)
      Configure general screen colors
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FeedbackStyle

        public FeedbackStyle()
    • Method Detail

      • setAppBarColors

        public FeedbackStyle setAppBarColors​(int backgroundColorResId,
                                             int titleColorResId,
                                             int closeButtonColorResId,
                                             int actionButtonColorResId)
        Configure the app bar colors
        Parameters:
        backgroundColorResId - The color resource id for the app bar background
        titleColorResId - The color resource id for the app bar title
        closeButtonColorResId - The color resource id for the app bar close button
        actionButtonColorResId - The color resource id for the app bar action button (send feedback button)
        Returns:
        The same FeedbackStyle object that allow to chain methods calls
      • setScreenColors

        public FeedbackStyle setScreenColors​(int backgroundColorResId,
                                             int textColorResId)
        Configure general screen colors
        Parameters:
        backgroundColorResId - The color resource id for the screen background
        textColorResId - The color resource id for the hint text and other secondary texts on the screen.
        Returns:
        The same FeedbackStyle object that allow to chain methods calls
      • setInputColors

        public FeedbackStyle setInputColors​(int backgroundColorResId,
                                            int textColorResId,
                                            int hintColorResId)
        Configure form input (EditText) colors
        Parameters:
        backgroundColorResId - The color resource id for the background of the EditTexts
        textColorResId - The color resource id for the text of the EditTexts
        hintColorResId - The color resource id for the hint of the EditTexts
        Returns:
        The same FeedbackStyle object that allow to chain methods calls