목록프로그래밍 (96)
ITGenerations
package com.example.ryan.myapplication; import android.app.AlertDialog; import android.app.Dialog; import android.content.DialogInterface; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.Toast; public class MainActivity extends AppCompatActivity { private static final int DIALOG_YES_NO_MESSAG..
Javapackage com.example.ryan.myapplication; import android.app.AlertDialog; import android.app.Dialog; import android.content.DialogInterface; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; public class MainActivity extends AppCompatActivity { private static final int DIALOG_YES_NO_MESSAGE=1; Button button; @Over..
//java package com.example.ryan.myapplication_calculator; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.TextView; import android.widget.Toast; public class MainActivity extends AppCompatActivity { TextView textView1; TextView textView2; TextView textView_result; String num1, num2; int reNum..
package com.example.ryan.myapplication; import android.os.Bundle;import android.support.v7.app.AppCompatActivity;import android.view.View;import android.widget.ImageView;import android.widget.RadioGroup; public class MainActivity extends AppCompatActivity { ImageView image; RadioGroup group; // @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceStat..
package com.example.ryan.myapplication; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Toast; import android.widget.ToggleButton; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main);..