Skip to content

Commit

Permalink
people search warning
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorEdwards committed Jan 21, 2016
1 parent 793abf2 commit ae941aa
Showing 1 changed file with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
package is.genki.bigredapp.android;


import android.content.DialogInterface;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.app.AlertDialog;
import android.support.v7.widget.CardView;
import android.text.Spannable;
import android.text.SpannableString;
Expand Down Expand Up @@ -53,10 +55,16 @@ public static PeopleSearchFragment newInstance(String param1, String param2) {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// if (getArguments() != null) {
// mParam1 = getArguments().getString(ARG_PARAM1);
// mParam2 = getArguments().getString(ARG_PARAM2);
// }

new AlertDialog.Builder(getContext())
.setTitle("Notice")
.setMessage("This feature is new and still experimental. Any feedback is appreciated (see the about tab). Information here is queried from Cornell's public people search feature.")
.setNeutralButton(android.R.string.ok, new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int which) {
}
})
.setIcon(android.R.drawable.ic_dialog_alert)
.show();
}

@Override
Expand Down

0 comments on commit ae941aa

Please sign in to comment.