Card View Only Top Corner Radius

[Solved] Card View Only Top Corner Radius | Swift - Code Explorer | yomemimo.com
Question : Card view only top corner radius

Answered by : sourav-maurya

<android.support.v7.widget.CardView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="-5dp" // This is the imp thing card_view:cardCornerRadius="4dp"> <SomeView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="5dp"/>
</android.support.v7.widget.CardView>

Source : https://stackoverflow.com/questions/29342633/cardview-corner-radius | Last Update : Fri, 20 May 22

Answers related to card view only top corner radius

Code Explorer Popular Question For Swift