Skip to content

Commit d63666b

Browse files
committed
Updated strings in PopupExamples and in strings.xml
1 parent 0c7012c commit d63666b

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

res/values/strings.xml

+4-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
<string name="title_activity_blank">BlankActivity</string>
1111
<string name="dialog_example_message">This is a Dialog!</string>
1212
<string name="dialog_example_title">Example Dialog</string>
13-
<string name="dialog_example_ok">Okie dokes</string>
14-
<string name="dialog_example_cancel">Cancel that shiz</string>
15-
<string name="notification_tickertext">You have a new notification!</string>
13+
<string name="dialog_example_ok">Okie dokes</string>
14+
<string name="dialog_example_cancel">Cancel that shiz</string>
15+
<string name="notification_tickertext">You have a new notification!</string>
16+
1617
</resources>

src/com/vedha/sampleapp/PopupExamplesActivity.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ public void onClick(View view) {
9696

9797
NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(
9898
c).setSmallIcon(R.drawable.present)
99-
.setContentTitle("Card Sent")
100-
.setContentText("Your holiday card has been sent!")
99+
.setContentTitle("Warm wishes")
100+
.setContentText("Happy holidays from Holiday Cards!")
101101
.setContentIntent(contentIntent).setAutoCancel(true);
102102

103103
// // The stack builder object will contain an artificial back stack
@@ -120,6 +120,9 @@ public void onClick(View view) {
120120

121121
}
122122

123+
/**
124+
* Lifecycle methods
125+
*/
123126
@Override
124127
public void onCreate(Bundle savedInstanceState) {
125128
// Always call the superclass

0 commit comments

Comments
 (0)