My app is for v10 for Android Sdk, but has v6 for minSdkVersion. By default, the match_parent property will be used for width or height. Should I change it for fill_parent in order to ensure backward compatibility of the device with Android under 2.2?
yes, you should use fill_parent instead of match_parent to reduce ambiguity, since your min sdk version is V6.fill_parent also works on Android 2.2.
Use match_parent. Both FILL_PARENT and MATCH_PARENT constants are compiled to -1 and will work on any Android device.
Source: https://habr.com/ru/post/891940/More articles:how to write a simple video player on android? - androidul there is no margin at the first level of the nested list? - listNoClassDefFoundError: GuiceServletContextListener when starting GWT + GAE from Eclipse - eclipseSystem.Security.HostProtectionException when executing a user-defined function on SQL Server - .netIs it possible to check if a variable is static in PHP? - phpUnderstanding .NET application storage space - c #What is a reasonable amount of memory for a .NET application? - memoryDoes BeginSend Container adapters do not support iterators - c ++IOS: write a line in a txt file from an array - stringAll Articles