├── custom-tab-demo
├── app
│ ├── .gitignore
│ ├── src
│ │ └── main
│ │ │ ├── res
│ │ │ ├── values
│ │ │ │ ├── strings.xml
│ │ │ │ ├── colors.xml
│ │ │ │ ├── dimens.xml
│ │ │ │ └── styles.xml
│ │ │ ├── mipmap-hdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── values-w820dp
│ │ │ │ └── dimens.xml
│ │ │ └── layout
│ │ │ │ └── activity_main.xml
│ │ │ ├── AndroidManifest.xml
│ │ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── samsunginternet
│ │ │ └── customtabdemo
│ │ │ ├── MainActivity.java
│ │ │ └── customtab
│ │ │ ├── CustomTabHelper.java
│ │ │ └── CustomTabServiceController.java
│ ├── proguard-rules.pro
│ └── build.gradle
├── settings.gradle
├── docs
│ ├── screenshot.png
│ └── samsung-internet-custom-tab.gif
├── .gitignore
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── build.gradle
├── gradle.properties
├── README.md
├── gradlew.bat
└── gradlew
├── 360-video
├── poster.jpg
├── paris-by-diego.mp4
├── paris-by-diego.ogg
├── paris-by-diego.webm
├── README.md
└── index.html
├── socks-megastore
├── images
│ ├── socks-emoji.png
│ ├── socks-emoji-purple.png
│ ├── samsung-internet-socks-1.jpg
│ ├── samsung-internet-socks-2.jpg
│ ├── samsung-internet-socks-3.jpg
│ ├── samsung-internet-socks-4.jpg
│ └── samsung-internet-socks-5.jpg
├── README.md
├── index.html
├── after-simple
│ └── index.html
├── after-options
│ └── index.html
└── before
│ └── index.html
├── payment-request-demo-simple
├── images
│ ├── favicon.png
│ └── homescreen
│ │ ├── 144.png
│ │ ├── 168.png
│ │ ├── 192.png
│ │ ├── 48.png
│ │ ├── 72.png
│ │ └── 96.png
├── manifest.json
├── styles.css
├── README.md
├── index.html
└── index.js
├── payment-request-demo-options
├── images
│ ├── favicon.png
│ └── homescreen
│ │ ├── 144.png
│ │ ├── 168.png
│ │ ├── 192.png
│ │ ├── 48.png
│ │ ├── 72.png
│ │ └── 96.png
├── manifest.json
├── styles.css
├── README.md
├── index.html
└── index.js
├── card-layout
├── README.md
├── reset.css
├── styles.css
└── index.html
├── holy-grail-layout-grid
├── README.md
├── styles.css
├── index.html
└── reset.css
├── full-page-grid-layout
├── README.md
├── styles.css
└── index.html
├── simple-grid-layout
├── README.md
├── reset.css
├── styles.css
└── index.html
├── README.md
└── LICENSE
/custom-tab-demo/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/custom-tab-demo/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/360-video/poster.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/360-video/poster.jpg
--------------------------------------------------------------------------------
/360-video/paris-by-diego.mp4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/360-video/paris-by-diego.mp4
--------------------------------------------------------------------------------
/360-video/paris-by-diego.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/360-video/paris-by-diego.ogg
--------------------------------------------------------------------------------
/360-video/paris-by-diego.webm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/360-video/paris-by-diego.webm
--------------------------------------------------------------------------------
/custom-tab-demo/docs/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/custom-tab-demo/docs/screenshot.png
--------------------------------------------------------------------------------
/socks-megastore/images/socks-emoji.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/socks-megastore/images/socks-emoji.png
--------------------------------------------------------------------------------
/custom-tab-demo/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Custom Tab Demo
3 |
4 |
--------------------------------------------------------------------------------
/custom-tab-demo/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/*
5 | .DS_Store
6 | /build
7 | /captures
8 | .externalNativeBuild
9 |
--------------------------------------------------------------------------------
/payment-request-demo-simple/images/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/payment-request-demo-simple/images/favicon.png
--------------------------------------------------------------------------------
/socks-megastore/images/socks-emoji-purple.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/socks-megastore/images/socks-emoji-purple.png
--------------------------------------------------------------------------------
/custom-tab-demo/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/custom-tab-demo/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/payment-request-demo-options/images/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/payment-request-demo-options/images/favicon.png
--------------------------------------------------------------------------------
/socks-megastore/images/samsung-internet-socks-1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/socks-megastore/images/samsung-internet-socks-1.jpg
--------------------------------------------------------------------------------
/socks-megastore/images/samsung-internet-socks-2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/socks-megastore/images/samsung-internet-socks-2.jpg
--------------------------------------------------------------------------------
/socks-megastore/images/samsung-internet-socks-3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/socks-megastore/images/samsung-internet-socks-3.jpg
--------------------------------------------------------------------------------
/socks-megastore/images/samsung-internet-socks-4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/socks-megastore/images/samsung-internet-socks-4.jpg
--------------------------------------------------------------------------------
/socks-megastore/images/samsung-internet-socks-5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/socks-megastore/images/samsung-internet-socks-5.jpg
--------------------------------------------------------------------------------
/custom-tab-demo/docs/samsung-internet-custom-tab.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/custom-tab-demo/docs/samsung-internet-custom-tab.gif
--------------------------------------------------------------------------------
/payment-request-demo-options/images/homescreen/144.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/payment-request-demo-options/images/homescreen/144.png
--------------------------------------------------------------------------------
/payment-request-demo-options/images/homescreen/168.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/payment-request-demo-options/images/homescreen/168.png
--------------------------------------------------------------------------------
/payment-request-demo-options/images/homescreen/192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/payment-request-demo-options/images/homescreen/192.png
--------------------------------------------------------------------------------
/payment-request-demo-options/images/homescreen/48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/payment-request-demo-options/images/homescreen/48.png
--------------------------------------------------------------------------------
/payment-request-demo-options/images/homescreen/72.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/payment-request-demo-options/images/homescreen/72.png
--------------------------------------------------------------------------------
/payment-request-demo-options/images/homescreen/96.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/payment-request-demo-options/images/homescreen/96.png
--------------------------------------------------------------------------------
/payment-request-demo-simple/images/homescreen/144.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/payment-request-demo-simple/images/homescreen/144.png
--------------------------------------------------------------------------------
/payment-request-demo-simple/images/homescreen/168.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/payment-request-demo-simple/images/homescreen/168.png
--------------------------------------------------------------------------------
/payment-request-demo-simple/images/homescreen/192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/payment-request-demo-simple/images/homescreen/192.png
--------------------------------------------------------------------------------
/payment-request-demo-simple/images/homescreen/48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/payment-request-demo-simple/images/homescreen/48.png
--------------------------------------------------------------------------------
/payment-request-demo-simple/images/homescreen/72.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/payment-request-demo-simple/images/homescreen/72.png
--------------------------------------------------------------------------------
/payment-request-demo-simple/images/homescreen/96.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/payment-request-demo-simple/images/homescreen/96.png
--------------------------------------------------------------------------------
/custom-tab-demo/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/custom-tab-demo/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/custom-tab-demo/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/custom-tab-demo/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/custom-tab-demo/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/custom-tab-demo/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/custom-tab-demo/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/custom-tab-demo/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/custom-tab-demo/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SamsungInternet/examples/HEAD/custom-tab-demo/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/card-layout/README.md:
--------------------------------------------------------------------------------
1 | # Card Layout
2 |
3 | A card based web layout built using CSS columns (and cats)
4 |
5 | Licensed under the MIT License https://github.com/SamsungInternet/examples/blob/master/LICENSE
6 |
7 |
8 |
--------------------------------------------------------------------------------
/custom-tab-demo/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #987fff
4 | #FF4081
5 |
6 |
--------------------------------------------------------------------------------
/holy-grail-layout-grid/README.md:
--------------------------------------------------------------------------------
1 | # Holy Grail Layout
2 |
3 | A full page layout built with CSS Grid (but no cats :( )
4 |
5 | This code is licensed for reuse under the MIT license
6 | https://github.com/SamsungInternet/examples/blob/master/LICENSE
7 |
--------------------------------------------------------------------------------
/full-page-grid-layout/README.md:
--------------------------------------------------------------------------------
1 | # Full Page Gallery Layout
2 |
3 | A full page gallery layout built with CSS Grid (and cats!)
4 |
5 | This code is licensed for reuse under the MIT license
6 | https://github.com/SamsungInternet/examples/blob/master/LICENSE
7 |
--------------------------------------------------------------------------------
/simple-grid-layout/README.md:
--------------------------------------------------------------------------------
1 | # Large header followed by grid elements
2 |
3 | A common web layout built with CSS grid (and cats!)
4 |
5 | This code is licensed for reuse under the MIT license
6 | https://github.com/SamsungInternet/examples/blob/master/LICENSE
7 |
8 |
--------------------------------------------------------------------------------
/custom-tab-demo/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/custom-tab-demo/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Mon Dec 28 10:00:20 PST 2015
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
7 |
--------------------------------------------------------------------------------
/custom-tab-demo/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/custom-tab-demo/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/360-video/README.md:
--------------------------------------------------------------------------------
1 | # 360 degree video demo
2 |
3 | A simple example of Samsung Internet's 360 degree video playback, enabled by
4 | adding `dimension=360` to the `type` attribute of the `video` tag.
5 |
6 | ```
7 |
8 | ```
9 |
10 | In Samsung Internet v4.2+, press play and then the fullscreen icon, to play
11 | the video in 360 degree mode. Now you can rotate your phone around to change the view.
12 |
--------------------------------------------------------------------------------
/socks-megastore/README.md:
--------------------------------------------------------------------------------
1 | # Socks Megastore!
2 |
3 | For all your online sock needs!
4 |
5 | OK, it's not really real ;-) It's a set of examples demonstrating [Web Payments](https://medium.com/samsung-internet-dev/how-to-take-payments-on-the-web-with-the-payment-request-api-a523f6fc7c1f).
6 |
7 | * [before](before/): An example of a typical checkout process, before adopting the Payment Request API.
8 | * [after-simple](after-simple/): After adding the Payment Request API - a most basic example
9 | * [after-options](after-options/): An example that adds some more options for shipping, contact details etc.
10 |
11 |
--------------------------------------------------------------------------------
/custom-tab-demo/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.2.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
21 | task clean(type: Delete) {
22 | delete rootProject.buildDir
23 | }
24 |
--------------------------------------------------------------------------------
/custom-tab-demo/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /home/SERILOCAL/p.oshaughnes/Android/Sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/custom-tab-demo/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Examples
2 |
3 | This repository contains miscellaneous examples from the Samsung Internet team:
4 |
5 | * [360-video](360-video/) - Samsung Internet 360 degree video playback
6 | * [custom-tab-demo](custom-tab-demo/) - an Android Custom Tab example that works with Samsung Internet
7 | * [payment-request-demo-simple](payment-request-demo-simple/) - a simple Payment Request API demo for taking a (simulated) payment
8 | * [payment-request-demo-options](payment-request-demo-options/) - extended version of the Payment Request API demo with shipping address etc.
9 | * [socks-megastore](socks-megastore/) - a set of Web Payments examples
10 | * [card-layout](card-layout/) - card layout CSS columns example
11 | * [full-page-grid-layout](full-page-grid-layout/) - full page gallery example in CSS grid
12 | * [holy-grail-layout-grid](holy-grail-layout-grid/) - holy grail layout example in CSS grid
13 | * [simple-grid-layout](simple-grid-layout/) - simple layout example in grid CSS
14 |
--------------------------------------------------------------------------------
/custom-tab-demo/gradle.properties:
--------------------------------------------------------------------------------
1 | ## Project-wide Gradle settings.
2 | #
3 | # For more details on how to configure your build environment visit
4 | # http://www.gradle.org/docs/current/userguide/build_environment.html
5 | #
6 | # Specifies the JVM arguments used for the daemon process.
7 | # The setting is particularly useful for tweaking memory settings.
8 | # Default value: -Xmx1024m -XX:MaxPermSize=256m
9 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
10 | #
11 | # When configured, Gradle will run in incubating parallel mode.
12 | # This option should only be used with decoupled projects. More details, visit
13 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
14 | # org.gradle.parallel=true
15 | #Wed Oct 19 12:49:24 BST 2016
16 | systemProp.http.proxyHost=106.1.18.35
17 | org.gradle.jvmargs=-Xmx1536m
18 | systemProp.http.proxyPort=8080
19 | systemProp.https.proxyHost=106.1.18.35
20 | systemProp.https.proxyPort=8080
21 |
22 |
--------------------------------------------------------------------------------
/360-video/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 360 video demo
6 |
15 |
16 |
17 |
360 video demo
18 |
19 |
A simple example of Samsung Internet's 360 degree video playback, enabled by
20 | adding dimension=360 to the type attribute of the video tag.
21 |
22 |
23 |
24 |
Instructions: In Samsung Internet v4.2+, press play and then the fullscreen icon, to play
25 | the video in 360 degree mode. Now you can rotate your phone around to change the view.
26 |
27 |
28 |
--------------------------------------------------------------------------------
/holy-grail-layout-grid/styles.css:
--------------------------------------------------------------------------------
1 | body {
2 | font-family: arial;
3 | }
4 |
5 | .container {
6 | display: flex;
7 | flex-direction: column;
8 | min-height: 100vh;
9 | }
10 |
11 |
12 | @media (min-width: 768px) {
13 | .container {
14 | display: grid;
15 | grid-template-columns: 200px 1fr 200px;
16 | grid-template-rows: auto 1fr auto;
17 |
18 | }
19 | }
20 |
21 | header {
22 | grid-column: span 3;
23 | padding: 30px;
24 | text-align: center;
25 | font-size: 1.4em;
26 | background-color: #369;
27 | color: white;
28 | }
29 |
30 | main {
31 | flex: 1;
32 | padding: 20px;
33 | }
34 |
35 | nav {
36 | background-color: #f90;
37 | padding: 20px;
38 | }
39 |
40 | aside {
41 | padding: 20px;
42 | background-color: #936;
43 | }
44 |
45 | footer {
46 | grid-column: span 3;
47 | padding: 30px;
48 | text-align: center;
49 | font-size: 1.4em;
50 | background-color: #690;
51 | color: white;
52 | }
53 |
54 | h1 {
55 | margin-bottom: 1em;
56 | font-size: 1.3em;
57 | font-weight: bold;
58 | }
--------------------------------------------------------------------------------
/payment-request-demo-simple/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "PaymentDemo",
3 | "short_name": "PaymentDemo",
4 | "start_url": ".",
5 | "display": "standalone",
6 | "background_color": "#f4f2ff",
7 | "theme_color": "#f4f2ff",
8 | "description": "A simple Payment Request API demo.",
9 | "icons": [
10 | {
11 | "src": "images/homescreen/48.png",
12 | "sizes": "48x48",
13 | "type": "image/png"
14 | },
15 | {
16 | "src": "images/homescreen/72.png",
17 | "sizes": "72x72",
18 | "type": "image/png"
19 | },
20 | {
21 | "src": "images/homescreen/96.png",
22 | "sizes": "96x96",
23 | "type": "image/png"
24 | },
25 | {
26 | "src": "images/homescreen/144.png",
27 | "sizes": "144x144",
28 | "type": "image/png"
29 | },
30 | {
31 | "src": "images/homescreen/168.png",
32 | "sizes": "168x168",
33 | "type": "image/png"
34 | },
35 | {
36 | "src": "images/homescreen/192.png",
37 | "sizes": "192x192",
38 | "type": "image/png"
39 | }
40 | ]
41 | }
--------------------------------------------------------------------------------
/payment-request-demo-options/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "PaymentDemo",
3 | "short_name": "PaymentDemo",
4 | "start_url": ".",
5 | "display": "standalone",
6 | "background_color": "#f4f2ff",
7 | "theme_color": "#f4f2ff",
8 | "description": "A simple Payment Request API demo.",
9 | "icons": [
10 | {
11 | "src": "images/homescreen/48.png",
12 | "sizes": "48x48",
13 | "type": "image/png"
14 | },
15 | {
16 | "src": "images/homescreen/72.png",
17 | "sizes": "72x72",
18 | "type": "image/png"
19 | },
20 | {
21 | "src": "images/homescreen/96.png",
22 | "sizes": "96x96",
23 | "type": "image/png"
24 | },
25 | {
26 | "src": "images/homescreen/144.png",
27 | "sizes": "144x144",
28 | "type": "image/png"
29 | },
30 | {
31 | "src": "images/homescreen/168.png",
32 | "sizes": "168x168",
33 | "type": "image/png"
34 | },
35 | {
36 | "src": "images/homescreen/192.png",
37 | "sizes": "192x192",
38 | "type": "image/png"
39 | }
40 | ]
41 | }
--------------------------------------------------------------------------------
/custom-tab-demo/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 24
5 | buildToolsVersion "24.0.3"
6 | defaultConfig {
7 | applicationId "com.example.poshaughnes.myapplication"
8 | minSdkVersion 18
9 | targetSdkVersion 24
10 | versionCode 1
11 | versionName "1.0"
12 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
13 | }
14 | buildTypes {
15 | release {
16 | minifyEnabled false
17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18 | }
19 | }
20 | productFlavors {
21 | }
22 | }
23 |
24 | dependencies {
25 | compile fileTree(include: ['*.jar'], dir: 'libs')
26 | androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
27 | exclude group: 'com.android.support', module: 'support-annotations'
28 | })
29 | compile 'com.android.support:appcompat-v7:24.2.1'
30 | compile 'com.android.support:customtabs:24.0.0'
31 | testCompile 'junit:junit:4.12'
32 | }
33 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2017 Samsung Internet Dev Rel
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/holy-grail-layout-grid/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Hello!
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 | Header
13 |
14 |
15 |
Main
16 |
Vestibulum consectetur sit amet nisi ut consectetur. Praesent efficitur, nibh vitae fringilla scelerisque, est neque faucibus quam, in iaculis purus libero eget mauris. Curabitur et luctus sapien, ac gravida orci. Aliquam erat volutpat. In hac habitasse platea dictumst. Aenean commodo, arcu a commodo efficitur, libero dolor mollis turpis, non posuere orci leo eget enim. Curabitur sit amet elementum orci, pulvinar dignissim urna. Morbi id ex eu ex congue laoreet. Aenean tincidunt dolor justo, semper pretium libero luctus nec. Ut vulputate metus accumsan leo imperdiet tincidunt. Phasellus nec rutrum dolor. Cras imperdiet sollicitudin arcu, id interdum nibh fermentum in.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis vitae semper quam. Praesent lobortis tellus quis erat condimentum, a bibendum tortor volutpat.