Skip to content

Commit

Permalink
Merge pull request #803 from rhomobile/Notification_issue_Fix
Browse files Browse the repository at this point in the history
Update Notification.java
  • Loading branch information
Bhakta Ranjan Satapathy committed Dec 30, 2015
2 parents 3386102 + 479397e commit c5ff7f9
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,13 @@ else if (iconPath != null) {
float dp = 8f;
float fpixels = metrics.density * dp;
int pixels = (int) (fpixels + 0.5f);

button.setMaxLines(2);
button.setTextSize(pixels);
button.setText(btn.title);
if(actions.size() == 3){
button.setMaxLines(2);
button.setTextSize(12);
button.setText(btn.title);
}else{
button.setText(btn.title);
}
button.setTag(btn);
button.setOnClickListener(clickListener);
//Button text cutoff on Notification pop up
Expand Down

0 comments on commit c5ff7f9

Please sign in to comment.