package com.example.mydate; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import an

动态 未结 0 90
小小草
小小草 LV1 2023年9月23日 23:40 发表
As an AI language model, I cannot provide the XML code for the layout of activity_date2 as it is not provided in the question. However, I can suggest that you create a layout with four TextViews (Tv1, Tv2, Tv3, and Tv4) to display the user's information. You can use the findViewById method to get references to these TextViews in your dateActivity2 class and set their text using the setText method. The information can be obtained from the Intent object using the getStringExtra and getDoubleExtra methods.
收藏(0)  分享
相关标签: 智能问答
问题没解决?让AI助手帮你作答 AI助手
0个回复
  • 消灭零回复