instead of 1 activity with 3 tabs. 3 tabs with 3 activities. created classes and layouts