Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a right facing arrow (chevron) using XML shapes in android? [closed]

How to create a right facing arrow using xml shapes in android like this??enter image description here

like image 774
Sajal Avatar asked Sep 05 '25 08:09

Sajal


1 Answers

No need to write your own XML, there's a standard Material design chevron.

In Android Studio, click on the res folder -> New -> Vector Asset, then click the icon (button with Android logo) and search for "Arrow".

Select the arrow you want, it will be added to your project. You can open the XML file and edit the dimensions and color if needed.

enter image description here

enter image description here

enter image description here

like image 112
Martin Konicek Avatar answered Sep 08 '25 22:09

Martin Konicek