как сделать круглый угол кнопки в Xamarin Android с помощью Visual Studio 2017 - PullRequest
0 голосов
/ 01 июня 2018

Привет, я не могу найти папку для рисования в VS 2017, поэтому мой вопрос, где я могу разместить свой XML-файл "RoundShapeBtn.xml" как пригодный для рисования, чтобы сделать мою кнопку с круглым углом.

 <?xml version="1.0" encoding="utf-8"?>
  <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" android:padding="10dp">   
  <solid android:color="#6E6E6E"/> <!-- this one is ths color of the Rounded Button -->
  <corners
   android:bottomRightRadius="10dp"
   android:bottomLeftRadius="10dp"
   android:topLeftRadius="10dp"
   android:topRightRadius="10dp"/>
</shape>
...