 (defn show-picker [^Activity activity dp]
   (. dp show (. activity getFragmentManager) "datePicker"))
 
-
 (defn main-layout [activity]
   [:linear-layout {:orientation :vertical}
    [:linear-layout {:orientation :horizontal}

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

      (str k)
      trimmed)))

(defelement :table-layout
  :classname android.widget.TableLayout
  :inherits :linear-layout)
(defelement :table-row
  :classname android.widget.TableRow
  :inherits :linear-layout)

(defn format-measurements [m]
  (apply conj [:table-row {}]
         (map (fn [[_ v]]
                [:text-view {:text (format "%s" v), :padding 20}])
              m)))

(defn format-listing [lst]
  (apply conj [:table-layout {}]
         (map (fn [[_ measurements]]
                (format-measurements measurements))
              lst)))

(defn measurement->csv [m]
  (->> (map (fn [[k v]]
