       height: Ti.UI.FILL
       width: Ti.UI.FILL
       borderRadius: @settings.borderRadius
-      borderWidth: 1
-      borderColor: @startStyle("borderColor")
+      borderWidth: @settings.borderWidth
+      borderColor: @settings.style.borderColor
       backgroundGradient: {
         type: 'linear'
         startPoint: { x: 0, y: 0 }
         endPoint: { x: 0, y: "100%" }
-        colors: @startStyle("gradient")
+        colors: @settings.style.gradient
         backfillStart: false
       }
-      opacity: @settings.opacity
-      zIndex: 1
     })
     @view.add(@button)
     

    
  onTouchStart: =>
    @button.updateLayout({
      borderColor: @clickStyle("borderColor")
      backgroundGradient: {
        type: 'linear'
        startPoint: { x: 0, y: 0 }
        endPoint: { x: 0, y: "100%" }
        colors: @clickStyle("gradient")
        backfillStart: false
      }
    })
    
    if @label
      @label.updateLayout({
        color: @clickStyle("labelColor")
        text: @clickStyle("labelText")
        font: @clickStyle("labelFont")
        shadowColor: @clickStyle("labelShadowColor")
      })
    
  onTouchEnd: =>
    @button.updateLayout({
      borderColor: @startStyle("borderColor")
      backgroundGradient: {
        type: 'linear'
        startPoint: { x: 0, y: 0 }
        endPoint: { x: 0, y: "100%" }
        colors: @startStyle("gradient")
        backfillStart: false
      }
    })
    
    if @label
      @label.updateLayout({
        color: @startStyle("labelColor")
        text: @startStyle("labelText")
        font: @startStyle("labelFont")
        shadowColor: @startStyle("labelShadowColor")
      })
    
    
  startStyle: (param) =>
    if @settings.style[param] == null
      null
    else
      @settings.style[param]
    
  clickStyle: (param) =>
    if @settings.onClickStyle[param] == null
      if @settings.style[param]
        @settings.style[param]
      else
        null
    else
      @settings.onClickStyle[param]
      
  setEnabled: (enabled) =>
    if enabled
      @view.enabled = true
    else
      @view.enabled = false

      width: Ti.UI.SIZE
      height: Ti.UI.SIZE
      backgroundColor: "transparent"
    })
    
    if @settings.iconSettings
      @icon = Ti.UI.createImageView(@settings.iconSettings)
      @content.add(@icon)
    
    if @settings.text && @settings.text != ""
      @label = Ti.UI.createLabel({
        color: @settings.style.labelColor
        text: @settings.text
        font: { fontSize: @settings.fontSize, fontWeight: "bold" }
        shadowOffset: { x: 1, y: 1 }
        shadowColor: @settings.style.labelShadowColor
        textAlign: "center"
        height: Ti.UI.SIZE
        width: Ti.UI.SIZE
