I saw a lot of messages like How to change the icon and label of the application after installing it? , but any of these messages could give me the exact answer how to solve my problem.
I used this, but only changes the action bar icon:
Button appicon1; appicon1.setOnClickListener(new OnClickListener(){ @Override public void onClick(View v) { getActionBar().setIcon(R.drawable.ic_launcher); } });
Acceptance of any examples would be greatly appreciated.
Thanks in advance:)
source share