Reference from http://en.wikipedia.org/wiki/Backus%E2%80%93Naur_Form A BNF specification is a set of derivation rules, written as <symbol> ::= __expression__ where <symbol> is a nonterminal, and the __expression__ consists of one or more sequences of symbols; more sequences are separated by the vertical bar, ‘|’, indicating a choice, the whole being a possible substitution for the symbol on […]

Read More →

Just a reference from here http://en.wikipedia.org/wiki/Context-free_grammar A context-free grammar G is defined by the 4-tuple where is a finite set; each element is called a non-terminal character or a variable. Each variable represents a different type of phrase or clause in the sentence. Variables are also sometimes called syntactic categories. Each variable defines a sub-language […]

Read More →

  <Button android:id=”@+id/mapViewBtn” android:layout_width=”0dp” android:layout_height=”wrap_content” android:layout_weight=”1″ android:text=”test” <– add text to the button android:textSize=”12sp” android:onClick=”mapClick” android:drawableTop=”@drawable/btm_map_btn_small”   <– add icon on the top of the button style=”?android:attr/buttonBarButtonStyle” <– remove the border of the button />

Read More →