Default Login set to login activity class's create option with try catch.
Adding to database class make error. Recursive database call.
Because of get Writable database.
give scrol view to the create new vendor.xml