Package com.mapfactor.sdk.utils.ui
Class MenuButton
java.lang.Object
ConstraintLayout
com.mapfactor.sdk.utils.ui.MenuButton
public class MenuButton
extends ConstraintLayout
Main menu button
- Since:
- 3.14
-
Constructor Summary
ConstructorDescriptionMenuButton
(android.content.Context context, android.util.AttributeSet attrs) Class constructorMenuButton
(android.content.Context context, android.util.AttributeSet attrs, int defStyleAttr) Class constructorMenuButton
(android.content.Context context, android.util.AttributeSet attrs, int defStyleAttr, int defStyleRes) Class constructor -
Method Summary
-
Constructor Details
-
MenuButton
public MenuButton(@NonNull android.content.Context context, @NonNull android.util.AttributeSet attrs) Class constructor- Parameters:
context
- contextattrs
- see androidx.constraintlayout.widget.ConstraintLayout
MenuButton XML string attribute:
app:button_type
MenuButton type values:
map,route_info,tools,favorites,settings,calculate_route- Since:
- 3.14
-
MenuButton
public MenuButton(@NonNull android.content.Context context, @NonNull android.util.AttributeSet attrs, int defStyleAttr) Class constructor- Parameters:
context
- contextattrs
- see androidx.constraintlayout.widget.ConstraintLayout
MenuButton XML string attribute:
app:button_type
MenuButton type values:
map,route_info,tools,favorites,settings,calculate_routedefStyleAttr
- see androidx.constraintlayout.widget.ConstraintLayout- Since:
- 3.14
-
MenuButton
public MenuButton(@NonNull android.content.Context context, @NonNull android.util.AttributeSet attrs, int defStyleAttr, int defStyleRes) Class constructor- Parameters:
context
- contextattrs
- see androidx.constraintlayout.widget.ConstraintLayout
MenuButton XML string attribute:
app:button_type
MenuButton type values:
map,route_info,tools,favorites,settings,calculate_routedefStyleAttr
- see androidx.constraintlayout.widget.ConstraintLayoutdefStyleRes
- see androidx.constraintlayout.widget.ConstraintLayout- Since:
- 3.14
-