0
我試圖改變文字顏色和消除這種左圖標更改默認的UI:如何從布倫特裏卡表與Android
所以對於CardNumber我用另一種觀點來單獨更改
//ONLY THE CARD ENTRY
<com.braintreepayments.cardform.view.CardForm
android:id="@+id/card_form"
style="@style/MyCard"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
//EXPIRATION,CVV,POSTALCODE
<com.braintreepayments.cardform.view.CardForm
android:id="@+id/card_formTwo"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
而此次嘗試應用它們,但仍然沒有工作..
<style name="MyCard" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="android:hint">EAEE</item>
</style>
cardForm.setCardNumberIcon(0);刪除卡牌的右側圖標,但不在左側。但是,謝謝! –