aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-02-22 09:26:50 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-02-22 09:26:50 +0000
commitce4773230ab31e84b10b53793331ec6575ce553d (patch)
tree8ff72a8cbb8aa58e550af7eb1d8172cd0f5cb7c6 /app/src/main/java
parent2e72f0d4aa029bad73e1200d22fc6bc1d6df185a (diff)
downloadinfinity-for-reddit-ce4773230ab31e84b10b53793331ec6575ce553d.tar
infinity-for-reddit-ce4773230ab31e84b10b53793331ec6575ce553d.tar.gz
infinity-for-reddit-ce4773230ab31e84b10b53793331ec6575ce553d.tar.bz2
infinity-for-reddit-ce4773230ab31e84b10b53793331ec6575ce553d.tar.lz
infinity-for-reddit-ce4773230ab31e84b10b53793331ec6575ce553d.tar.xz
infinity-for-reddit-ce4773230ab31e84b10b53793331ec6575ce553d.tar.zst
infinity-for-reddit-ce4773230ab31e84b10b53793331ec6575ce553d.zip
Change SearchView style in MainActivity. Solve tab layout covering fragments in viewpager in SearchActivity.
Diffstat (limited to '')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/MainActivity.java3
1 files changed, 0 insertions, 3 deletions
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