Reflecting the dialogue as a separate activism



  • Can dialogue be opened on the tablet as an ordinary android dialogue and on the phone as a separate activism? I mean, the same principle as the fragments. I have a dialogue with a complicated interface. The tablet looks good, and there's no phone on it.



  • I'd make it much easier, that's, uh, to emulate dialogue. I understand the question is that the dialogue is small and bad, depending on the device. We need to bluntly engage on the whole screen, like:

    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
    this.setContentView(R.layout.my_dialog);
    this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
    }
    



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2