Android - (App) Resources (R)

Card Puncher Data Processing


The /res subdirectories contain the resources for your application:

  • drawable-<density>/: Directories for drawable resources, other than launcher icons, designed for various densities.
  • layout: Directory for files that define your app's layout user interface
  • menu/: Directory for files that define your app's menu items.
  • mipmap/: Launcher icons reside in the mipmap/ folder rather than the drawable/ folders. This folder contains the image that appears when you run the default app.
  • values/: Directory for other XML files that contain a collection of resources, such as string and color definitions.


Resource Types

Documentation / Reference

Discover More
Card Puncher Data Processing
Android - (Project) Directory Structure

The /res sub-directories that contain the resources for your application
Android Xml Layout Attribute Reference
Android - Layout File (XML)

A layout XML is a declarative way of creating an UI. To define the GUI in android, you can do it: at runtime in the code with the ViewGroup object (UI container) and View obejct (widgets) at load...
Card Puncher Data Processing
Android - Menu

where: @string is a string resources. If both your activity and fragment(s) declare items for the options menu, they are combined in the UI. The activity's items appear first, followed by those of...
Card Puncher Data Processing
Android - String

String is a resource Located in /res/values/strings.xml Bad practice: Good practice: android/content/ContextContext.getString. From the context, you can get access to the string XML declaration....
Android Account Sunshine
Android - Sync Manager Framework (SyncAdapter)

Introduced in Android Level 5. SyncAdapters are meant to keep local data on the device (a cache) in sync with data on the web with the goal of: fast load times, offline functionality and not...

Share this page:
Follow us:
Task Runner