aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-10-28 08:28:19 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-10-28 08:28:19 +0000
commit5770393498e854b228cc7e771fbab140922f14a2 (patch)
tree44aef70cb2c1c1d3116b107c4a4f81b13d02fd22 /app/src/main
parent06fdd12f0c24e569a82b664ea47ab2b7ba1e65ee (diff)
downloadinfinity-for-reddit-5770393498e854b228cc7e771fbab140922f14a2.tar
infinity-for-reddit-5770393498e854b228cc7e771fbab140922f14a2.tar.gz
infinity-for-reddit-5770393498e854b228cc7e771fbab140922f14a2.tar.bz2
infinity-for-reddit-5770393498e854b228cc7e771fbab140922f14a2.tar.lz
infinity-for-reddit-5770393498e854b228cc7e771fbab140922f14a2.tar.xz
infinity-for-reddit-5770393498e854b228cc7e771fbab140922f14a2.tar.zst
infinity-for-reddit-5770393498e854b228cc7e771fbab140922f14a2.zip
Fix blanck white background in MainActivty after returning from SearchActivity.
Diffstat (limited to '')
-rw-r--r--app/src/main/AndroidManifest.xml6
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/Post/ParsePost.java2
2 files changed, 4 insertions, 4 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 6cbdca3f..763d1c03 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -274,7 +274,8 @@
android:name=".Activity.SearchActivity"
android:label="@string/search_activity_label"
android:parentActivityName=".Activity.MainActivity"
- android:theme="@style/AppTheme.Slidable" />
+ android:theme="@style/AppTheme.Slidable"
+ android:windowSoftInputMode="adjustPan" />
<activity
android:name=".Activity.RulesActivity"
android:label="@string/rules_activity_label"
@@ -328,7 +329,8 @@
<activity
android:name=".Activity.MainActivity"
android:label="@string/application_name"
- android:theme="@style/AppTheme.Launcher">
+ android:theme="@style/AppTheme.Launcher"
+ android:windowSoftInputMode="adjustPan">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Post/ParsePost.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Post/ParsePost.java
index 1a83fc16..9f77fdda 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/Post/ParsePost.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Post/ParsePost.java
@@ -3,7 +3,6 @@ package ml.docilealligator.infinityforreddit.Post;
import android.net.Uri;
import android.os.AsyncTask;
import android.text.Html;
-import android.util.Log;
import org.json.JSONArray;
import org.json.JSONException;
@@ -563,7 +562,6 @@ public class ParsePost {
boolean availablePost = true;
if (subredditFilterList != null) {
for (SubredditFilter subredditFilter : subredditFilterList) {
- Log.i("sasdfasdf", subredditFilter.getSubredditName() + " " + post.getSubredditName());
if (subredditFilter.getSubredditName().equals(post.getSubredditName())) {
availablePost = false;
break;