android-screen-support Questions

10

Solved

When supporting different screen sizes (densities) in Android often the focus is on creating different layouts for every possible screen. I.E. ldpi mdpi hdpi xhdpi xxhdpi xxxhdpi I designed a l...

5

I have a layout with different boxes, each of them contains a bunch of TextViews in a similar layout. I wish to use the auto-size feature of TextView, but each TextView only takes into account its...

1

Solved

My app supports multi window feature. I want the app to take dimensions from different dimens.xml files when the app is in normal mode and multi window mode. I have declared the minWidth = 255dp ...
Ethology asked 25/10, 2019 at 8:30

7

Solved

In my app there is a long loading process, and if the devices puts on the screen lock, my process stops for some reason. How can i prevent the device from automatic screen lock?
Continuous asked 5/7, 2012 at 12:27

10

Solved

Is there any way to determine the category of screen size of the current device, such as small, normal, large, xlarge? Not the density, but the screen size.
Gypsie asked 16/2, 2011 at 10:13

3

Solved

I am creating a simple quiz test app "Target SDK API 16 (4.1 Jelly Beans)" Screen 3.7 (480x800 hdpi). This app looks great on 3.7 (480x800), but when I run this on another screening device like 2....

2

Is there any way to get the text content that is being displayed on the android mobile screen. It may be by any android app. for example in the image linked above, i wish to get all the text (st...
Canossa asked 18/6, 2015 at 8:14

3

Solved

A recent blog explains that we must use <meta-data android:name="android.max_aspect" android:value="2.1" /> in <application> element of AndroidManifest.xml for optimal display on su...
Pincus asked 3/4, 2017 at 7:54

3

Solved

I am an Android App Developer and started working on React-Native from last one month. I have questions, for those I am unable to find solution: does react-native use sp instead of dp for font-si...
Highmuckamuck asked 4/1, 2018 at 12:49

4

Solved

Hello I am targeting users to Android phones only. I want to restrict the app to install on Android phones ony not on phablets and tablets. What are the configuration do I need to apply in Androi...
Relinquish asked 10/8, 2014 at 16:14

4

Solved

I need to clarify some doubt about the image assets for my app, if I specify in an xml file that the height of something [image view] is 50 dip height which type of screen should i choose from th...

5

Solved

I have 4 different devices: Asus tablet, screensize 7" Lenovo tablet, screensize 7" HTC mobile phone, screensize 5" HTC mobile phone, screensize 4.7" I want to know the smallest width (sw) of m...
Amaryllis asked 23/10, 2014 at 4:1

4

Solved

I am trying to load some images based on smallest width attribute. To do this, I put the images into the following folders: drawable-sw320dp drawable-sw360dp drawable-sw480dp drawable-sw600dp d...
Preheat asked 31/8, 2015 at 10:33

2

Solved

I created layout-large, layout-normal and layout-xlarge in the res folder and I copied all the xml files to those layout folders First, I want to ask what is the difference between layout (the de...
Harbourage asked 28/7, 2013 at 19:51

7

Following folder structure is working fine for the mentioned devices and resolutions: drawable-hdpi -- for 480x800 drawable-ldpi -- empty drawable-mdpi -- for 320x480 and 240x320 (mdpi device) dr...

2

Can anyone tell me which Drawable does Nexus 6 and Nexus 9 support xxhdpi or xxxhdpi? I also want to whether Nexus 6 supports large- hdpi or anything else? I searched in google but found no luck? ...
Poet asked 22/12, 2014 at 11:54

2

Solved

I'm developing an application that is installed on the system partition and I would like to know if it's possible to get a screenshot of the current foreground application from a service. Of course...

1

I have a backend API endpoint which returns JSON in some sets. Each set contain 10 lines of Json. For example: curl http://www.something.com?getData=0 will give first 10 elements and curl http://...

2

Hello i am making an android app in which i am getting images from the server and for that i am using picasso library now my question is that as there are different densities of screens with differ...
Carbonado asked 16/10, 2015 at 20:32

4

I have finished my application and now need to handle adapting to multiple screen sizes. At this point it seems my only option is to do the following: Have a seperate xml layout for: Small, Norma...
Clairclairaudience asked 10/6, 2012 at 19:6

5

Solved

I am going to develop new application in Android. This application should only work in portrait (even for tablet). Also the UI and layout design should be similar on phones and tablet. We can't cha...
Rosenkranz asked 21/11, 2013 at 14:49

2

Solved

I'm newly on android development and i build an app on android studio and i want to make my app have same design in all devices: Samsung Galaxy S4 => 1080x1290 ; 5.0” Galaxy Nexus => 720x1280 ...

4

Solved

I am creating a app in Android that must support multiple screens. For this purpose i have read many answers and one which i like most is state that i can create different folders in res folder by...
Scarberry asked 29/3, 2014 at 7:9

1

Solved

I built one app, and I'm trying to exclude devices with a small screen. To do this I exploited the Support Screen Element in the manifest. <supports-screens android:largeScreens="true" androi...
Katey asked 28/12, 2014 at 7:57

1

Solved

I am specifying a button's width as 600dp in values/dimens.xml, but when I deploy and run it on my Nexus 5 it takes up all the available width in the landscape orientation. My activity only ...

© 2022 - 2024 — McMap. All rights reserved.