Posts by C0rey • 116 points
6 posts
-
1
votes1
answer289
viewsA: How to open Searchview in Actionbar programmatically?
On your Onclicklistener, use: myMenu.expandActionView() // ou collapseActionView(); Don’t forget to add menu actions: MenuItem.SHOW_AS_ACTION_IF_ROOM | MenuItem.SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW…
-
0
votes0
answers77
viewsQ: Android - Windowmanager
See the layout above with a default home screen of a mobile phone. See that I highlighted the default screen of the phone with a text (Shadow Effect) and two notifications android (view1 and view2).…
-
3
votes1
answer140
viewsA: Which command to clear memory on Android
When you upload the images, use the code below: ((BitmapDrawable) yourImageView.getDrawable()).getBitmap().recycle();
-
1
votes2
answers1997
viewsA: Save user input in edittext
Android, in turn, provides various forms of data persistence. Among them are: Save data to the web; a private database; External rescue and Intern; Sharedpreferences. In your case, we can use the…
-
4
votes1
answer7881
viewsQ: Data saving on Android
I have a project based on the following 'folders' structure that will be saved some data in the external memory: /AppName Example1 [ Text files and etc. ] Example2 [ Text files and etc. ] Let’s say…
-
1
votes1
answer1604
viewsA: Webview on Android, modifying HTML
You can use the method loadData. To learn more about the method loadData and also about other methods that can be used in your case see the documentation. Example of use:…