Code Monkey home page Code Monkey logo

Comments (7)

kongzue avatar kongzue commented on September 21, 2024

使用Material风格时实际上就是调用的标准 android.support.v7.app.AlertDialog ,如果出现问题,可能是厂商修改系统组件导致的,可以的话请告诉我您的测试系统和机型,我会做一下排查

from dialog.

lemonL avatar lemonL commented on September 21, 2024

@kongzue 没有使用Material 风格。。。。是初始化Dialog的时候选择其他风格,偶尔会变成Material,感觉像是初始化失败一样,其次就是弹窗显示不全。。。。我这边再复现的话,会截图给你看一下

from dialog.

lemonL avatar lemonL commented on September 21, 2024

device-2018-09-17-150109
device-2018-09-17-150306
_20180917150215
_20180917150225
_20180917150322

提示框显示不全又复现了。。
@kongzue

from dialog.

kongzue avatar kongzue commented on September 21, 2024

您好,在 Kongzue 的 Dialog 文档中有说明,从 2.2.3 版本起支持 MessageDialog、SelectDialog、InputDialog和BottomMenu 的自定义布局,因为一些原因,选择 Material 风格时仅支持对话框全部使用自定义布局。

稍后我会对 Material 风格的自定义布局进行一些修改,尽量解决这个问题

from dialog.

kongzue avatar kongzue commented on September 21, 2024

您好,已更新2.3.3版本,请更新最新版本后参阅文章章节《自定义布局》 的说明

from dialog.

lemonL avatar lemonL commented on September 21, 2024

@kongzue
_20180917172917

是参考着来的。。应该没什么问题吧。。
版本是2.3.0
需要更新到2.3.3吗?

from dialog.

kongzue avatar kongzue commented on September 21, 2024

请更新至2.3.3版本,并参照《自定义布局》中的说明进行编写,对于 Material 风格的自定义布局 Dialog 请先使用 build(...) 方法进行创建,其后使用setCustomView(...) 设置您的自定义布局,最后使用 showDialog(); 方法启动它。
因为执行顺序不同,Material 风格与其他风格在使用自定义布局时写法是不同的,请严格按照文档提示进行。

from dialog.

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.