I am developing an Android application for handsets and tablets. I have images in drawable-mdpi folder for handsets, I have an mdpi tablet that gets resources from drawable-mdpi. How can I make difference between mdpi handsets and mdpi tablets?
drawable-mdpi folder for handsets and tablets
189 views Asked by Najoua Mahi At
2
There are 2 answers
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
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
Related Questions in ANDROID-SCREEN-SUPPORT
- Restrict Android app to very specific resolutions and screen sizes
- text_size in multiple screen support
- Get text content of the android screen
- Am I understanding Android density independence correctly?
- How to exclude device sizes less than 5 inch in the android manifest
- Android layouts - Would it be reasonable to create more Layout Folders than sw320, sw480 sw600 sw720 sizes?
- android game supporting multiple screens
- Need approach for screen development in android
- How to make screen re-sizable?
- Android different screen size and different densities
Related Questions in MDPI
- how to distinguish two different android mdpi phones
- Galaxy S screen DPI
- 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, mdpi density but different screens
- hdpi device choosing mdpi images
- Android: Optimize for high-dpi devices only but still support (small- and) medium-dpi screens
- drawable-mdpi folder for handsets and tablets
- HDPI, LDPI, MDPI
- Android icons for different displays and screen densities
Related Questions in HANDSET
- Master/detail flow layout and Android annotations
- What information does an iphone app have about the handset?
- Explain relation between asound.conf file with HFP and A2DP commands
- Which handset for university Android programming classes?
- How to handle ClickEvent for handset buttons in Android
- drawable-mdpi folder for handsets and tablets
- Android: original firmware identification strings for different models
- Simulate incoming call on own android device with Handsfree
- Identify handset without user having to create account
- How can I detect the android devices is "handset"(UI two bar style) or "tablet"(UI one bottom bar style) on Android 4.0 and 4.1?
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?
Popular Tags
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)
simply do it with dimen
for Handset use default values dimens.xml
values-sw600dp for 7 inch Tablate add dimens.xml
values-sw720dp 10 inch Tablate add dimens.xml
also create drawable-sw600dp and drawable-sw720dp