       (.reset focus-path)
       (.moveTo focus-path local-l local-b)
       (.lineTo focus-path local-l local-t)
-      (.lineTo focus-path (- local-r (get-state this :tab-slice-width)) local-t)
+      (.lineTo focus-path (- local-r tab-slice-width) local-t)
       (.lineTo focus-path local-r local-b)))
   (defn tab-view-setActivated
     [this selected]

                            android.view.ViewGroup$LayoutParams/MATCH_PARENT))
        (.setPadding content-view tab-first-padding-left 0 0 0)
        (.addView this content-view)
        (.scrollTo this (.getScrollX this) (.getScrollY this))
        (set-state! this :content-view content-view)
        (set-state! this :animation-duration animation-duration)))
    ([this context attrs] (tab-scroll-view-post-init this context))

          title (get-state this :title)
          icon-view (get-state this :icon-view)
          close (get-state this :close)]
      (.setTextAppearance title context (if selected
                                          (get-resource :style :TabTitleSelected)
                                          (get-resource :style :TabTitleUnselected)))
      (.setVisibility icon-view (if selected android.view.View/GONE android.view.View/VISIBLE))
      (.setVisibility close (if selected android.view.View/VISIBLE android.view.View/GONE))
      (.setHorizontalFadingEdgeEnabled this (not selected))
