把资源归类,res、src等文件目录下放一致的资源
>You should always externalize application resources such as images and strings from your code, so that you can maintain them independently. You should also provide alternative resources for specific device configurations, by grouping them in specially-named resource directories.
mipmap/ | Drawable files for different launcher icon densities. For more information on managing launcher icons with mipmap/ folders, see Managing Projects Overview. |
<?xml version="1.0" encoding="utf-8"?> <merge> <include layout="@layout/main_ltr"/> </merge>》 Providing the Best Device Compatibility with Resources
In general, Android prefers scaling down a larger original image to scaling up a smaller original image.