Package com.mapfactor.sdk.utils.ui
Class ToolsButton
java.lang.Object
AppCompatButton
com.mapfactor.sdk.utils.ui.ToolsButton
public class ToolsButton
extends AppCompatButton
Tools button
- Since:
- 4.10
-
Constructor Summary
ConstructorsConstructorDescriptionToolsButton
(android.content.Context context, android.util.AttributeSet attrs) Class constructorToolsButton
(android.content.Context context, android.util.AttributeSet attrs, int defStyleAttr) Class constructor -
Method Summary
-
Constructor Details
-
ToolsButton
public ToolsButton(@NonNull android.content.Context context, @NonNull android.util.AttributeSet attrs) Class constructor- Parameters:
context
- contextattrs
- see androidx.appcompat.widget.AppCompatButton
ToolsButton XML string attribute:
app:tools_button_type
ToolsButton type values:
calculate_route,simulate_route
app:tools_button_image_position
ToolsButton image position values:
left,top,right,bottom- Since:
- 4.10
-
ToolsButton
public ToolsButton(@NonNull android.content.Context context, @NonNull android.util.AttributeSet attrs, int defStyleAttr) Class constructor- Parameters:
context
- contextattrs
- see androidx.appcompat.widget.AppCompatButton
app:tools_button_type
ToolsButton type values:
calculate_route,simulate_route
app:tools_button_image_position
ToolsButton image position values:
left,top,right,bottomdefStyleAttr
- see androidx.appcompat.widget.AppCompatButton- Since:
- 4.10
-