/>
<corners
- android:bottomLeftRadius="8dp"
- android:bottomRightRadius="8dp" />
+ android:radius="0px"
+ android:bottomLeftRadius="8px"
+ android:bottomRightRadius="8px" />
</shape>
</item>
<item>
/>
<corners
- android:bottomLeftRadius="8dp"
- android:bottomRightRadius="8dp" />
+ android:radius="0px"
+ android:bottomLeftRadius="8px"
+ android:bottomRightRadius="8px" />
</shape>
</item>
int which) {
progressDialog = ProgressDialog.show(context,
- "Please wait", "Deleting Bookbag");
+ getResources().getText(R.string.dialog_please_wait),
+ "Deleting Bookbag");
deleteBookbag.start();
}
});
Thread getBookBags = new Thread(getBookBagsItemsRunnable);
- progressDialog = ProgressDialog.show(context, "Please wait",
+ progressDialog = ProgressDialog.show(context,
+ getResources().getText(R.string.dialog_please_wait),
"Retrieving bookbag data");
getBookBags.start();
runOnUiThread(new Runnable() {
@Override
public void run() {
- progressDialog = ProgressDialog.show(
- context, "Please wait",
+ progressDialog = ProgressDialog.show(context,
+ getResources().getText(R.string.dialog_please_wait),
"Removing item");
}
});
setResult(RESULT_CODE_UPDATE);
bookBag.items.remove(record);
- progressDialog = ProgressDialog.show(
- context, "Please wait",
+ progressDialog = ProgressDialog.show(context,
+ getResources().getText(R.string.dialog_please_wait),
"Retrieving bookbag data");
getBookBags.start();
if (name.length() > 1) {
progressDialog = ProgressDialog.show(context,
- "Please wait", "Creating Bookbag");
+ getResources().getText(R.string.dialog_please_wait),
+ "Creating Bookbag");
createBookbag.start();
} else
Toast.makeText(context,
@Override
public void run() {
progressDialog = ProgressDialog.show(context,
- "Please wait", "Retrieving Bookbag data");
+ getResources().getText(R.string.dialog_please_wait),
+ "Retrieving Bookbag data");
}
});
R.layout.fines_list_item, finesRecords);
lv.setAdapter(listAdapter);
- progressDialog = ProgressDialog.show(this, null, "Retrieving fines");
+ progressDialog = ProgressDialog.show(this,
+ getResources().getText(R.string.dialog_please_wait),
+ "Retrieving fines");
getFinesInfo = new Runnable() {
@Override
+ record.ahr.getInt("id"));
progressDialog = ProgressDialog.show(context,
- "Please wait", "Canceling hold");
+ getResources().getText(R.string.dialog_please_wait),
+ "Canceling hold");
Thread cancelHoldThread = new Thread(
new Runnable() {
updateHold.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
- progressDialog = ProgressDialog.show(context, "Please wait",
+ progressDialog = ProgressDialog.show(context,
+ getResources().getText(R.string.dialog_please_wait),
"Updating hold");
Thread updateHoldThread = new Thread(updateHoldRunnable);
updateHoldThread.start();
@Override
public void run() {
progressDialog = ProgressDialog.show(context,
- "Please wait", "Placing hold");
+ getResources().getText(R.string.dialog_please_wait),
+ "Placing hold");
}
});
// TODO verify hold possible
@Override
public void run() {
- progressDialog = ProgressDialog.show(context,null ,getResources().getText(R.string.dialog_load_more_message));
+ progressDialog = ProgressDialog.show(context, null,getResources().getText(R.string.dialog_load_more_message));
}
});
progressDialog = ProgressDialog.show(
context,
- getResources().getText(
- R.string.dialog_please_wait),
+ getResources().getText(R.string.dialog_please_wait),
getResources().getText(
R.string.dialog_fetching_data_message));
}
}
});
progressDialog = ProgressDialog.show(context,
- "Please wait", "Adding to bookbag");
+ getResources().getText(R.string.dialog_please_wait),
+ "Adding to bookbag");
addtoBookbag.start();
}
}
});
progressDialog = ProgressDialog.show(getActivity(),
- "Please wait", "Adding to bookbag");
+ getResources().getText(R.string.dialog_please_wait),
+ "Adding to bookbag");
addtoBookbag.start();
}