Button
에 BorderColor
특성을 설정할 수 없습니다. 내가 뭘 잘못하고 있는지 모르겠지만 Visual Studio에서 속성이 선언되지 않았다고합니다. Android:BorderColor
도 작동하지 않습니다.Xamarin.Android 단추 테두리가 선언되지 않았습니다.
The 'BorderColor' attribute is not declared
내 코드 :
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white">
<TextView
android:id="@+id/header"
android:text="@string/header"
style="@style/header_text" />
<Button
android:id="@+id/phones_button"
android:layout_below="@id/header"
android:layout_alignParentStart="true"
android:layout_height="100dp"
android:layout_width="150dp"
android:textColor="@color/gray"
android:background="@color/white"
BorderColor="@color/gray"
android:text="@string/phones"
style="@style/button_style" />
</RelativeLayout>
관련 게시물을 첨부 된 이미지가 아닌 텍스트로 편집하십시오. – avojak
죄송합니다. 그냥 질문을 업데이 트 :) 감사합니다! –