Questions tagged as 'android-activity'

1
answer

How to remove automatic items from an activity

In Android Studio, at the time of creating an activity, the IDE already places some items inside it, like that circle with an envelope inside (image). How do I pull this off after creating the activity?     
asked by 28.03.2016 / 17:34
2
answers

Error fetching another screen

I'm trying to call a second screen in Android Studio, but it's giving an error. This is the Main Class: package br.com.olamundo.parametros; import android.content.Intent; import android.os.Bundle; import android.support.design.widget.Float...
asked by 13.03.2016 / 18:05
0
answers

Call error

I'm using Fragment and making adaptations, as in getIntent() ... Inserting it getActivity() as it was explained by a user, other times it was informed was useful and worked, but this time a error just in the line where I try...
asked by 19.01.2016 / 22:21
0
answers

Load an activity inside a fragment with tabHost

I'm starting with android studio reading some things and watching some videos on youtube, basically what I want to do is a calculation program to make my life easier on my service, some simple accounts I've already been able to do (I only...
asked by 18.07.2015 / 03:10
0
answers

Set position of RelativeLayout in Activity

Good afternoon. I want to set the position of two RelativeLayout on the screen, but when the user changes the text of TextSwitcher and RelativeLayout to which it belongs increases in size, so the Jump button is moving up...
asked by 15.08.2015 / 19:59
1
answer

How to pass data to the Activity itself after the camera is called?

I have Activity with EditText and Button . When the button is clicked, typed text is saved to an attribute of Activity and the camera is opened with the startActivityForResult() method. When the user takes th...
asked by 06.08.2015 / 19:24
1
answer

Error when trying to open a new activity

This is MainActivity: public class MainActivity extends ActionBarActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.ac...
asked by 26.04.2015 / 06:25
0
answers

Activity with bug that is breaking the layout

There is an Activity that gives a bug from time to time, it looks like the image I posted, then when I click on it, it returns to normal, but this is random, there is no time. Followthecode:<?xmlversion="1.0" encoding="utf-8"?> <Line...
asked by 19.03.2015 / 01:27
2
answers

Error opening Activity: Application stopped

I have a VigasFragment.java file with a button that when touched should open Activity VigMetBiapsb.java , however some error occurs, closing the application. VigasFragment.java: public class VigasFragment extends Fragment {...
asked by 23.11.2014 / 19:55
0
answers

Activity movements on Android

I developed an application similar to 2048 and it is working seemingly well. But there's one detail that's bothering me. 1 - I have a screen (Activity) on the screen I have several buttons These buttons represent those pictures where the numb...
asked by 05.11.2014 / 11:33