Bug 60385 - Include tag not respecting screen size qualifier
Summary: Include tag not respecting screen size qualifier
Status: NEEDINFO
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 8.0 (15.4)
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2017-10-26 04:07 UTC by Chase
Modified: 2017-10-26 11:13 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 60385 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEEDINFO

Description Chase 2017-10-26 04:07:59 UTC
When using an <include> tag within an android layout, the tag pulls in the default version of the layout listed regardless of any screen size qualifier. 

Example: I have a w-900dp version of a layout that I'm trying to include for tablets. This layout is not used by the include tag even on a Nexus 10 in landscape mode. I have verified that this problem does not occur when using the original Android SDK.
Comment 1 Jon Douglas [MSFT] 2017-10-26 04:37:18 UTC
(In reply to Chase from comment #0)
> When using an <include> tag within an android layout, the tag pulls in the
> default version of the layout listed regardless of any screen size
> qualifier. 
> 
> Example: I have a w-900dp version of a layout that I'm trying to include for
> tablets. This layout is not used by the include tag even on a Nexus 10 in
> landscape mode. I have verified that this problem does not occur when using
> the original Android SDK.

Hi Chase,

Can you add some quick details to this bug based on our bug writing guidelines?

https://bugzilla.xamarin.com/page.cgi?id=bug-writing.html

1. Steps to Reproduce or Reproduction Project
2. Actual Results
3. Expected Results
4. Xamarin Version Information
5. If you have a confirmation project in Android Studio, please also upload this to the bug report for comparison.

I will investigate this further once we get these 5 items of information! Thank you in advance for the bug report.