I have a relative layout which I am creating programmatically: RelativeLayout layout = new RelativeLayout( this ); RelativeLayout.LayoutParams params = new RelativeLayout.…
android android-relativelayout android-layoutparamsI want to remove and add constraint programmatically based on some condition. Here are the screenshots: and I want to …
android android-layout android-constraintlayout android-layoutparamsI trying to create a view that is above other applications: WindowManager.LayoutParams paramsDirectorView = new WindowManager.LayoutParams( WindowManager.LayoutParams.WRAP_…
android android-windowmanager android-layoutparamsGetting Unknown attribute error on all android tag. In layout XML, Auto suggestion is not showing all attributes (like layout_…
android android-layout android-studio android-xml android-layoutparamsI have a CardView in my XML layout and I need to set margins to it programmatically (This is because …
android android-layout android-cardview layoutparams android-layoutparamsI am trying to create a simple Android app and I'm getting this error: java.lang.RuntimeException: Unable to start …
android list android-activity view android-layoutparamsHow to set android:layout_alignParentRight="false" programmatically? I can set it to true by this code but I want …
android android-relativelayout android-layoutparams