Project: titanium
Issue TIMOB-19803: Android: CardView should not have both borderRadius and cardCornerRadius
The CardView is documented to have both {{borderRadius}} and {{cardCornerRadius}}. Both also work, be it with different result because cardCornerRadius does not use the default unit (TIMOB-19798). Unless there is a valid reason to have both (which should then be clearly documented) I suggest that we only have {{borderRadius}} for consistency within the SDK. {code:javascript} var win = Ti.UI.createWindow({	layout: 'vertical' }); var card1 = Ti.UI.Android.createCardView({	top: 20,	left: 20,	right: 20,	contentPadding: 20,	cardCornerRadius: 20 }); card1.add(Ti.UI.createLabel({	text: 'cardCornerRadius',	color: '#000' })); win.add(card1); var card2 = Ti.UI.Android.createCardView({	top: 20,	left: 20,	right: 20,	contentPadding: 20,	borderRadius: 20 }); card2.add(Ti.UI.createLabel({	text: 'borderRadius',	color: '#000' })); win.add(card2); var card3 = Ti.UI.Android.createCardView({	top: 20,	left: 20,	right: 20,	contentPadding: 20,	borderRadius: 20,	cardCornerRadius: 20 }); card3.add(Ti.UI.createLabel({	text: 'cardCornerRadius + borderRadius',	color: '#000' })); win.add(card3); win.open(); {code}
Story points: 1