Posts by Douglas Fornaro • 181 points
4 posts
-
1
votes1
answer42
viewsA: Parameter crossing error from an Activity to a Pageadpter
Try to use this onCreate: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.swipe_activity); StrictMode.ThreadPolicy policy =…
androidanswered Douglas Fornaro 181 -
0
votes2
answers318
viewsA: How to remove a View from an xml layout?
You can set the view visibility to GONE, this 'remove' parameter on the screen view.setVisibility(View.GONE);
-
2
votes1
answer359
viewsA: Put invisible item and other get in place
Place this button with the following property in xml: android:visibility="gone" When this button has to be displayed, you must do it via code: botao.setVisibility(Button.VSIBLE);…
androidanswered Douglas Fornaro 181 -
1
votes1
answer176
viewsQ: Android - Animation, hiding and displaying a menu
I’m having a problem creating an animation. I have a button in the action bar that when clicking on it, either displays or hides a menu bar. So far it is displaying or hiding using GONE and VISIBLE.…