From ce4773230ab31e84b10b53793331ec6575ce553d Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Fri, 22 Feb 2019 17:26:50 +0800 Subject: Change SearchView style in MainActivity. Solve tab layout covering fragments in viewpager in SearchActivity. --- .../main/java/ml/docilealligator/infinityforreddit/MainActivity.java | 3 --- 1 file changed, 3 deletions(-) (limited to 'app/src/main/java/ml') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/MainActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/MainActivity.java index 7591885f..46730021 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/MainActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/MainActivity.java @@ -3,7 +3,6 @@ package ml.docilealligator.infinityforreddit; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; -import android.graphics.Color; import android.os.AsyncTask; import android.os.Bundle; import android.view.Menu; @@ -141,13 +140,11 @@ public class MainActivity extends AppCompatActivity { @Override public void onSearchViewShown() { transparentOverlay.setVisibility(View.VISIBLE); - getWindow().setStatusBarColor(Color.GRAY); } @Override public void onSearchViewClosed() { transparentOverlay.setVisibility(View.GONE); - getWindow().setStatusBarColor(Color.TRANSPARENT); } @Override -- cgit v1.2.3