[AC-866] Views behaviour different in iOS and Android
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-01-17T02:10:58.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | alloy |
Reporter | Manuel Conde Vendrell |
Assignee | Shuo Liang |
Created | 2015-01-15T21:56:24.000+0000 |
Updated | 2016-03-08T07:37:09.000+0000 |
Description
The same layout on Mobileweb, Android and iOS gives different result (Mobileweb & Android ok, iOS, fail).
I'm trying to include a big label inside a little view: the big label must be shortened to the size of the container view.
On Mobileweb & Android works fine. On iOS, all views are expanded and only the last is shown (over the all).
This is the Alloy xml file (no js needed, except for
$.index.open()
command):
<Alloy>
<Window layout="vertical">
<View id="viewButtons" top="30" left="10" height="Ti.UI.SIZE">
<View top="0" left="0" height="150" width="150">
<Label top="0" left="0" height="300" width="300" borderRadius="150" backgroundColor="red"></Label>
</View>
<View top="0" left="150" height="150" width="150">
<Label top="0" left="-150" height="300" width="300" borderRadius="150" backgroundColor="blue"></Label>
</View>
<View top="150" left="0" height="150" width="150">
<Label top="-150" left="0" height="300" width="300" borderRadius="150" backgroundColor="yellow"></Label>
</View>
<View top="150" left="150" height="150" width="150">
<Label top="-150" left="-150" height="300" width="300" borderRadius="150" backgroundColor="green"></Label>
</View>
</View>
</Window>
</Alloy>
Attachments
File | Date | Size |
---|---|---|
Captura de pantalla 2015-01-15 a la(s) 22.42.25.png | 2015-01-15T21:56:24.000+0000 | 13972 |
Captura de pantalla 2015-01-15 a la(s) 22.42.57.png | 2015-01-15T21:56:24.000+0000 | 26656 |
Hi, This is only happened in SDK 3.4.1, please try to use the SDK 3.5.0.GA. It will work well in IOS. Regards, Shuo
Ok Shuo, I will try today, when I update the system (fingers crossed...). Thanks
Tested with 3.5.0 and working. Can be closed, thanks.