O GoConqr está de visual novo! Conte para nós o que você achou.

Flashcards

Android Resources

Nathan Hunsdale Mobile App Masters of Science Inglês 16 flashcards

Flashcards do conjunto (16)

  1. 1In the resources folder- Layouts
    - Strings
    - Images
    - Dimensions
    - Styles
    - Themes
    - Values
    -Menus
    - Colours
  2. 2Dimensions What are they?- A number followed by a unit of measurement eg. 10px or 2in.
  3. 3Dimensions dp What does it stand for and define it...Density Independent Pixels
    1dp = 1 pixel no matter what size of screen
  4. 4Dimensions sp What does it stand for and define it...Scale Independent Pixels
    this is like the dp unit, but it is also scaled by the user's font size preference.
  5. 5Dimensions pt What does it stand for and define it...Points
    1/72 of an inch
  6. 6Styles What does it allow us to do? What is it similar to?Allows us to style application
    - Similar to CSS(Cascading Style Sheets)
  7. 7Themes What is it? For example?A Style applied to an app or activity
    - eg. All text views can be set to the same font
  8. 8Values Which resources does it contain?Containing different types of value type resources from an app
    - Bool
    - Integer
    - Integer Array
    - Type Array (a typed array to create an array of resources such as drawables)
  9. 9Menus How are they defined?Defined through Java code or through XML
  10. 10Colours Which folder are they located in? Each colour is stored as which type of value?- The colour file is located in values/colors.xml file. eg. login_screen_font_color.
    - Each colour is defined as a hexadecimal value.
  11. 11Strings and Resources How do we refer to a string in a resource?"@string/{name of string}"
  12. 12Image Size What are the 3 image sizes?LDPI - 36x36 px
    MDPI - 48x48 px
    HDPI - 72x72 px
  13. 13SuperClasses frequently extended What are the 5 main classes?- Intent
    - IntentService
    - App Widget Provider
    - AppWidgetProviderInfo
    - Broadcast Receiver
  14. 14Working with Intents How to declare one?Intent turnLightOn = new Intent(“TURN_LIGHT_ON”);
  15. 15App widget Which class is the intent handled in?Intent is handled in a broadcast reciever
  16. 16AppWidgetProvider What is the AppWidgetProvider?is an Instance

Informações

Descrição
Masters of Science Mobile App FlashCards sobre Android Resources, criado por Nathan Hunsdale em 21-05-2014.
Criado por
Nathan Hunsdale
Visualizações
25
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?