Created
September 15, 2017 17:49
-
-
Save codersaiful/f1f25dafa4abf7d6780042fdf6bab120 to your computer and use it in GitHub Desktop.
Creating Main Activity.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.code.practice; | |
import android.support.annotation.IdRes; | |
import android.support.v7.app.AppCompatActivity; | |
import android.os.Bundle; | |
import android.view.View; | |
import android.widget.Button; | |
public class MainActivity extends AppCompatActivity { | |
Button go_to_class; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_main); | |
} | |
public go_to_class = (Button) findViewById(R.id.); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment