I am having this error android.widget.LinearLayout$LayoutParams.
When using this code.
public void modifyingTextViews(){//This sets up a margin for the textviews.
LinearLayout.LayoutParams llp = new LinearLayout.LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT);
llp.setMargins(0, 30, 0, 30);
textview1.setLayoutParams(llp);
textview2.setLayoutParams(llp);
}
It conflicts with my touch methods or my load methods which consists of view flipper with 2 textview and a loader.
From what I understand from a guy with a similar issue is that it is because I am getting this error probably because of the arrangement of the view.
Now My question is how would I be able to tell which is my main view on a view flipper if I have different xmls. Also if there would be a quick fix to the problem that would be appreciated as well.