diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:43 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:43 -0800 |
commit | f013e1afd1e68af5e3b868c26a653bbfb39538f8 (patch) | |
tree | 7ad6c8fd9c7b55f4b4017171dec1cb760bbd26bf /core/res/assets/webkit | |
parent | e70cfafe580c6f2994c4827cd8a534aabf3eb05c (diff) | |
download | frameworks_base-f013e1afd1e68af5e3b868c26a653bbfb39538f8.zip frameworks_base-f013e1afd1e68af5e3b868c26a653bbfb39538f8.tar.gz frameworks_base-f013e1afd1e68af5e3b868c26a653bbfb39538f8.tar.bz2 |
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'core/res/assets/webkit')
-rwxr-xr-x | core/res/assets/webkit/film.png | bin | 3499 -> 0 bytes | |||
-rw-r--r-- | core/res/assets/webkit/loaderror.html | 18 | ||||
-rw-r--r-- | core/res/assets/webkit/nodomain.html | 27 | ||||
-rw-r--r-- | core/res/assets/webkit/play.png | bin | 0 -> 64890 bytes | |||
-rw-r--r-- | core/res/assets/webkit/youtube.html | 65 |
5 files changed, 49 insertions, 61 deletions
diff --git a/core/res/assets/webkit/film.png b/core/res/assets/webkit/film.png Binary files differdeleted file mode 100755 index f457f23..0000000 --- a/core/res/assets/webkit/film.png +++ /dev/null diff --git a/core/res/assets/webkit/loaderror.html b/core/res/assets/webkit/loaderror.html deleted file mode 100644 index 359a1e7..0000000 --- a/core/res/assets/webkit/loaderror.html +++ /dev/null @@ -1,18 +0,0 @@ -<html> - <head> - <title>Web page not available</title> - <style type="text/css"> - body { margin-top: 0px; padding-top: 0px; } - h2 { margin-top: 5px; padding-top: 0px; } - </style> - - <body> - - <img src="file:///android_asset/webkit/android-weberror.png" align="top" /> - <h2>Web page not available</h2> - <p>The Web page at <a href="%s">%s</a> could not be loaded as:</p> - <!-- The %e is replaced by a localized error string --> - <p>%e</p> - </body> - </head> -</html> diff --git a/core/res/assets/webkit/nodomain.html b/core/res/assets/webkit/nodomain.html deleted file mode 100644 index 7a107fb..0000000 --- a/core/res/assets/webkit/nodomain.html +++ /dev/null @@ -1,27 +0,0 @@ -<html> - <head> - <title>Web page not available</title> - <style type="text/css"> - body { margin-top: 0px; padding-top: 0px; } - h2 { margin-top: 5px; padding-top: 0px; } - </style> - - <body> - - <img src="file:///android_asset/webkit/android-weberror.png" align="top" /> - <h2>Web page not available</h2> - <p>The Web page at <a href="%s">%s</a> might be - temporarily down or it may have moved permanently to a new web - address.</p> - - <p><b>Here are some suggestions:</b></p> - <ul> - <li>Check to make sure your device has a signal and data - connection</li> - <li>Reload this web page later.</li> - <li>View a cached copy of the web page from Google</li> - - </ul> - </body> - </head> -</html> diff --git a/core/res/assets/webkit/play.png b/core/res/assets/webkit/play.png Binary files differnew file mode 100644 index 0000000..26fe286 --- /dev/null +++ b/core/res/assets/webkit/play.png diff --git a/core/res/assets/webkit/youtube.html b/core/res/assets/webkit/youtube.html index 86e492a..5a40c1e 100644 --- a/core/res/assets/webkit/youtube.html +++ b/core/res/assets/webkit/youtube.html @@ -3,24 +3,57 @@ <style type="text/css"> body { background-color: black; } a:hover { text-decoration: none; } - a:link { color: white; } - a:visited { color: white; } + a:link { color: black; } + a:visited { color: black; } + #bg { + position: fixed; + margin: 0px; + border: 0px; + padding: 0px; + left: 0px; + top: 0px; + width: 100%; + height: 100%; + overflow: hidden; + z-index: 0; + } + #main { + position: absolute; + left: 0%; + top: 0%; + width: 100%; + height: 100%; + padding: 0%; + z-index: 10; + } </style> </head> <body> - <table height="100%" width="100%"> - <tr> - <td align="center" valign="middle" height="100%"> - <img src="film.png"/> - <br/> - <a id="url" href="" onClick="javascript:window.top.document.location='http://youtube.com/watch' + - document.location.search; return false" target="_top">Open YouTube player</a> - </td> - </tr> - <tr><td valign="bottom" align="right"> - <img src="youtube.png" style="opacity:.7"/> - </td> - </tr> - </table> + <div id="bg"> + <table height="100%" width="100%" border="0" cellpadding="0" + cellspacing="0"> + <tr> + <td valign="middle"> + <img src="http://img.youtube.com/vi/VIDEO_ID/0.jpg" width="100%"/> + </td> + </tr> + </table> + </div> + <div id="main"> + <table height="100%" width="100%"> + <tr> + <td align="center" valign="middle" height="100%"> + <a id="url" href="youtube:VIDEO_ID" target="_top"> + <img src="play.png" style="border:0px"/> + </a> + </td> + </tr> + <tr> + <td valign="bottom" align="right"> + <img src="youtube.png" style="opacity:.7"/> + </td> + </tr> + </table> + </div> </body> </html> |