Skip to content

Instantly share code, notes, and snippets.

Kenji Gonnokami AmatsukiKu

Block or report user

Report or block AmatsukiKu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ErrorResponse.kt
package com.example.gonnokami.errorfeedbacksample.presentation.common
import android.content.Context
import android.support.annotation.StringRes
import com.example.gonnokami.errorfeedbacksample.R
import com.example.gonnokami.errorfeedbacksample.data.api.FeedbackResponse
import com.google.gson.Gson
import com.google.gson.JsonSyntaxException
import retrofit2.HttpException
import java.net.ConnectException
@AmatsukiKu
AmatsukiKu / index.html
Created May 18, 2017
アートディレクションのサンプル
View index.html
<html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" />
<style>
body {
padding: 0;
margin: 0;
}
img {
float: left;
@AmatsukiKu
AmatsukiKu / index.html
Created May 18, 2017
srcsetにアスペクト比が異なる画像を入れてしまったサンプル
View index.html
<html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" />
<style>
body {
padding: 0;
margin: 0;
}
img {
float: left;
@AmatsukiKu
AmatsukiKu / index.html
Created May 18, 2017
srcsetのxデスクリプションを用いたサンプル
View index.html
<html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" />
<style>
body {
min-width: 0;
text-align: center;
padding: 0;
margin: 0;
}
@AmatsukiKu
AmatsukiKu / index.html
Created May 18, 2017
複数のサイズを指定したsrcsetのサンプル
View index.html
<html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" />
<style>
body {
margin: 0;
padding: 0;
}
img {
margin: 0;
@AmatsukiKu
AmatsukiKu / index.html
Last active May 18, 2017
sizesの指定が一つの場合のsrcsetのサンプル
View index.html
<html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" />
<style>
body {
min-width: 0;
text-align: center;
padding: 0;
margin: 0;
}
View zoom_sample.html
<html>
<head>
<style>
* {
margin: 0;
padding: 0;
border: 0;
}
body {
You can’t perform that action at this time.