Mobile News



Android tablet small

mdpi image is too small for 10" android tablet  June 14, 2021 – 03:50 pm
Android 4.2 7 Inch Tablet

If you want to achieve this without increasing your app size, there is a way to let a high density screen and a large medium density screen use the same resource. You need to place the image you want to re-use in the 'drawable-nodpi' folder. This will stop the platform performing its own scaling when using it. For example, assuming you have a resource called 'my_resource', if you want the tablet-size screen to use your xhdpi resource, then move it out of drawable-xhdpi and rename it like this:

/drawable-nodpi/my_resource_xhdpi.png

Then in both the drawable-xhdpi and drawable-xlarge folders, create a file called my_resource.xml which looks like this:

Now when you use @drawable/my_resource, the xhdpi version will be used by xhdpi screens and xlarge screens, and you only have to maintain one version of the image. I use this technique quite a lot and it works really well. Hope that helps!

Source: stackoverflow.com

AOSON 8 Inch Tablet Android 5.1 Lollipop A33 Quad-core CPU,IPS HD 800*1280 Touchscreen,1GB RAM 16GB ROM,3000mAh,Dual Camera, Bluetooth,Wi-Fi Tablet PC M812 White
Personal Computer (AOSON)
  • Powerful Android 5.1 OS, Fast A33 Quad-core Predecessor Running Android 5.1 Lollipop A33 Quad-core system, play more stable and faster, meet the needs of running...
  • 1GB of RAM,16GB of ROM, Expandable STORAGE With 1GB RAM, you can access to applications easily and switch between applications quickly. Comes with 16GB storage and...
  • 8-inch Colorful IPS Touch Screen, Compact Structure The 8-inch display has a resolution of 1280x800, Offer clear images and stable response time. Enable watching...
  • With DUAL CAMERA, Sufficient for Taking Photos Provide you better experience for self timer, video chat, gaming, Skype HD video call and sharing images via social...
  • Built-in Wi-Fi 802.11b/g/n 2.4Ghz, Bluetooth 2.1 Connect with widespread 2.4Ghz Wi-Fi left home to work where you may feel comfortable. Equipped with Google Play...

Related posts:

  1. New Android tablets
  2. Android tablet iPad
  3. Android Tablets Samsung