ペプシ を飲んで Google Play 100円分 を手に入れて喜ぶなど

先日アナウンスのあったキャンペーン.

Google_Play_キャンペーン

Google Play キャンペーン

Google Play 内キャンペーンページはこれ.

Google_Play_100_円キャンペーン_-_Google_Play_の_Android_アプリ

Google Play 100 円キャンペーン - Google Play の Android アプリ

「プロモーションコード」の入力をやってみたかったので購入しました.

100円

キャンペーン

ペプシ

めくります.

キャンペーンコード

Google Play を開いて入力します.

Screenshot_2014-07-09-22-29-22

入金完了.

Screenshot_2014-07-09-22-29-36

Google Play ホームから キャンページページを開くことができます.

Screenshot_2014-07-09-22-30-15

Google Wallet アプリで残高を再度確認してみようとしたら, アプリインストールできない.

Google_Wallet_-_Google_Play_の_Android_アプリ

Google Wallet - Google Play の Android アプリ

ので, WEBページから確認すると, 支払い方法に追加されています.

Screenshot_2014-07-09-22-35-01

以下, スマホからのアクセス用にリンクを貼っておこ.

A smart, virtual wallet for in-store and online shopping – Google Wallet

Google Play 100 円キャンペーン - Google Play の Android アプリ

コードを入力するだけなのですが, なんとなくわかりづらいような...

いやそうでもないか...


「Android-L」を実装するために見ておくページs

とりあえず一般リリースまで集めていく.

Material_Design___Android_Developers

Material Designは静止画で見るとフラットデザインっぽいですが、思想や使い心地は異なったものです

ウェブやiOSにもサービスを提供している場合は、どのようにMaterial Designを取り入れるのがユーザにとって一番良いのか考える必要があります

Android L Developer Previewは、まだプレビュー感が強いのでただちに移行するということはないが、ウォッチはしていた方が良いです

Material Designの目指すところとAndroid側の変更点 - クックパッド開発者ブログ

<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item
        android:state_enabled="true"
        android:state_pressed="true">
        <objectAnimator
            android:duration="@android:integer/config_shortAnimTime"
            android:propertyName="translationZ"
            android:valueFrom="@dimen/button_elevation"
            android:valueTo="@dimen/button_press_elevation"
            android:valueType="floatType" />
    </item>
    <item>
        <objectAnimator
            android:duration="@android:integer/config_shortAnimTime"
            android:propertyName="translationZ"
            android:valueFrom="@dimen/button_press_elevation"
            android:valueTo="@dimen/button_elevation"
            android:valueType="floatType" />
    </item>
</selector>

Floating Action Button (requires Android-L preview)

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    android:paddingBottom="@dimen/activity_vertical_margin"
    tools:context=".MainActivity">
 
    <android.support.v7.widget.RecyclerView
        android:id="@+id/recycler_view"
        android:scrollbars="vertical"
        android:layout_width="match_parent"
        android:layout_height="match_parent"/>
 
</RelativeLayout>

RecyclerView example | Code Random

Palette palette = Palette.generate(photo); // photo は Bitmap

// get○○○Color()で任意のパレット色が取得できる

// VibrantColor
palette.getLightVibrantColor().getRgb();    // 明るい
palette.getVibrantColor().getRgb();
palette.getDarkVibrantColor().getRgb();     // 暗い

// MutedColor
palette.getLightMutedColor().getRgb();      // 明るい
palette.getMutedColor().getRgb();
palette.getDarkMutedColor().getRgb();       // 暗い

[Android] android.support.v7.graphics.Palette がいい感じかも - adakoda

1.material design specification.をみる
2.マテリアルテーマをアプリに適用する
3.マテリアルテーマをカスタマイズするためにスタイルの定義を加える
4.マテリアルデザインガイドラインに従ってレイアウトを作る
5.影を適用するために、viewにelevationを指定する
6.リストやカードなどのcomplex viewに新しいWidgetを作る
7.新しいAPIを使ってアニメーションをカスタマイズする

L Developer Preview マテリアルデザインを始める - Firespeed

compile 'com.android.support:cardview-v7:+'
compile 'com.android.support:recyclerview-v7:+'
compile 'com.android.support:palette-v7:+'

For Android Material support libraries, where can I find CardView and RecyclerView? - Stack Overflow

RecyclerView を使用すると、アイテムのサイズが固定長の場合に、従来よりも良いパフォーマンスが得られる(※2)ほか、
アイテムの追加、削除時などのアニメーション(※3)についても、デフォルトで利用することができます。

[Android] RecyclerView を使ってみました - adakoda
とりあえず, やみくもに集める.
ある程度たまったらまとめよう.

(随時更新中...)


Material Design なボタンなどに使える 円形波紋な エフェクト WEB向け

いつのまにか CSSも アニメ的なエフェクトも簡単記述で可能になっておりました.

↓ 下のボタンを押してみてね.

See the Pen Android "L" Button by Tim Kendall (@timkendall) on CodePen.

こんな便利なサイトがあったり.

Android__L__Button_-_CodePen

Android "L" Button - CodePen

右上に 埋め込みHTMLを取得できるので貼ってみましたのが, 一番上のボタンと埋め込みタブまわりで.

Android__L__Button_-_CodePen

こんなに少ない行数でできるのかと思ってみたけどもブラウザ互換の件がつきまとう.

Can_I_use_CSS3_Animation

Can I use CSS3 Animation

そんなに今は「フラット」なのかなあ, と.