I have both hdpi and xhdpi folders in my res folder. However, android makes use of hdpi xml file for 1280 X 800 resolution of a tablet. Could it be because my xml file accesses resources which are in drawable-hdpi folder but not in drawable-xhdpi folder?
Android does not access xhdpi folder for tablet view
836 Views Asked by ashi At
2
There are 2 best solutions below
0
Edison
On
I think you are confused with DPI vs screen sizes, which resolution along does not provide. You can have a XHDPI device with a small screen that is very high resolution (such as the Galaxy S3) or a MDPI or LDPI device with a very large screen (such as when you use Android on your TV).
Generally speaking, Dot per pixel = Resolution / Screen size.
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
Related Questions in XML
- Impose component restriction to a series of parsys-CQ
- Wrong xml being inflated android
- Shorten the XSD
- Writing/Overwriting to specific XML file from ASP.NET code behind
- Magento custom block. Can't get block's file
- Layout not shifting up when keyboard is open
- CSV to XML XSLT: How to quote excape
- Getting deeply embedded XML element values
- Saving FileSystemInfo Array to File
- how to apply templates within xsl:for-each
- Spring - configure Jboss Intros for xml with java config?
- Problems with implementing custom actionbar android
- Can Apache Ant be told to cache its XML files?
- Is Log4j2 xml configuration case sensitive?
- How to get a specific node value in XML Pull Parser
Related Questions in DRAWABLE
- Image in drawable but still getting error
- Android Studio missing drawable Folder
- Using images saved in drawable in an app - Android
- Android Selector Drawable doesnt work with attributes
- Cannot reference from XML to custom @drawable resource in Android studio
- Stretch drawable in the layer-list
- Change layout of EditText on state "selected"
- Customizing the android seekbar thumb
- DrawableCompat tinting does not work on pre-Lollipop
- How to Send Drawable as a parameter to a function
- Android/xml drawable button, image resizing
- How to change the checkbox drawable of a ListView?
- Android: How can i convert a Bitmap array to Int array?
- DrawableCompat.unwrap is not working pre Lollipop
- Android Button Drawable Tint
Related Questions in TABLET
- How to Remove class or activate class for specific view port only
- How to detect whether touch slide is taking me out of browser window on tablets?
- Change background color of tabBar in v4 viewPager
- Questions on how to Get Started with Developing for Windows 8.1 Tablet
- The application showing slowly and sometimes is stuck
- Drivers for LG G pad F 8.0 to develop on Android Studio
- Can Windows 8.1 (Not RT) Tablets Run ADO.net Applications using SQL
- How can I implement this UI?
- Android, different layout for 10.1 and 9.7 inch displays
- Picture changes size rapidly on tablet
- Unique device web fingerprinting amongst 10-20 company tablets
- Multiple instances of app in recent app list of tablet(android)
- Tablets missing in supported device of the Google Play developer console
- Bootstrap 3 - media queries Tablet Breakpoints
- Any way of accessing an Android device through ADB without debug mode enabled?
Related Questions in HDPI
- Netbeans 8.2 with jdk 9
- How to classify Android Devices based on DPI values?
- Retina/high-DPI custom cursor in Java?
- Galaxy S screen DPI
- Android scale image for XXHDPI
- layout not scaling in hdpi devices
- Use HDPI Resources on Kindle Fire
- How to define a android drawable folder
- Retina (HDPI) KineticJS sprites
- Wrong layout is used on AVD of WVGA854 and 160dpi
- should i make different images for each folder in an android application?(hdpi,mdpi,ldpi)
- Android HDPI devices with irregular layouts
- Canvas Bitmap drawing and Screen-Density
- D2D1 has obvious aliasing under high DPI
- How To Properly Use Drawable Folder Eclipse?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Not all android devices are set to the right density by the manufacturer, its really a hodgepodge of densities no matter what resolution you think you have, the device could still be seen by the android OS as a lower or different density than you think
if the android OS thinks your device is HDPI then it will access HDPI drawables