We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

How to insert a sfTabView in a layout that already exists?

In the .axml design I have a layout defined like this:

  android:id="@+id/tab3"
          android:orientation="vertical"
          android:layout_width="match_parent"
          android:layout_height="match_parent" >


What I want is to insert a sfTabView within that layout. It's possible?

Thank you.

1 Reply

DR Dhanasekar R Syncfusion Team January 14, 2019 11:13 AM UTC

Hi Sergio, 
 
Greetings from Syncfusion. 
 
Query: ”How to insert a SfTabView in a layout that already exists?” 
 
You can insert SfTabView in a layout by using the following code. 
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
    android:orientation="vertical" 
    android:layout_width="match_parent" 
    android:layout_height="match_parent" 
   > 
    <Syncfusion.Android.TabView.SfTabView 
        android:minWidth="300px" 
        android:minHeight="900px" 
        android:layout_width="match_parent" 
        android:layout_height="wrap_content" 
        android:id="@+id/sfTabView1" /> 
</LinearLayout> 
 
In our current implementation of SfTabView, content is not properly updated when using a .axml file. We have logged a bug report for this and the fix will be available in our upcoming Volume 4 SP1 release which will be rolled out at first week of February 2019.

We will let you know once our volume 4 sp-1 release has been rolled out. 
 
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link 

Linkhttps://www.syncfusion.com/feedback/4268 

If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal link above.    
 
Please let us know if you have any other concern. 
Regards,  
Dhanasekar 


Loader.
Live Chat Icon For mobile
Up arrow icon