Android Question How use event from XmlLayoutBuilder

Discussion in 'Android Questions' started by chhtest, Jun 25, 2015.

  1. chhtest

    chhtest Member Licensed User

    Hi,
    I have XML layout file, include Button.
    Code:
    ............
    <
    Button
        android:tag=
    "btnColorCtrlSend"           
        android:layout_width=
    "wrap_content"
        android:layout_height=
    "wrap_content"
        android:text=
    "Send" />
    ............
    use XmlLayoutBuilder load this layout to panel,
    than use AddView method to Activity.

    How can I use Button Click Event?
    any suggestion or sample code?

    thanks.

    Frederick.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Peter Simpson likes this.
  3. chhtest

    chhtest Member Licensed User

    hi, Erel:

    thanks.

    Frederick.
     
Loading...