Issue
From Android documentation for the Resources
class:
public static Resources getSystem ()
Added in API level 1 Return a global shared Resources object that provides access to only system resources (no application resources), and is not configured for the current screen (can not use dimension units, does not change based on orientation, etc).
What are system resources and application resources and what is the difference between them?
Solution
Application resources are
- Animation Resources (R.anim) --> res/anim
- Color State List Resource(R.color) --> res/color
- Drawable Resources (R.drawable) --> res/drawable
- Layout Resource (R.layout) -- >res/layout
see this link for more details
System resources are
- Android ids (android.R.id)
- Android's widgets (android:id/tabs)
- Color (android.R.color.transparent)
see this post for more details
Answered By - Cyanotis
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.