diff --git a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuContainerActivity.java b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuContainerActivity.java new file mode 100644 index 00000000..ae7ab5c7 --- /dev/null +++ b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuContainerActivity.java @@ -0,0 +1,24 @@ +package one.nem.lacerta.feature.debug; + +import android.os.Bundle; + +import androidx.activity.EdgeToEdge; +import androidx.appcompat.app.AppCompatActivity; +import androidx.core.graphics.Insets; +import androidx.core.view.ViewCompat; +import androidx.core.view.WindowInsetsCompat; + +public class DebugMenuContainerActivity extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + EdgeToEdge.enable(this); + setContentView(R.layout.activity_debug_menu_container); + ViewCompat.setOnApplyWindowInsetsListener(findViewById(R.id.main), (v, insets) -> { + Insets systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars()); + v.setPadding(systemBars.left, systemBars.top, systemBars.right, systemBars.bottom); + return insets; + }); + } +} \ No newline at end of file diff --git a/feature/debug/src/main/res/layout/activity_debug_menu_container.xml b/feature/debug/src/main/res/layout/activity_debug_menu_container.xml new file mode 100644 index 00000000..66bd06cc --- /dev/null +++ b/feature/debug/src/main/res/layout/activity_debug_menu_container.xml @@ -0,0 +1,23 @@ + + + + + \ No newline at end of file