Giter Club home page Giter Club logo

android-quiz's Introduction

Quiz Application

This is a simple quiz application I made for a client. The rest of the documentation is intended for the client.

Configuration

You can configure the app by editing res/values/config.xml. The settings are documented in the comments in this file. The project won't build if there are errors in this file, so you don't have to worry about messing things up too much.

Assets

Assets live in the project's assets directory. When I say "asset path", I mean a path relative to this directory, for example an asset path audio/cow-moo.wav corresponds to the file $PROJECT_PATH/assets/audio/cow-moo.wav.

Questions Xml

The questions live in the asset file given by the config file entry config_questionsFile. The format is pretty straightforward, and the comments in quiz-example.xml should make it clear. The xml is validated while it's being loaded (for example, answers indices are less valid), so you should see errors right away when the app starts.

Styles, colors, and images

These can be configured by editing the following files:

  • res/values/styles.xml contains some commonly used styles
  • res/values/strings.xml contains externalized strings. Most of the text in the application can be configured here.
  • res/drawable-xhdpi/header_image.png is the image shown at the top of the categories list. For production you might want to create smaller images for mdpi, ldpi, and hdpi.
  • res/drawable-*dpi/ic_launcher.png is the app's icon.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.