Page 141 - MDP2022-2
P. 141

android:background="#c8c8c8"
                                            android:gravity="center"
                                            android:text="설정"
                                            android:textSize="35sp"  />


                                    <TextView
                                            android:id="@+id/informa"
                                            android:layout_width="144dp"
                                            android:layout_height="match_parent"
                                            android:layout_weight="1"
                                            android:background="@drawable/border"
                                            android:gravity="center"
                                            android:text="회원  정보"
                                            android:textSize="35sp"  />
                            </LinearLayout>
                    </FrameLayout>
            </LinearLayout>


            팝업  창(java)
            package  com.mdp.test0503;


            import  androidx.appcompat.app.AppCompatActivity;


            import  android.content.Intent;
            import  android.os.Bundle;
            import  android.view.View;
            import  android.view.Window;
            import  android.widget.Button;
            import  android.widget.TextView;


            public  class  popup  extends  AppCompatActivity  {
                    TextView  txtText;
                    Button  close;
                    @Override
                    protected  void  onCreate(Bundle  savedInstanceState)  {
                            super.onCreate(savedInstanceState);
                            requestWindowFeature(Window.FEATURE_NO_TITLE);
                            setContentView(R.layout.activity_popup);
                            txtText=(TextView)findViewById(R.id.txtText);
                            close  =  findViewById(R.id.close);
                            Intent  intent  =  getIntent();
                            String  data  =  intent.getStringExtra("data");
                            txtText.setText(data);


                            close.setOnClickListener(new  View.OnClickListener()  {
   136   137   138   139   140   141   142   143   144   145   146