Skip to content

Commit

Permalink
added actionbar buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhbir-singh committed Feb 6, 2017
1 parent 5852384 commit 3d537a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public boolean onOptionsItemSelected(MenuItem item) {
if (id == R.id.contact) {
Intent intent = new Intent(Intent.ACTION_SENDTO);
String uriText = "mailto:" +
Uri.encode("[email protected],[email protected],[email protected],[email protected],")
Uri.encode("[email protected],[email protected],[email protected],[email protected]")
+"?subject=" + Uri.encode("Feedback / Reporting a Bug") + "&body=" +
Uri.encode("Hello developers, \nI want to report a bug/give feedback corresponding to this app. \n\n.....\n\n-Your name");

Expand All @@ -156,7 +156,7 @@ public boolean onOptionsItemSelected(MenuItem item) {
builder.setTitle(String.format("%1$s", getString(R.string.app_name)));
builder.setMessage(getResources().getText(R.string.aboutus));
builder.setPositiveButton("OK", null);
builder.setIcon(R.drawable.app_logo);
builder.setIcon(R.drawable.app_logo_opt);
AlertDialog welcomeAlert = builder.create();
welcomeAlert.show();

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3d537a9

Please sign in to comment.