Cannot select header in Android when HeaderContent is set

I have one of the tabs in my TabView set with an image in the header content like so:

          <tabView:SfTabItem>
                <tabView:SfTabItem.HeaderContent>
                    <Image Source="messagesOutline" HeightRequest="28" MinimumHeightRequest="28" WidthRequest="28" MinimumWidthRequest="28"></Image>
                </tabView:SfTabItem.HeaderContent>
                <tabView:SfTabItem.Content>
                    <StackLayout Style="{StaticResource MasterBackground}">
                        …
                    </StackLayout>
                </tabView:SfTabItem.Content>
            </tabView:SfTabItem>

This works perfectly fine in iOS, but unfortunately in Android you cannot click on it. I'm sure there is something that I am doing wrong, I just can't figure it out. 

3 Replies

PA Paul Anderson S Syncfusion Team July 9, 2018 11:40 AM UTC

Hi Caleb, 
 
Thank you for using Syncfusion products. 
 
In our SfTabView control in Android platform the platform does not allow to perform the Tap operation and we can implement that in the sample by having a Tap Gesture and assign to the Image. We have prepared a sample based on your requirement and it is available in the below link. 
 
 
Please let us know if you have any concern. 
 
Regards, 
Paul Anderson 



CH Caleb Hanson July 11, 2018 02:44 PM UTC

That works, thanks!


PA Paul Anderson S Syncfusion Team July 12, 2018 04:35 AM UTC

Hi Caleb, 
  
Thanks for the update. 
 
We are glad that you have achieved your requirement. Please let us know if you have any further queries. 
 
Regards, 
Paul Anderson 


Loader.
Up arrow icon