Skip to content

Commit

Permalink
Update status bar color for numeracy and videos
Browse files Browse the repository at this point in the history
  • Loading branch information
Jo Grimstad committed Jun 19, 2017
1 parent ad035b7 commit bfa08b2
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.GridLayout;
Expand Down Expand Up @@ -39,6 +40,8 @@ protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_videos);

getWindow().setStatusBarColor(Color.parseColor("#852196"));

Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
setSupportActionBar(toolbar);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import android.content.Intent;
import android.content.res.Resources;
import android.graphics.Color;
import android.media.MediaPlayer;
import android.net.Uri;
import android.os.Bundle;
Expand Down Expand Up @@ -45,6 +46,8 @@ protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_numbers);

getWindow().setStatusBarColor(Color.parseColor("#1C80CF"));

Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
setSupportActionBar(toolbar);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import android.content.Intent;
import android.content.res.Resources;
import android.graphics.Color;
import android.media.MediaPlayer;
import android.net.Uri;
import android.os.Bundle;
Expand Down Expand Up @@ -41,6 +42,8 @@ protected void onCreate(Bundle savedInstanceState) {

setContentView(R.layout.activity_number);

getWindow().setStatusBarColor(Color.parseColor("#1C80CF"));

numberImageView = (ImageView) findViewById(R.id.numberImageView);
numberTextView = (TextView) findViewById(R.id.numberTextView);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import android.content.Intent;
import android.content.res.Resources;
import android.graphics.Color;
import android.graphics.drawable.Animatable;
import android.graphics.drawable.Drawable;
import android.media.MediaPlayer;
Expand Down Expand Up @@ -41,6 +42,8 @@ protected void onCreate(Bundle savedInstanceState) {

setContentView(R.layout.activity_number_grapheme);

getWindow().setStatusBarColor(Color.parseColor("#1C80CF"));

graphemeImageView = (ImageView) findViewById(R.id.graphemeImageView);

graphemeNextButton = (ImageButton) findViewById(R.id.loadingNextButton);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ protected void onCreate(Bundle savedInstanceState) {

setContentView(R.layout.activity_select_number);

getWindow().setStatusBarColor(Color.parseColor("#1C80CF"));

rippleBackground = (RippleBackground) findViewById(R.id.rippleBackground);
listenButton = (Button) findViewById(R.id.listenButton);
alt1Button = (Button) findViewById(R.id.alt1Button);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.literacyapp.content.task;

import android.graphics.Color;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
Expand All @@ -19,6 +20,8 @@ protected void onCreate(Bundle savedInstanceState) {

setContentView(R.layout.activity_tag_items);

getWindow().setStatusBarColor(Color.parseColor("#1C80CF"));

mTagItemsImageView = (ImageView) findViewById(R.id.tagItemsImageView);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ protected void onCreate(Bundle savedInstanceState) {

setContentView(R.layout.activity_type_number);

getWindow().setStatusBarColor(Color.parseColor("#1C80CF"));

graphemeImageView = (ImageView) findViewById(R.id.graphemeImageView);

editText = (EditText) findViewById(R.id.text);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.literacyapp.content.task;

import android.content.Intent;
import android.graphics.Color;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
Expand Down Expand Up @@ -30,6 +31,8 @@ protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_video);

getWindow().setStatusBarColor(Color.parseColor("#852196"));

LiteracyApplication literacyApplication = (LiteracyApplication) getApplicationContext();
videoDao = literacyApplication.getDaoSession().getVideoDao();

Expand Down

0 comments on commit bfa08b2

Please sign in to comment.