           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)))
+      (.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))

          tab-view (net.nightweb.tabs.TabView. (get-state this :context))]
      (.setTitle tab-view "New Tab")
      (.setOnClickListener tab-view (on-click (.setSelectedTab this view)))
      (.setActivated tab-view true)
      (.addView content-view tab-view)))
  (defn tab-scroll-view-setSelectedTab
    [this view]
    (let [content-view (get-state this :content-view)

  (defn tab-scroll-view-animateScroll
    [this new-scroll]
    (let [animator (android.animation.ObjectAnimator/ofInt
                     this "scroll" (int-array [(.getScrollX this) new-scroll]))]
      (.setDuration animator ^int (get-state this :animation-duration))
      (.start animator)))
  )

