Skip to content

Instantly share code, notes, and snippets.

@alwarren
Created February 3, 2019 09:22
Show Gist options
  • Save alwarren/b0e4759ac4c60c7ccb9647c6ec96dae8 to your computer and use it in GitHub Desktop.
Save alwarren/b0e4759ac4c60c7ccb9647c6ec96dae8 to your computer and use it in GitHub Desktop.
Android things I just can't seem to keep straight.

Android things I just can't seem to keep straight.

Theme Variants

  • Light means your environment is light - daytime.
  • Dark means your environment is dark - night time.

Colors

  • colorPrimary is the app bar
  • colorPrimaryDark is the status bar

Screen components

  • The status bar is where the clock, battery icon, notification icons, and the like reside. Most of the time, it is at the top of the screen. This is provided by the system; the app does not directly manipulate the contents of this bar.
  • The action bar (sometimes referred to as the app bar), if it exists for an activity, will be at the top of the activity's content area, typically directly underneath the status bar. Activities control whether there is an action bar and, if so, what it looks and works like.
  • The navigation or system bar is where the HOME, BACK, etc. buttons are. This is usually on the opposite side of the screen from the status bar, and therefore usually is at the bottom of the screen. This is provided by the system; the app does not directly manipulate the contents of this bar.

Credits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment