Closed alirezaafkar closed 10 years ago
Okay looks good to me, although I can't merge it as there is conflicts, I think you may have to update to the latest version and merge yours from there before I can.
Actually don't worry, i've manually merged them through git bash.
Thanks ! And please make this change for : dialog_custom_stacked_buttons
android:layout_width="wrap_content" to android:layout_width="match_parent"
Yes I will be sure to do that, sorry for the delay in pulling this request.
Since my language is right to left, I've added content and buttons alignment.
CustomDialog.Builder builder = new CustomDialog.Builder(Context context, String title, String positiveText); builder.rightToLeft(true); //or builder.mTitleAlignment (Alignment.RIGHT); builder.mContentAlignment(Alignment.RIGHT); builder.mButtonsAlignment(Alignment.LEFT);
//I've added typeface for builder too.
Typeface tf = Typeface.createFromAsset(this.getResources() .getAssets(), "Custom.ttf"); builder.typeFace(tf);