Class ToolsButton

java.lang.Object
AppCompatButton
com.mapfactor.sdk.utils.ui.ToolsButton

public class ToolsButton extends AppCompatButton
Tools button
Since:
4.10
  • Constructor Details

    • ToolsButton

      public ToolsButton(@NonNull android.content.Context context, @NonNull android.util.AttributeSet attrs)
      Class constructor
      Parameters:
      context - context
      attrs - 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 - context
      attrs - 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,bottom
      defStyleAttr - see androidx.appcompat.widget.AppCompatButton
      Since:
      4.10