Android Question Ambiguous Views

Discussion in 'Android Questions' started by aeric, Mar 4, 2015.

  1. aeric

    aeric Active Member Licensed User

    Let say, in Visual Basic project we can add textbox controls with name txtUserName and txtPassword and button control cmdSubmit in frmLogin and then we can also have same controls with same names in another form frmRegister. I think it is not possible in B4A to have different layouts having the view with same names. Am I correct? (i.e. frmLogin.bal has edtUserName, edtPassword and btnSubmit then frmRegister.bal cannot add views with the names edtUserName, edtPassword and btnSubmit.)
  2. sorex

    sorex Expert Licensed User

    It might work when using 2 activities.
    aeric likes this.
  3. thedesolatesoul

    thedesolatesoul Expert Licensed User

    It can have the same names for the views.
    NJDude and aeric like this.
  4. aeric

    aeric Active Member Licensed User

    Thanks. I have better understand now on Activity, Layout and Process.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice