Skip to content
Snippets Groups Projects
Commit 3348d119 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Fix DialogActivity appearing opaque

parent a3ec3f1d
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid
android:color="@color/grey850" >
</solid>
<corners
android:radius="3dp" >
</corners>
</shape>
\ No newline at end of file
......@@ -9,7 +9,8 @@
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
android:background="@drawable/rounded_corners_grey">
<TextView
android:id="@+id/ext_device_summary"
......
......@@ -76,6 +76,7 @@ public class DialogActivity extends BaseActivity {
}
private void setupDeviceDialog() {
getWindow().getDecorView().setAlpha(0.f);
final DeviceDialog dialog = new DeviceDialog();
final Intent intent = getIntent();
dialog.setDevice(intent.getStringExtra(EXTRA_PATH), intent.getStringExtra(EXTRA_UUID), intent.getBooleanExtra(EXTRA_SCAN, false));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment