-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSubmisisonButtons.java
More file actions
36 lines (32 loc) · 1.18 KB
/
Copy pathSubmisisonButtons.java
File metadata and controls
36 lines (32 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package edu.neu.madcourse.michellelee.numad18s_michellelee;
import android.app.Fragment;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.TextView;
import android.widget.Toast;
import java.util.Locale;
import java.util.concurrent.TimeUnit;
public class SubmisisonButtons extends Fragment {
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
View rootView = inflater.inflate(R.layout.submission_buttons, container, false);
Button B1 = (Button) rootView.findViewById(R.id.B1);
B1.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
String toSubmit = "";
// for (char c : GameFragment.tile1) {
// if (c != 0) {
// toSubmit += c;
// }
// }
// checkWord(toSubmit, TextView view);
}
});
return rootView;
}
}