Lines Matching refs:Resources
19 // Need the following import to get access to the app resources, since this
25 import android.content.res.Resources;
31 * Demonstration of loading resources.
34 * Each context has a resources object that you can access. Additionally,
48 // See res/any/layout/resources.xml for this view layout definition.
49 setContentView(R.layout.resources);
70 // ====== Using the Resources object =================================
77 // Get the Resources object from our context
78 Resources res = context.getResources();
85 // Note that the Resources class has methods like getColor(),
86 // getDimen(), getDrawable() because themes are stored in resources.