arthurnishimoto / IBEIS_Nature_Lover

IBEIS Android app for nature lovers.
0 stars 0 forks source link

Tab Implementation #5

Open jsiripun opened 9 years ago

jsiripun commented 9 years ago

Currently unable to get the action bar/tabs working as everything I try to use is either deprecated code or there are issues between the importation of android.app.Fragment or android.support.v4.app.

If either of you guys knows a little more on the issue, it would be greatly helpful!

jsiripun commented 9 years ago

I still haven't been able to figure this out. If you guys know anymore, please let me know. I've been going through all sorts of tabs tutorials but a lot of stuff is deprecated or I just am not figuring out how to integrate everything properly.

arthurnishimoto commented 9 years ago

Have you tried looking at the Action Bar Compat - Styled example (File/Import Sample)? At least that looks like a currently supported methods of what we're trying to do.

Otherwise I suppose you could make the two pages with button bars that look like tabs?

jsiripun commented 9 years ago

I can get some tabs up but they don't display the activity of the list and map views. When running it, it comes up with the error: Caused by: java.lang.IllegalArgumentException: No view found for id 0x7f03001d (edu.uic.ibeis_tourist:layout/activity_tabs) for fragment MyPicturesFragment{4340a968 #0 id=0x7f03001d} Which I can't figure out since MyPicturesFragment doesn't call activity_tabs.