Forum Xamarin.Forms

Tabbed page ui

amirh379amirh379 USMember ✭✭
Hi guys how i can create a tabbedpage with border radius like this image

Best Answer

Answers

  • amirh379amirh379 USMember ✭✭

    maybe true Dear LeonLu but it's not worked for me i have problem in set "tv_color_blue" color Follow my ScreenShot...

  • amirh379amirh379 USMember ✭✭

    it's worked thanks bro <3 have a nice day

  • KevinhkKevinhk Member ✭✭

    @LeonLu said:
    @amirh379 Do you want to achieve the result like following GIF?

    If so, please open the like Tabbar.xml following screenshot

    Change the android:background="@drawable/shape_indicator_radius"

    Add the shape_indicator_radius.xml in the drawable folder.

     <?xml version="1.0" encoding="utf-8" ?>
    <shape xmlns:android="http://schemas.android.com/apk/res/android"
        android:shape="rectangle"  >
    <!--add the Radius-->
    <corners android:bottomRightRadius="20dp" android:bottomLeftRadius="20dp"/>
    <!--set the Tabbed bar color-->
    <solid
         android:color="@color/tv_color_blue"/>
     </shape>
    

    how I can do this for xamarin forms

Sign In or Register to comment.