diff options
author | LagradOst <46196380+Blatzar@users.noreply.github.com> | 2021-09-28 14:10:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-28 14:10:19 +0000 |
commit | 2f842889aee385ce2c5bb4d3feb46ad46bf9ec25 (patch) | |
tree | 0be6e77ddeebfe2faa694d7f1b2354ffc3aacd0e /app/src/main/java/ml | |
parent | f5f6213733a0d7e5d4351c8454c657c1d7475603 (diff) | |
download | infinity-for-reddit-2f842889aee385ce2c5bb4d3feb46ad46bf9ec25.tar infinity-for-reddit-2f842889aee385ce2c5bb4d3feb46ad46bf9ec25.tar.gz infinity-for-reddit-2f842889aee385ce2c5bb4d3feb46ad46bf9ec25.tar.bz2 infinity-for-reddit-2f842889aee385ce2c5bb4d3feb46ad46bf9ec25.tar.lz infinity-for-reddit-2f842889aee385ce2c5bb4d3feb46ad46bf9ec25.tar.xz infinity-for-reddit-2f842889aee385ce2c5bb4d3feb46ad46bf9ec25.tar.zst infinity-for-reddit-2f842889aee385ce2c5bb4d3feb46ad46bf9ec25.zip |
Update ViewImageOrGifActivity.java
Diffstat (limited to 'app/src/main/java/ml')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewImageOrGifActivity.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewImageOrGifActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewImageOrGifActivity.java index e2d10e55..984dd133 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewImageOrGifActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewImageOrGifActivity.java @@ -16,6 +16,7 @@ import android.text.Spanned; import android.view.Menu; import android.view.MenuItem; import android.view.View; +import android.widget.FrameLayout; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.ProgressBar; @@ -287,6 +288,11 @@ public class ViewImageOrGifActivity extends AppCompatActivity implements SetAsWa }); loadImage(); + + // Fixes #383 + // Not having a background will cause visual glitches on some devices. + FrameLayout slidablePanel = findViewById(R.id.slidable_panel); + slidablePanel.setBackgroundColor(getResources().getColor(android.R.color.black)); } private void loadImage() { |