Not All Views Visible When Using Include Tag
Nathan Sokalski
4,126
Reputation points
I have an activity_main.xml
layout file that includes several include
tags. However, not all of the View
(s) in the layouts referenced by the include
tags are visible in activity_main.xml
. I have been unable to find any pattern or unique attributes of the View
(s) that are or are not visible, some are as simple as a basic TextView
. All of the View
(s) are visible when editing the referenced layouts, but not when using the include
tag. Why are some View
(s) hidden in the include
tag, while others display the same as in their source layout?
Sign in to answer