I have AlertDialog, building it like this:
AlertDialog.Builder builder = new AlertDialog.Builder(context);
CharSequence[] filters = {"a", "b", "c", "d"};
builder.setTitle("Title");
builder.setSingleChoiceItems(items, checked, this);
filter_dialog = builder.create();
and it works great, But now I need to change it to fill with 2 values each line.
for example name and price.
I want to create XML layout with LinearLayout, orientation="horizontal", and 2 TextViews under it, But I cannot figure out how to use it with the builder and how to fill the Strings into the TextView.
I tried to read all the examples and posts here but it not fit what I need..
Thanks.