File tree 2 files changed +9
-5
lines changed
2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 10
10
<string name =" title_activity_blank" >BlankActivity</string >
11
11
<string name =" dialog_example_message" >This is a Dialog!</string >
12
12
<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
+
16
17
</resources >
Original file line number Diff line number Diff line change @@ -96,8 +96,8 @@ public void onClick(View view) {
96
96
97
97
NotificationCompat .Builder mBuilder = new NotificationCompat .Builder (
98
98
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 !" )
101
101
.setContentIntent (contentIntent ).setAutoCancel (true );
102
102
103
103
// // The stack builder object will contain an artificial back stack
@@ -120,6 +120,9 @@ public void onClick(View view) {
120
120
121
121
}
122
122
123
+ /**
124
+ * Lifecycle methods
125
+ */
123
126
@ Override
124
127
public void onCreate (Bundle savedInstanceState ) {
125
128
// Always call the superclass
You can’t perform that action at this time.
0 commit comments