The android-screen tag has no wiki summary.
1
vote
1answer
11 views
Can someone help me visualize this example about different screens sizes?
I always have difficulties when it comes to supporting multiple screens on Android and completely understand the concepts like dpi etc. Thus, I decided to study it one more time from the beginning. I ...
-1
votes
1answer
17 views
Android: How do ı disable reload page on change screen orientation?
I have a activity. I have a proccess and this is very long. I changed the screen orientation (portrait to landscape), they proccess is start again... I want to disable onCreate() on change screen ...
0
votes
1answer
38 views
Layouts on the basis of device size
I am pretty much confused right now. I tried making different images and put them in appropriate folder(xhdpi,ldpi) but my app is not working for every device type from 2.7" to 10". So I decided to ...
1
vote
2answers
49 views
Android wrong screen size [duplicate]
I am using this code to get my screen resolution:
//View v
Context ctx = v.getContext();
WindowManager wm = (WindowManager) ctx.getSystemService(Context.WINDOW_SERVICE);
Display display = ...
0
votes
2answers
71 views
Where to put drawable for 480x800 hdpi, mdpi, ldpi
I have a problem with different screen sizes and different density issues.
I am developing an app for different resolutions but for 480 x 800 resolution I am confused.
I have a single copy of images ...
-1
votes
2answers
30 views
Getting generic sizes for android development
I'm building an app to support all android sizes what are the generic values for Small, Normal, Large and Xlarge taking into consideration the 7 and 10 inch tablet. I'd like to know the screen size ...
3
votes
3answers
197 views
Android App should visible in playstore for normal screen devices as well as tablets and should appear perfect in both (screen resolution)
I have recently published android app (sdk version 4.2) in playstore. My requirement is that - this app should be visible in playstore on both - large screen devices (including Samsung Galaxy Tab 2 ...
0
votes
0answers
22 views
DisplayMetrics return other width and height when screen is locked (landscape mode)
I need to know the screenWidth and screenHeight (pixels) of the executing device at runtime. So far I used folowwing code:
DisplayMetrics dm = new DisplayMetrics();
...
0
votes
0answers
62 views
Re-size bitmap and then set as wallpaper
I'm trying to re size a bitmap and setting it as a wallpaper, but setting it as a wallpaper works great but, seems I have a problem scaling the bitmap to fit the height of the screen, so part of the ...
-1
votes
3answers
506 views
Setting drawable folder to use for different resolutions
I have 4 different sizes for each of the icons I need to use in my app. The problem is My Nexus 7 (1280 x 800) and galaxy s2 (800 x 480) seem to use the resources in drawable-hdpi. How do I force the ...
0
votes
2answers
140 views
App still rotates in landscape mode when device's Screen Orientation setting is off
I set my app to rotate 180 degrees by setting android:screenOrientation="sensorLandscape" on the activities in my manifest. But when the setting for screen orientation in device is turned off, the app ...
0
votes
2answers
109 views
Android screen not scaling correctly even though I used dp as units?
I have done a lot of reading on SO and googling all over the place but still cannot get my answer...I have this code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout ...
0
votes
5answers
183 views
Android : Restrict app not to run on Tablet
I developed an application. And now i want that my application should run only on mobiles not on tablets. I searched for that and tried as:
<supports-screens
android:smallScreens="true"
...
1
vote
2answers
331 views
Capture Screen Programmatically not working
I have following method to Capture Screen on Action Item Click. Its working on Android <2.3 but not on 4+. What is wrong with this way of screen capture.
private void captureScreen() {
View v ...
-1
votes
1answer
131 views
different android phone screen size issue [closed]
I'm working on an app and I'm little bit stuck there in layouts (android phones, not tablets). The problem is that I've set padding between radio buttons in single layout but with different ...