               [neko.find-view :refer [find-view]]
               [neko.threading :refer [on-ui]]
               [neko.ui :refer [config]]
+              [neko.ui.mapping :refer [defelement]]
               [clojure.string :refer [join split-lines split]]
               [clojure.java.io :as io]
               [my.stuff.fitlogger.sebas :as seb])

(defn show-picker [^Activity activity dp]
  (. dp show (. activity getFragmentManager) "datePicker"))


(defn main-layout [activity]
  [:linear-layout {:orientation :vertical}
   [:linear-layout {:orientation :horizontal}

    (neko.debug/keep-screen-on this)
    (reset! listing (read-logfile-or-default (*a)))
    (on-ui
     (set-content-view! (*a) (main-layout (*a))))))
