Skip to content

Fixes #2940 Problem with color of info icon #3093

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 29, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.Intent;
import android.graphics.PorterDuff;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
Expand Down Expand Up @@ -111,6 +113,7 @@ protected void onCreate(Bundle savedInstanceState) {
setSupportActionBar(toolbar);
initDrawer();


reviewController = new ReviewController(deleteHelper, this);

reviewPagerAdapter = new ReviewPagerAdapter(getSupportFragmentManager());
Expand All @@ -119,6 +122,10 @@ protected void onCreate(Bundle savedInstanceState) {
pagerIndicator.setViewPager(reviewPager);
progressBar.setVisibility(View.VISIBLE);

Drawable d[]=btnSkipImage.getCompoundDrawablesRelative();
d[2].setColorFilter(getApplicationContext().getResources().getColor(R.color.button_blue), PorterDuff.Mode.SRC_IN);


if (savedInstanceState != null) {
updateImage(savedInstanceState.getParcelable(SAVED_MEDIA)); // Use existing media if we have one
} else {
Expand Down