Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing Default title text #112

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Removing Default title text #112

wants to merge 1 commit into from

Conversation

renaro
Copy link

@renaro renaro commented Nov 9, 2016

For some users who wants to create a dialog with no title it is super annoying to set an empty string. Also, for those who wants to set up a title they will have to call the method anyway. This is String is only creating extra work for users.

For some users who wants to create a dialog with no title it is super annoying to set an empty string. Also, for those who wants to set up a title they will have to call the method anyway. This is String is only creating extra work for users.
@alashow
Copy link

alashow commented Nov 20, 2016

You actually can set empty title easily.
Via string resources. It's easy to override string resources of libraries in Android.
Just add new string to resources (strings.xml or overrides.xml) with same name, in this case it's "dialog_default_title." You can make it empty.

Or just set empty string with setTitleText

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants