hedzr / android-file-chooser

a lightweight file/folder chooser or picker
Apache License 2.0
284 stars 62 forks source link

Can we make this dialog to a full screen activity/fragment look.? #61

Open ahsan7766 opened 5 years ago

Guiorgy commented 5 years ago

yes, through the alertdialog theme. at least it should be... edit: strange, doesn't seem to work...

ahsan7766 commented 5 years ago

Can you explain a little. I did not get any alert dialog theme and get results from that.Thanks for quick responce

Guiorgy commented 5 years ago

In 1.1.17 we added theme support. Check the demo app to see an example of a dark theme (in res/values/styles). Anyways, google says

        <item name="android:layout_width">fill_parent</item>
        <item name="android:layout_height">fill_parent</item>

should make it full screen... you can try that, but didn't work for me. I will check it later I supose

ahsan7766 commented 5 years ago

Same here did not work for me. With lots of stackoverflow answers. Anyway thanks for support .

Guiorgy commented 5 years ago
        <item name="android:layout_height">match_parent</item>
        <item name="android:layout_width">match_parent</item>
        <item name="android:windowIsFloating">false</item>
        <item name="android:windowFullscreen">true</item>

in the next release you should be able to do this, though for some reason it will still not work with some parent themes, like @android:style/Theme.Material.Dialog.Alert when I was testing

Guiorgy commented 5 years ago

example: Screenshot_1555317994 is this the desired outcome?

Guiorgy commented 5 years ago

1.1.19 out, please confirm that the problem has been solved.