Greetings, I tried to implement the settings, the hierarchy was great.
I have a TextView in the main one, in this one I call a DialogFragment , the DialogFragment contains a RecyclerView which displays a list of settings through its adapter. In this adapter, I implemented an onClick method in which I call AlertDialog :
viewHolder.itemView.setOnClickListener(new View.OnClickListener() { @Override public void onClick(final View view) { AlertDialog.Builder alt_bld = new AlertDialog.Builder(view.getContext()); It turned out like this: MainActivity/DialogFragment/RecyclerViewAdapter/AlertDialog
Question: How can I change from my AlertDialog a, for example, the size of my TextView in the main activation?