Back to project page cannonball-android.
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.
/** * 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); } }; }