Bug 37999 - Multiple Layout Files uses deprecated naming scheme
Summary: Multiple Layout Files uses deprecated naming scheme
Status: RESOLVED ANSWERED
Alias: None
Product: Android
Classification: Xamarin
Component: Designer ()
Version: 6.0.0
Hardware: Macintosh Mac OS
: --- enhancement
Target Milestone: ---
Assignee: Jérémie Laval
URL:
Depends on:
Blocks:
 
Reported: 2016-01-25 17:08 UTC by James
Modified: 2017-06-27 05:17 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 on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED ANSWERED

Description James 2016-01-25 17:08:26 UTC
When creating alternative layouts for the same layout file, as outlined here:

http://developer.xamarin.com/guides/android/user_interface/designer_overview/part_3_-_alternative_layout_views/

The Android  designer goes by a deprecated Android naming convention. The wizard uses screen sizes of "Small, Normal, Large, XLarge", and creates a corresponding folder of that type.

According to the Android documentation, as of Android 3.2 those groupings were deprecated and have been replaced with the convention of sw<N>dp. If possible it would be best to update to this convention within our own tooling as well.

=== Xamarin Studio ===

Version 6.0 (build 3668)
Installation UUID: ab4225ca-dc7f-4d1a-b95e-550f08c30019
Runtime:
	Mono 4.3.0 (mono-4.3.1-branch/37d269c) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 403002114

=== Xamarin.Profiler ===

Version: 0.22.0.0
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Apple Developer Tools ===

Xcode 7.2 (9548)
Build 7C68

=== Xamarin.Mac ===

Version: 2.4.0.109 (Business Edition)

=== Xamarin.Android ===

Version: 6.0.0.34 (Business Edition)
Android SDK: /Users/jamesw/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
		5.1    (API level 22)
		6.0    (API level 23)

SDK Tools Version: 25.0.3
SDK Platform Tools Version: 23.1.0
SDK Build Tools Version: 23.0.2

Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

=== Xamarin Android Player ===

Version: 0.6.5
Location: /Applications/Xamarin Android Player.app

=== Xamarin.iOS ===

Version: 9.4.0.0 (Business Edition)
Hash: 7322991
Branch: master
Build date: 2015-12-08 16:20:29-0500

=== Build Information ===

Release ID: 600003668
Git revision: 23e9d5d22133ca5a7c56b26644ab59a4626bccdb
Build date: 2016-01-20 15:12:22-05
Xamarin addins: bca6749910827de4af7eab7a925ff4ccf2bda06a
Build lane: monodevelop-lion-roslyn-dark-skin-64bit

=== Operating System ===

Mac OS X 10.11.3
Darwin jWhite-Mac.local 15.3.0 Darwin Kernel Version 15.3.0
    Thu Dec 10 18:40:58 PST 2015
    root:xnu-3248.30.4~1/RELEASE_X86_64 x86_64
Comment 1 Prashant [MSFT] 2017-06-27 05:17:11 UTC
> According to the Android documentation, as of Android 3.2 those groupings were
> deprecated and have been replaced with the convention of sw<N>dp.

This is incorrect, the `sw<N>dp` convention will be used when you explicitly specify the screen width. 

See - 
https://developer.android.com/guide/practices/screens_support.html