skip to Main Content

Android Studio – Create Linear Layout programmability on button click in android studio

I am working on android studio. I have created a linear layout inside a fragment like below : <LinearLayout android:id="@+id/ll_out" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@drawable/background_round" android:orientation="vertical" android:padding="5sp"> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginTop="10sp" android:orientation="horizontal"> <AutoCompleteTextView android:id="@+id/tv_product" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="left|center_vertical" android:gravity="left" android:inputType="text" android:hint = "Enter…

VIEW QUESTION
Back To Top
Search