Titanium JIRA Archive
Appcelerator Community (AC)

[AC-815] Alloy Nested Views (Third Sibling)

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionCannot Reproduce
Resolution Date2015-09-17T06:43:56.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAlloy, Studio
Labelsandroid
ReporterZeshan Bilal
AssigneeShak Hossain
Created2014-09-09T17:12:03.000+0000
Updated2016-03-08T07:37:05.000+0000

Description

Third sibling nested view (a view inside a view) does not appear. Was working on some code and then realized something is fishy here so started a blank app to test my hypothesis. Maybe it's required to use the tag to input external view file but even with this third sibling doesn't work.

Attachments

FileDateSize
app.zip2014-09-09T17:12:03.000+00005890851

Comments

  1. Papia Chowdhury 2015-08-21

    Hello, I have retested this issue and this is not a valid bug. Alloy nested views work properly as per details test case below. *Testing Environment:* Appcelerator Studio, build: 4.2.0.201508141038 Titanium SDK: 4.1.0 GA Alloy Version: 1.6.2 iOS simulator: iphone 5s(v8.1) Android Emulator: Google Nexus 6 - 5.1.0 OS X version: 10.9.5 *Test Case:* index.xml
       <Alloy>
       	<Window >
       		<View id="view1" >
       			<View id="view2" >
       				<View id="view3" >
       				</View>
       			</View>
       		</View>
       	</Window>
       </Alloy>
       
    index.tss
       "#view1": {
       	height: 90,
       	width: 90,
       	backgroundColor:'red'
       }
       
       "#view2": {
       	width: 60,
       	height: 60,
       	backgroundColor:'green'
       	}
       
       "#view3": {
       	height: 30,
       	width:30,
       	backgroundColor: 'blue'
       }
       
       
    Thanks.

JSON Source