Question: Please make the xml files, that file must contain all the recycler view, card view all these thing And send the screenshot of XML files,

Please make the xml files, that file must contain all the recycler view, card view all these thing
And send the screenshot of XML files, if You dont know skip it..
this is my last question for posting.
Java file :
public class FamerQuery extends AppCompatActivity {
private Toolbar fQToolbar;
EditText et_phn,et_query;
MaterialButton btn_sub;
String f_url;
AppCompatImageView imageView1,imageView2;
static final int PICK_IMAGE_REQUEST_ONE =1;
static final int PICK_IMAGE_REQUEST_TWO =2;
//String filePath1,filePath2;
private Bitmap bitmap1,bitmap2;
String uname,token,email,personId;
String ph,query;
public static final int REQUEST_IMAGE =2;
static int PReqCode =2;
private ProgressDialog progressDialog;
UserSession userSession;
TextView tv_emn,tv_query,tv_image1,tv_image2;
@Override
protected void onCreate(Bundle savedInstanceState){
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_famer_query);
et_phn = findViewById(R.id.et_phn);
et_query = findViewById(R.id.et_query);
btn_sub=findViewById(R.id.btn_sub);
imageView1= findViewById(R.id.FQimageView1);
imageView2= findViewById(R.id.FQimageView2);
userSession = new UserSession(FamerQuery.this);
tv_emn = findViewById(R.id.tv_emn);
tv_query = findViewById(R.id.tv_query);
tv_image1= findViewById(R.id.tv_image1);
tv_image2= findViewById(R.id.tv_image2);
f_url = userSession.surl+"upload.php";
if (userSession.getuName()==""){
Intent intentW = new Intent(FamerQuery.this, SignIn.class);
startActivity(intentW);
}
FirebaseMessaging.getInstance().getToken()
.addOnCompleteListener(new OnCompleteListener(){
@Override
public void onComplete(@NonNull Task task){
if (!task.isSuccessful()){
Log.w("Waring", "Fetching FCM registration token failed", task.getException());
return;
}
// Get new FCM registration token
token = task.getResult();
Log.i("token",""+ token);
// Log and toast
}
});
//Generating Token
/*FirebaseInstanceId.getInstance().getInstanceId()
.addOnCompleteListener(new OnCompleteListener(){
@Override
public void onComplete(@NonNull Task task){
if (task.isSuccessful()){
token = task.getResult().getToken();
Log.i("token",""+ token);
} else {
Toast.makeText(FamerQuery.this, task.getException().toString(), Toast.LENGTH_SHORT).show();
}
}
}); */
if (userSession.getLang().equals("eng")){
fQToolbar = findViewById(R.id.fq_toolbar);
fQToolbar.setTitle("Post Query");
setSupportActionBar(fQToolbar);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
getSupportActionBar().setDisplayShowHomeEnabled(true);
tv_emn.setText("Enter Mobile No.");
tv_query.setText("Query");
tv_image1.setText("Image 1");
tv_image2.setText("Image 2");
btn_sub.setText("Submit Query");
final UserSession userSession = new UserSession(FamerQuery.this);
fQToolbar.setNavigationOnClickListener(new View.OnClickListener(){
@Override
public void onClick(View view){
finish();
}
});
progressDialog = new ProgressDialog(this, android.R.style.Theme_Material_Light_Dialog_Alert);
progressDialog.setCancelable(false);
progressDialog.setTitle(getString(R.string.please));
progressDialog.setMessage(getString(R.string.please_msg));
//btn_sub.setEnabled(true);
btn_sub.setOnClickListener(new View.OnClickListener(){
@Override
public void onClick(View view){
ph = et_phn.getText().toString();
query = et_query.getText().toString();
uname = userSession.getuName();
email = userSession.getUemail();
personId = userSession.getPersonId();
if (TextUtils.isEmpty(et_phn.getText().toString())){
Toast.makeText(FamerQuery.this, "Ente

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!