android-screen-support

Get text content of the android screen

若如初见. 提交于 2020-05-25 12:03:52
问题 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 (starting from the "Larry Page" till the end "Fred Smith" and also the position of all the words on the screen) that is in the image and its respective position on the screen. 回答1: This can be achieved using the Accessibility feature of Android (as the Universal copy app does). What you need to do is

Can't support multiple screen sizes Android

泪湿孤枕 提交于 2020-01-23 21:04:00
问题 I need some help with design for multiple screen sizes in Android. I created layout, layout-sw600dp, values, and values-sw600dp with dimens.xml file with dimension for layout-sw600dp. But when I run application in emulator with 7" tablet, the design is not set up properly. How I can fix this? 回答1: The fundamental size of a screen, as indicated by the shortest dimension of the available screen area. Specifically, the device's smallestWidth is the shortest of the screen's available height and

Can't support multiple screen sizes Android

穿精又带淫゛_ 提交于 2020-01-23 21:02:54
问题 I need some help with design for multiple screen sizes in Android. I created layout, layout-sw600dp, values, and values-sw600dp with dimens.xml file with dimension for layout-sw600dp. But when I run application in emulator with 7" tablet, the design is not set up properly. How I can fix this? 回答1: The fundamental size of a screen, as indicated by the shortest dimension of the available screen area. Specifically, the device's smallestWidth is the shortest of the screen's available height and

Android Layout design principles [closed]

给你一囗甜甜゛ 提交于 2020-01-12 05:45:48
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . I have been doing a lot of research on the best ways to design layouts for different screen sizes, screen density and orientations and I am getting increasingly confused. 1. Design Density vs Screen Size I have read this link Now when designing for gingerbread what should be

Best way to support multiple screens? - Android

纵饮孤独 提交于 2020-01-04 13:36:53
问题 I have been working on my app for several months now, and it is about ready to be released. I have one more thing to do, which is to make it support multiple screens. I have read the the android developer documentation many times, but I am still confused as to what the best way to implement this might be. Should I create multiple layout files for each screen type & resolution I want to support? If I did that, then I would have to render multiple pictures for each resolution and that would be

Manifest limits to only tablets but app is still available to Samsung Galaxy S2

霸气de小男生 提交于 2020-01-03 15:36:55
问题 I want to run my app only in tablets. So I have declared below code in manifest file: <supports-screens android:smallScreens="false" android:normalScreens="false" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="false" android:requiresSmallestWidthDp="600"/> But when I connect my Samsung Galaxy S2 phone ( hdpi 480x800 ), it still displays in Eclipse's Android device chooser. I only want to support for 7" and 10" tablets. How can I do that? 回答1: You might want to

Supporting multiple screen size - Android

大憨熊 提交于 2019-12-27 12:09:14
问题 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 change the layout design for tablet as it has huge area to use. We have to stretch all the images to match phones. We can use nine patch. But I am little bit confused of using images in multiple drawables. As per my analysis (may be wrong.. : ) ) the screens are divided into density and sizes. We can

Supporting multiple screen size - Android

好久不见. 提交于 2019-12-27 12:06:02
问题 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 change the layout design for tablet as it has huge area to use. We have to stretch all the images to match phones. We can use nine patch. But I am little bit confused of using images in multiple drawables. As per my analysis (may be wrong.. : ) ) the screens are divided into density and sizes. We can

getFragmentManager( ) and support package

我只是一个虾纸丫 提交于 2019-12-25 04:56:21
问题 I'm learning to use fragments for build a dynamic application, but I've a problem with the Fragment Manager. When I pass it by the method getFragmentManager( ) is shown a warning because it returns the Fragment Manager of android.app, not from the support library. Do you know how to fix it? 回答1: You should use getSupportFragmentManager() instead of getFragmentManager() Also, make sure you are extending FragmentActivity and not just Activity . 来源: https://stackoverflow.com/questions/15460028

Supporting Different Screens

人盡茶涼 提交于 2019-12-24 12:36:16
问题 im working on Supporting different Screen for android i created different drawable folders and pasted pics according to their requirments like as bellow drawable-ldpi = 240*320 px (dimension) drawable-mdpi = 320*480px drawable-hdpi = 480 * 800px drawable-xhdpi=720*1280px and then i copy paste layouts in coresponding layout folders like layout-small layout-normal layout -land layout-land-small etc etc now when i open the activity_main(layout) of each folder,it has to select the background