Loading...
Searching...
No Matches
com.navigine.view.widgets.FollowMeButtonConfig Class Reference

Configuration for FollowMeButton widget. Allows customization of icons, styles and layout. More...

Classes

class  Builder
 

Public Member Functions

Drawable getFollowMeIcon ()
 
Drawable getFollowMeIconActive ()
 
Integer getButtonBackgroundColor ()
 
Integer getAccentColor ()
 
Integer getTextColor ()
 
float getButtonWidth ()
 
float getButtonHeight ()
 
int getMarginRight ()
 
int getMarginBottom ()
 

Static Public Member Functions

static Builder builder ()
 
static FollowMeButtonConfig defaultConfig ()
 

Detailed Description

Configuration for FollowMeButton widget. Allows customization of icons, styles and layout.

Java code snippet:

FollowMeButtonConfig followMeConfig = FollowMeButtonConfig.builder()
.accentColor(0xFF30AAD9)
.buttonBackgroundColor(0xF2FAFAFA)
.textColor(0xFF152D47)
.buttonWidth(48f)
.buttonHeight(48f)
.build();
// followMeConfig.followMeIcon(drawable); followMeConfig.followMeIconActive(drawable);

Kotlin code snippet:

val followMeConfig = FollowMeButtonConfig.builder()
.accentColor(0xFF30AAD9.toInt())
.buttonBackgroundColor(0xF2FAFAFA.toInt())
.textColor(0xFF152D47.toInt())
.buttonWidth(48f)
.buttonHeight(48f)
.build()
// followMeConfig.followMeIcon(drawable); followMeConfig.followMeIconActive(drawable)

Definition at line 18 of file FollowMeButtonConfig.java.

Member Function Documentation

◆ builder()

static Builder com.navigine.view.widgets.FollowMeButtonConfig.builder ( )
inlinestatic

Definition at line 32 of file FollowMeButtonConfig.java.

◆ defaultConfig()

static FollowMeButtonConfig com.navigine.view.widgets.FollowMeButtonConfig.defaultConfig ( )
inlinestatic

Definition at line 36 of file FollowMeButtonConfig.java.

◆ getAccentColor()

Integer com.navigine.view.widgets.FollowMeButtonConfig.getAccentColor ( )
inline

Definition at line 96 of file FollowMeButtonConfig.java.

◆ getButtonBackgroundColor()

Integer com.navigine.view.widgets.FollowMeButtonConfig.getButtonBackgroundColor ( )
inline

Definition at line 95 of file FollowMeButtonConfig.java.

◆ getButtonHeight()

float com.navigine.view.widgets.FollowMeButtonConfig.getButtonHeight ( )
inline

Definition at line 99 of file FollowMeButtonConfig.java.

◆ getButtonWidth()

float com.navigine.view.widgets.FollowMeButtonConfig.getButtonWidth ( )
inline

Definition at line 98 of file FollowMeButtonConfig.java.

◆ getFollowMeIcon()

Drawable com.navigine.view.widgets.FollowMeButtonConfig.getFollowMeIcon ( )
inline

Definition at line 93 of file FollowMeButtonConfig.java.

◆ getFollowMeIconActive()

Drawable com.navigine.view.widgets.FollowMeButtonConfig.getFollowMeIconActive ( )
inline

Definition at line 94 of file FollowMeButtonConfig.java.

◆ getMarginBottom()

int com.navigine.view.widgets.FollowMeButtonConfig.getMarginBottom ( )
inline

Definition at line 101 of file FollowMeButtonConfig.java.

◆ getMarginRight()

int com.navigine.view.widgets.FollowMeButtonConfig.getMarginRight ( )
inline

Definition at line 100 of file FollowMeButtonConfig.java.

◆ getTextColor()

Integer com.navigine.view.widgets.FollowMeButtonConfig.getTextColor ( )
inline

Definition at line 97 of file FollowMeButtonConfig.java.


The documentation for this class was generated from the following file: