mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-11-07 03:07:26 +01:00
Update ViewImageOrGifActivity.java
This commit is contained in:
parent
f5f6213733
commit
2f842889ae
@ -16,6 +16,7 @@ import android.text.Spanned;
|
|||||||
import android.view.Menu;
|
import android.view.Menu;
|
||||||
import android.view.MenuItem;
|
import android.view.MenuItem;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
|
import android.widget.FrameLayout;
|
||||||
import android.widget.ImageView;
|
import android.widget.ImageView;
|
||||||
import android.widget.LinearLayout;
|
import android.widget.LinearLayout;
|
||||||
import android.widget.ProgressBar;
|
import android.widget.ProgressBar;
|
||||||
@ -287,6 +288,11 @@ public class ViewImageOrGifActivity extends AppCompatActivity implements SetAsWa
|
|||||||
});
|
});
|
||||||
|
|
||||||
loadImage();
|
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() {
|
private void loadImage() {
|
||||||
|
Loading…
Reference in New Issue
Block a user