zzzj15 / senior_design

1 stars 2 forks source link

Consider change the TabHost to ActionBar #1

Open julius-datajunkie opened 11 years ago

julius-datajunkie commented 11 years ago

The code in the Main Activity is way too complicated. We can try to make TabHost into ActionBar. Take a look at this question on Stackoverflow: http://stackoverflow.com/questions/12772270/whats-is-the-difference-between-actionbar-and-tabhost-tabactivity It seems like after Android 3.0, Tabhost is out of favor...

TBPer commented 11 years ago

On top of that, we also run into a consistency of the user experience. I was showing this "Don't use bottom tab bars" - http://developer.android.com/design/patterns/pure-android.html to Jing the other day.

But Jing did a great job on the bottom tabHost, so let's see if we have time to do this...

julius-datajunkie commented 11 years ago

Yea, I saw that article before. I have tried to make the tab using action bar. The code is way cleaner, but the issue is with the swiping between pages. I don't have much idea how to implement that, but we will try refine it later.