8
एंड्रॉइड में LinearLayout में एक टेक्स्ट व्यू कैसे जोड़ें
मैं TextViewsकोड में अपने xml परिभाषित लेआउट को जोड़ने की कोशिश कर रहा हूं । मेरे पास एक एक्सएमएल-शीट है, जहां बहुत सारे Viewsपरिभाषित हैं। लेकिन मुझे कोड में कुछ विचार जोड़ना है, इसलिए LinearLayoutxml- शीट में एक बनाएं : <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:id="@+id/info" android:layout_height="wrap_content" android:orientation="vertical"> </LinearLayout> और इस लेआउट …