Giter VIP home page Giter VIP logo

Comments (9)

TomasKypta avatar TomasKypta commented on June 2, 2024

Hi, I looked into the problem but so far I was unable to reproduce it.
Could you please post a code snippet (or a gist) that you used to create the dialog?

Also it would be helpful if you could write some info about the device you are seeing the problem on.
It might be that the bug only appears on a specific device and/or version of Android.
Also none of us knows any hebrew (for all I know), so we would appreciate any help on the bug.

Lastly, I should add that you can always submit a pull request if you manage to solve the problem yourself.

from android-styled-dialogs.

yoavst avatar yoavst commented on June 2, 2024

Ok, I'll research it when I'll have free time.

from android-styled-dialogs.

yoavst avatar yoavst commented on June 2, 2024

I got the same problem in english, happens to me only at 4.4 with the dark theme (Light theme seem to be fine).

from android-styled-dialogs.

davidvavra avatar davidvavra commented on June 2, 2024

@yoavst It looks like you didn't apply style like this:

<item name="sdlDialogStyle">@style/DialogStyleLight</item>

Please show us your code snippet.

from android-styled-dialogs.

yoavst avatar yoavst commented on June 2, 2024

So when I apply the light theme it works fine. didn't check what happend if I apply the dark one :/

from android-styled-dialogs.

davidvavra avatar davidvavra commented on June 2, 2024

@yoavst Do you apply dark one like this?

<item name="sdlDialogStyle">@style/DialogStyleDark</item>

from android-styled-dialogs.

waylife avatar waylife commented on June 2, 2024

I got this problem too.Only happens on some machine,such as
image
image
the code is:
SimpleDialogFragment.createBuilder(mContext, getSupportFragmentManager())
.setTitle("关于")
.setMessage("XXXXXXXXXXXXXXXXXXXXXXXXX")
.setPositiveButtonText("确定")
.setNegativeButtonText("取消").setRequestCode(42)
.setTag("custom-tag")
.setCancelable(false).setCancelableOnTouchOutside(false)
.show();
I do not use any custom style,only the default dialog style.

from android-styled-dialogs.

waylife avatar waylife commented on June 2, 2024

Seems I should apply a theme to the activity.So do not get any default style?

from android-styled-dialogs.

davidvavra avatar davidvavra commented on June 2, 2024

There is no default style, you always need to select either dark or light style in your application or activity theme. Closing the issue.

from android-styled-dialogs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.