[This is what it shows on the emulator](http://i.stack.imgur.com/k9iS9.png)

[This is how it is on the Layout](http://i.stack.imgur.com/T9Zgn.png)

When ever i start the emulator, the size and positioning of the buttons all change.. Does anyone know why this happens? I'm pretty new to this, so I'm pretty sure that I'm making some mistakes here. Would love some help, let me know 

This is my code:

```
public class MainActivity extends Activity {
    private static Button button_sbm;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        OnClickButtonListener();
    }

        public void OnClickButtonListener() {
            button_sbm = (Button)findViewById(R.id.button2);
            button_sbm.setOnClickListener(
                    new View.OnClickListener() {
                        @Override
                    public void onClick(View v) {
                        Uri uri = Uri.parse("http://google.com/");

                        Intent intent = new Intent(Intent.ACTION_VIEW, uri);
                        startActivity(intent);

```