                   :layout-weight 1}
     (format-listing @listing)]])
 
+(defn graph-layout [activity]
+  [:linear-layout {:orientation :vertical}
+   [:graphview {:layout-width :fill,
+                :layout-height 700}]
+   [:linear-layout {:orientation :horizontal}
+    [:checkbox {:text "Total Weight"}]]
+   [:linear-layout {:orientation :horizontal}
+    [:checkbox {:text "BF%"}]
+    [:checkbox {:text "Total BF"}]]])
+
 
 (defn pager-adapter [activity]
   (proxy [PagerAdapter] []

(defelement :view-pager
  :classname android.support.v4.view.ViewPager
  :inherits :view-group)

(defn format-measurements [m]
  (apply conj [:table-row {}]

             (android.app DatePickerDialog DatePickerDialog$OnDateSetListener)
             (android.app DialogFragment)
             (android.content.res AssetManager)
             (android.graphics.Color)
             (com.jjoe64.graphview GraphView)))

;; We execute this function to import all subclasses of R class. This gives us
;; access to all application resources.
