Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
Add :check-box element
Browse files Browse the repository at this point in the history
  • Loading branch information
satchit8 committed Feb 13, 2016
1 parent e58076c commit a8fd0ea
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/clojure/neko/ui/mapping.clj
Expand Up @@ -4,9 +4,9 @@
elements and the values for the keywords representing values."
(:require [clojure.string :as string])
(:use [neko.-utils :only [keyword->static-field reflect-field]])
(:import [android.widget LinearLayout Button EditText ListView SearchView
ImageView ImageView$ScaleType RelativeLayout ScrollView FrameLayout
Gallery GridView]
(:import [android.widget LinearLayout Button CheckBox EditText ListView
SearchView ImageView ImageView$ScaleType RelativeLayout ScrollView
FrameLayout Gallery GridView]
android.app.ProgressDialog
android.view.inputmethod.EditorInfo
[android.view View ViewGroup$LayoutParams Gravity]))
Expand All @@ -29,6 +29,8 @@
:button {:classname android.widget.Button
:inherits :text-view
:attributes {:text "Default button"}}
:check-box {:classname android.widget.CheckBox
:inherits :text-view}
:linear-layout {:classname android.widget.LinearLayout
:inherits :view-group}
:relative-layout {:classname android.widget.RelativeLayout
Expand Down

0 comments on commit a8fd0ea

Please sign in to comment.