Emojis Test
This commit is contained in:
parent
d273dfbd44
commit
5103e988cf
@ -4,11 +4,7 @@
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<ImageButton
|
||||
android:id="@+id/imageButton"
|
||||
android:layout_width="145dp"
|
||||
android:layout_height="365dp"
|
||||
app:srcCompat="@drawable/red_button" />
|
||||
|
||||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
@ -19,6 +15,7 @@
|
||||
android:roundIcon="@mipmap/ic_launcher_round"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.PanicButton">
|
||||
|
||||
<activity
|
||||
android:name="com.example.panicbutton.MainActivity"
|
||||
android:exported="true"
|
||||
|
||||
@ -69,7 +69,7 @@ fun sendNotification(onResult: (String) -> Unit) {
|
||||
val request = Request.Builder()
|
||||
.url(url)
|
||||
.addHeader("Title", "Alert")
|
||||
.addHeader("Priority", "urgent")
|
||||
.addHeader("Priority", "radioactive")
|
||||
.addHeader("Tags", "alert warning,rotating_light")
|
||||
.post(requestBody)
|
||||
.build()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user