last day (14 days later) » 

10:20 AM
0
Q: Tabhost content behind toolbar

Ron Since I'm not able to place my tabcontent right beacause I'm getting this Rendering Problem which says: Exception raised during rendering: No tab known for tag null ...Can anybody please help me to put the tabContent in between the toolbar and the tabHost/tabWidget? Remark: I've been resea...

 
what exactly you want ?
 
@RaguSwaminathan I want my content to be between my toolbar and my TabHost/TabWidget
 
So you want Toolbar followed by tab foolowed by your fragment? correct ? why are you using tabhost. Try using tablayout / pagesliding tab along with view pager. that might be helpful.
 
@RaguSwaminathan No, Iwant Toolbar followed by content(fragment) followed by tabhost. I thought about a TabLayout but I wasn't sure if that was the right approach. Can't imagine that instagram or google+ used a TabLayout for their tabs
 
oh ok. So the order will be toolbar -- fragment -- Tabhost at the bottom.
 
10:20 AM
@RaguSwaminathan Yes sir, this is exactly what I want.
 
you want this setup in the co ordinator layout along with appbar layout and collapsing toolbar ?
 
Yes in coordinatorLayout along with appbar but without collapsing toolbar
 
ok. so how exactly you want to proceed. while landing you will be having toolbar so while scrolling you need toolbar also to scroll along with the fragment ?
 
sorry my bad, your right. I also want the toolbar to collapse while scrolling....I've had an expandable toolbar in mind
 
oh ok. let me come back to you in few minutes
 
10:28 AM
Alright, thank you in advance
 
hey cool man let me try and get back to you.
did you try what issue you faced ?
 
The only issue I'm facing is this one:

03-04 16:53:05.708 2232-2232/info.androidhive.slidingmenu E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: info.androidhive.slidingmenu, PID: 2232
java.lang.IllegalStateException: No tab known for tag null
at android.support.v4.app.FragmentTabHost.doTabChanged(FragmentTabHost.java:330)
at android.support.v4.app.FragmentTabHost.onAttachedToWindow(FragmentTabHost.java:280)
at android.view.View.dispatchAttachedToWindow(View.java:13406)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2707)
It doesn't let me use the android studio designer anymore because of the rendering problem...

http://stackoverflow.com/questions/28901977/fragmenttabhost-no-tab-known-for-tag-null

This is exectly the problem I'm facing but I couldn't solve it with their solutions
 

last day (14 days later) »