[AC-2595] Android: Border property not working for buttons
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2013-04-04T21:30:16.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | n/a |
Reporter | Vinothbabu |
Assignee | Mauro Parra-Miranda |
Created | 2013-01-07T04:21:37.000+0000 |
Updated | 2016-03-08T07:41:40.000+0000 |
Description
*Problem description*
Border property is not working for Android Buttons in Galaxy 10 inch tablet with ICS.
*Code (JS)*
var submitButton = Ti.UI.createButton(pm.combine($$.Button, {
title: 'Sign In',
top: 0,
left: 0,
font: {
fontSize: 20,
fontWeight: 'bold'
},
width: vertViewBtn.width,
height: vertViewBtn.height,
borderRadius: 10
}));
*Code (Styling)*
Button: {
backgroundImage: '/library/images/green-button-bg.png',
backgroundSelectedImage: '/library/images/buttonselect-bg.png',
height: (Ti.Platform.displayCaps.platformHeight * 0.95) * 0.06,
width: Ti.Platform.displayCaps.platformWidth * 0.12,
color: '#FFF',
font: {
fontSize: 16,
fontWeight: 'bold',
fontFamily: 'Helvetica'
},
borderRadius: 5,
borderWidth: 5
},
Hi Vinothbabu, Is this Alloy? And I'm guessing you're on SDK version 3.0 GA? Thanks.
Yes we are on SDK 3.0 GA. We are not using alloy.
Is this JSS? Because that is an outdated approach and is no longer maintained. Does the same thing happen without the stylesheet?
Its not because of JSS, we tried without using JSS and still does not work.