Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
It's been a while since I worked with javascript, but since that's an attribute of the tag, you should be able to change it.
Yeah - after writing that, I just tested something and it works.
First, give the tag one more attribute: "id", then you can use the following:
HTML:myScript = document.getElementById('myScriptId'); myScript.setAttribute('theme', 'github-dark');
By the way, I do miss the LED notifications a lot. Due to nature of my work my phone is ALWAYS on mute mode, and the light was great indicator I had something going on. Now I have to manually pick up it and check at random.
Pity they couldn't stick the LED in the speaker or something.
Have you considered using Edge lighting for notifications. It works great and is definitely more visible than a LED, even when the phone is facedown.
your phone has screws in it? like in the back?
No, it didn'tdoesn't google already do something like this?
when (e.action) {
MotionEvent.ACTION_DOWN -> run {
if (mOpenedItems.size == 0) return@run
// Disallow our parent Views to intercept the touch events so long as there is
// at least one item view in the open or being closed state.
requestParentDisallowInterceptTouchEvent()
if (mFullyOpenedItem != null) {
mHasItemFullyOpenOnActionDown = true
if (mActiveItem === mFullyOpenedItem) {
resolveActiveItemMenuBounds()
// If the user's finger downs on the completely opened itemView's menu area,
// do not intercept the subsequent touch events (ACTION_MOVE, ACTION_UP, etc.)
// as we receive the ACTION_DOWN event.
// If the user's finger downs on the fully opened itemView but not on
// its menu, then we need to intercept them.
if (mActiveItemMenuBounds.contains(mDownX, mDownY)) {
return@run
} else if (mActiveItemBounds.contains(mDownX, mDownY)) {
return true
}
}
Font-wise it resembles the S that Samsung use in many of their app names, but as I don't use any Samsung apps even on my Samsung device I can't be sure what notifications they produce.
Yes. That was my intention and I think I did it so thank you for your help!