android - Need Help to create TabView for My Doodle App -
i beginner in android , developing 1 doodle application in user can draw on canvas.
for providing 1 relative layout in taking 4 image buttons selecting brushes size,color , make picture b/w , last 1 selecting photos gallery.
please me out, how give various brushes option while clicking on brush imageview button user can select whatever size want.
special in advance.
you can use fragment instead of tab view.
- first should extends fragment class.
- create simple layout.
- in oncreateview() in fragment class, return inflater.inflate(r.layout.my_layout, container, false);
- you can simple use fragmenttransaction switch them.
you can read example tutorial more information.
Comments
Post a Comment