Package com.bugfender.sdk.ui
Class FeedbackStyle
- java.lang.Object
-
- com.bugfender.sdk.ui.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 colorsFeedbackStyle
setInputColors(int backgroundColorResId, int textColorResId, int hintColorResId)
Configure form input (EditText) colorsFeedbackStyle
setScreenColors(int backgroundColorResId, int textColorResId)
Configure general screen colors
-
-
-
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 backgroundtitleColorResId
- The color resource id for the app bar titlecloseButtonColorResId
- The color resource id for the app bar close buttonactionButtonColorResId
- 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 backgroundtextColorResId
- 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 EditTextstextColorResId
- The color resource id for the text of the EditTextshintColorResId
- The color resource id for the hint of the EditTexts- Returns:
- The same FeedbackStyle object that allow to chain methods calls
-
-