android-ui
Android - progress dialog does not close
I have a ListActivity class, and when any item on the list is clicked, a new activity is displayed. The new activity takes time to load, so i would like the users to know that there is something happe[详细]
2023-02-12 08:42 分类:问答How can I access an Activity from another class globally in an Android app?
I have an Android app with 2 activities defined below. In the MainMenu.oncreate(), I have an AlarmManager kicked off to periodically query a server for data and update the text of a button in the Play[详细]
2023-02-10 08:03 分类:问答How to add scroll bar to the Relative Layout?
I am new to the Android app development. Now I am designing an app, in that I have an Activity which is containing some content but these content is some what more so the content is out of the screen.[详细]
2023-02-07 10:53 分类:问答How can I dynamically add new icons to Android's main menu grid from Java?
I have an application that I\'d like to have multiple icons in the launcher\'s开发者_如何学JAVA main menu grid but only under certain conditions. For instance, I want to show icon A and icon B but onl[详细]
2023-02-07 07:31 分类:问答How to handle different android UI's
I recently ran into a problem with my app, On most android phones I have encountered, the UI seems to be mostly light colored.Now though, it seems phones are making a switch over to a darker UI(droid[详细]
2023-02-01 01:41 分类:问答Creating custom view
I want开发者_高级运维 to create a custom view TestView class for which I can create object via new TestView().[详细]
2023-01-30 16:25 分类:问答What is the use of 9patch PNG?
I read article (Android Developers) on 9patch PNG in Android. But I\'m开发者_运维知识库 not getting what is the real use of it ? If i use Gradient Image then it is going to behave same as 9Patch PNG.[详细]
2023-01-28 03:08 分类:问答Updates TextView in Android
view.setText(\"hello\"); wait(1000); view.setText(\"world\"); When I call the above function the view doesn\'t show \"hello\" at a开发者_如何转开发ll. The text only updates when the complete functio[详细]
2023-01-27 05:11 分类:问答Sizing an Android multi-line TextView
I have an Activity where I want to display a heading that takes up the top quarter of the app and displays a dynamic set of text. In some cases it\'ll all fit on one line and I\'d like the font size t[详细]
2023-01-22 03:27 分类:问答Android view doesn't accept clicks
I add a listview via Java into @+id/View01. For some reason the items in the listview don\'t accept clicks.[详细]
2023-01-19 07:59 分类:问答