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

How to make buttons align in a row? #47

Open
mahmouxd opened this issue Jan 14, 2015 · 0 comments
Open

How to make buttons align in a row? #47

mahmouxd opened this issue Jan 14, 2015 · 0 comments

Comments

@mahmouxd
Copy link

I'm using this code:

CustomDialog.Builder builder = new CustomDialog.Builder(
                            this, "تأیید", "عنوان");
builder.content("بایستی دوباره وارد شوید...")
                            .negativeText("خروج")
                            .titleAlignment(BaseDialog.Alignment.RIGHT)
                            .contentAlignment(BaseDialog.Alignment.RIGHT)
                            .positiveColorRes(R.color.text_color)
                            .build().show();

The buttons are shown in a column a the right (like the standard dark themed titled "Factory Reset"). How can I make them aligned in a row (like the standard permission dialog)?

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

No branches or pull requests

1 participant