Not All Views Visible When Using Include Tag

Nathan Sokalski 4,121 Reputation points
2023-03-21T04:47:31.3366667+00:00

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?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
{count} votes