Android Open Source - cannonball-android Theme Drawables






From Project

Back to project page cannonball-android.

License

The source code is released under:

Apache License

If you think the Android project cannonball-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/**
 * Copyright (C) 2014 Twitter Inc and other contributors.
 *//from w w  w  .  j  a  v  a2s  .c om
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *         http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package io.fabric.samples.cannonball.model;

import android.util.SparseIntArray;

import io.fabric.samples.cannonball.R;

public class ThemeDrawables {
    public final static SparseIntArray ADVENTURE_DRAWABLE = new SparseIntArray()
    {
        {
            put(1, R.drawable.th_adventure_01);
            put(2, R.drawable.th_adventure_02);
            put(3, R.drawable.th_adventure_03);
            put(4, R.drawable.th_adventure_04);
            put(5, R.drawable.th_adventure_05);
            put(6, R.drawable.th_adventure_06);
        }
    };


    public final static SparseIntArray MYSTERY_DRAWABLE = new SparseIntArray()
    {
        {
            put(1, R.drawable.th_mystery_01);
            put(2, R.drawable.th_mystery_02);
            put(3, R.drawable.th_mystery_03);
            put(4, R.drawable.th_mystery_04);
            put(5, R.drawable.th_mystery_05);
            put(6, R.drawable.th_mystery_06);
        }
    };

    public final static SparseIntArray NATURE_DRAWABLE = new SparseIntArray()
    {
        {
            put(1, R.drawable.th_nature_01);
            put(2, R.drawable.th_nature_02);
            put(3, R.drawable.th_nature_03);
            put(4, R.drawable.th_nature_04);
            put(5, R.drawable.th_nature_05);
            put(6, R.drawable.th_nature_06);
        }
    };

    public final static SparseIntArray ROMANCE_DRAWABLE = new SparseIntArray()
    {
        {
            put(1, R.drawable.th_romance_01);
            put(2, R.drawable.th_romance_02);
            put(3, R.drawable.th_romance_03);
            put(4, R.drawable.th_romance_04);
            put(5, R.drawable.th_romance_05);
            put(6, R.drawable.th_romance_06);
        }
    };
}




Java Source Code List

io.fabric.samples.cannonball.AppService.java
io.fabric.samples.cannonball.App.java
io.fabric.samples.cannonball.ApplicationTest.java
io.fabric.samples.cannonball.SessionRecorder.java
io.fabric.samples.cannonball.activity.AboutActivity.java
io.fabric.samples.cannonball.activity.InitialActivity.java
io.fabric.samples.cannonball.activity.LoginActivity.java
io.fabric.samples.cannonball.activity.PoemBuilderActivity.java
io.fabric.samples.cannonball.activity.PoemHistoryActivity.java
io.fabric.samples.cannonball.activity.PoemPopularActivity.java
io.fabric.samples.cannonball.activity.ThemeChooserActivity.java
io.fabric.samples.cannonball.db.DbHelper.java
io.fabric.samples.cannonball.db.PoemContract.java
io.fabric.samples.cannonball.db.PoemProvider.java
io.fabric.samples.cannonball.model.ThemeDrawables.java
io.fabric.samples.cannonball.model.Theme.java
io.fabric.samples.cannonball.model.WordBank.java
io.fabric.samples.cannonball.view.AvenirTextView.java
io.fabric.samples.cannonball.view.CannonballDigitsAuthButton.java
io.fabric.samples.cannonball.view.CannonballTwitterLoginButton.java
io.fabric.samples.cannonball.view.CountdownView.java
io.fabric.samples.cannonball.view.FlowLayout.java
io.fabric.samples.cannonball.view.ImageAdapter.java
io.fabric.samples.cannonball.view.ImageLoader.java
io.fabric.samples.cannonball.view.ThemeAdapter.java