         (let [layout (make-ui activity (input-layout activity))]
           (do (.addView coll layout 0)
               layout))
-        (let [tv (TextView. activity)]
-          (do (.setText tv (str pos))
-              (.addView coll tv 0)
-              tv))))))
+        (let [layout (make-ui activity (graph-layout activity))]
+          (do (.addView coll layout 0)
+              layout))))))
 
 ;; This is how an Activity is defined. We create one and specify its onCreate
 ;; method. Inside we create a user interface that consists of an edit and a

                  :layout-weight 1}
    (format-listing @listing)]])


(defn pager-adapter [activity]
  (proxy [PagerAdapter] []

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