Tagged Questions
4
votes
2answers
3k views
Drawable folders for high resolution handhelds
I can't figure out how to produce drawables for the new "high-res" handhelds like the Galaxy Nexus, One X, Galaxy S3 etc that have a resolution of 1280x720 or higher.
I always try to make as few ...
4
votes
1answer
584 views
What are Android different screens dimensions in dp for different screens (e.g. xlarge = 960dp x 720dp)?
In Range of screens supported, the Android team mentioned that:
As you design your UI for different screen sizes, you'll discover that each design requires a minimum amount of space. So, each ...
2
votes
1answer
56 views
Moving to another screen not working
I am developing and using Android Studio. I have a screen that uses a calendar to get a date from users input. The trouble as soon as I added the code to this, my button to move to another screen has ...
2
votes
0answers
183 views
How to record screens navigation in android?
I am developing an application which captures screenshots and records the screens as video, without rooting the device.
I tried the ASL Demo which is given in the following link
...
2
votes
1answer
229 views
Android: Saving screen state (Beginner)
I have come across an issue with my application, I have an "option" class which has a ToggleButton in it which handles the playback of music (on or off) which I created in a Session. However, if I ...
2
votes
0answers
939 views
Draw on canvas on different screen resolutions and densities
I have the following situation:
I want to draw an rectangle on a canvas and inside the rectangle a text of a certain size.
How can I make the rectangle have 1/4 width of the screen on all screen ...
1
vote
3answers
493 views
Android Qualifiers Not Working for the Notion Ink Adam
I'm making an app and I'm nearing completion, now I'm trying to optimize it for different screen sizes and pixel densities. One of the devices (using an emulator) is really frustrating me. I can't ...
1
vote
4answers
47 views
Supporting multiple screens in android
I have developed a game in android,but i'm facing many problems with the screen sizes I heard that we should create separate folders like(layout-small,layout-normal,layout-large,layout-xlarge) in the ...
1
vote
2answers
1k views
How to implement multiple screens within an App
I am currently working on an Android App which has different service dimensions, such as " service order", "route planning", "photo gallery" and a central login.
so far i implemented each "screen" ...
1
vote
1answer
27 views
libgGdx: Elegant way to use back key for going to previous screen
I'm using libGdx with multiple screens. I want to use the back key on my android device to back to the previous screen similar to how android goes back to the prevvious activity by default.
My ...
1
vote
3answers
234 views
How to support all screens?
I made an application for Android and and I'm trying to make it work on every possible device.
For this, I created different layouts (small, normal, large, xlarge) with different densities (ldpi, ...
1
vote
2answers
108 views
How to detect round screen on Android Wear - onApplyWindowInsets not called on device
I have implemented the onApplyWindowInsets callback in an Android Wear project. In the method, it calls isRound() to determine if the code is running on a round or rectangular Wear smartwatch. This ...
1
vote
1answer
36 views
Android Text Sizes for different screens
Hey I know there's a lot of questions pertaining to this topic, I just need some clarification.
I'm trying to get my app to look as closely the same on all device sizes. I use 'sp' as the type of ...
1
vote
2answers
3k views
Android support-screens
How can I exclude the following "ldpi normal" screens from the Play Store?
WQVGA400 (240x400)
WQVGA432 (240x432)
My app requires a minimum width of 320. This is in my manifest:
...
1
vote
0answers
393 views
Layout looking the same across all devices using RelativeLayout
I'm using API 10.
I want to make my layout looking the same across all devices. I can achieve that by using LinearLayout with weights. It works perfectly. As seen on the image below, this is exactly ...
0
votes
2answers
4k views
how to Capture screen in android and covert it to image [duplicate]
Possible Duplicate:
Screenshot Android
Any one please Help me with this..
how to capture screen content in android programmatically/.//
Thanks in Advance..
0
votes
4answers
1k views
Android - Different apk for each resolution to reduce size of apk
Is it a good idea to use different APK for different resolutions? I want to reduce the apk file size.
0
votes
1answer
88 views
Definitive android screen sizes
I have looked at the pages here on stackoverflow regarding this issue and followed up by looking at the links provided as some of the answers provided but I am still very confused. I use Photoshop to ...
0
votes
1answer
33 views
android SDK, one time welcome layout
So in my app I have a welcome layout or a help layout that shows you how the app works and what it can do, I would like it to only be displayed once when the app is installed and then never show ...
0
votes
0answers
16 views
[solved]libgdx screen skips straight to game instead of waiting for input
Ok so input.isTouched() gets the input fast enough to carry over to the next screen and skips it completely.
Using input.JustTouched() solves the problem.
package com.TheGame.Pack;
import ...
0
votes
1answer
21 views
Android How to achieve two screens,two activities,and they are independent
I am a novice at Android, now, I need write a android app:two screens also shows two activities, boradcast advertising on the big screen, the small screen can be operated, and they are independent of ...
0
votes
0answers
32 views
Supporting Different Screen Sizes in Android
I have developed an android app and its working fine in my mobile of resolution 240*320.But if I install in another mobile some like 240*400,480*800, etc all the view components are changing according ...
0
votes
2answers
70 views
Libgdx Screen NullPointerException when referencing another class
I have clicked every Google result I could find that might help me with no success.
I have built a game that I would like to implement a full UI with. In my game I have separate classes for my ...
0
votes
0answers
49 views
resizing images for different screens on android
Im working on an android game based on images and need one image to be in a specific situation based on the background of the screen, concretely I need an imageView to be set into a portrait that is ...
0
votes
1answer
48 views
how to set UI on 5.4'',7'' and 10.1'' screens in android?
I am trying to set user interface in android on extra large screens that is 5.4'',7'' and 10.1''. I am unable to set the user interface on the following Screens. Because i am setting its interface in ...
0
votes
0answers
103 views
Making webview render in same density for multiple screens
Below is a snippet of the code. Obviously this is a very simple activity, so there isn't a lot here. The html file that webview is referring to is a large table containing multiple images, which ...
0
votes
1answer
238 views
Android screen in different resolutions
I want to develop an app witch will support different screen sizes.
I've read the official guide a lot of times but I cannot understand this. I created a brand new app with a main activity, then I ...
0
votes
1answer
294 views
margin of text doesn't display corectly on different screens
When I work on one android device and set the marginLeft of a text it looks good.
Then I connect another device and the margin is screwed up....
How can I make sure text (and also sizes of buttons) ...
0
votes
1answer
244 views
Android - one singleton common activity/screens in application
In Android application, I have one request that aims to use one common Activity/screen in many screens or in overall of the application.
For example:
Screen A contains screen common C (to get ...
0
votes
1answer
233 views
custom View Display problem on different android screens
i have extended View and override onDraw and onSizechanged so i can draw on the screen after i have the full height and width of the screen.But when i tried on my phone the imgs are slightly in ...
0
votes
1answer
115 views
display on multiple android screens
i have write a custom view and i used the onSizeChanged() to take the width and height of the phone.when everything seems right in the emulator i installed on the phone(htc desire) and i don't have ...
0
votes
1answer
601 views
Filling the entire screen in multiple screen resolutions, densities
I want to draw a rectangle that fills the entire screen on all Android phones, all resolution, all screen densities.Everything... :)
First from what I understand Canvas.drawRect use as dimensions ...
-1
votes
2answers
119 views
Develop app in android mobile or tablet [closed]
i start develop application in mobile,
my question is how i will manage to develop my app in all different width screens of different mobiles or tablets?
should i resize my app or it will ...
-1
votes
1answer
21 views
how to use buttons in tab layout in android and use this button to call different fragments and place the tab layout at the bottom of the screen
I want to place buttons in a tab layout and use these buttons to call different fragments in a tab layout. Moreover I want to place some image in each button .Can anyone please help ??