2
অ্যান্ড্রয়েড: লিনিয়ারলআউটে সীমানা কীভাবে আঁকবেন
আমার কাছে তিনটি ফাইল আছে। এক্সএমএল, ড্র অনুষ্ঠান এবং প্রধান ক্রিয়াকলাপ। LinearLayoutআমার এক্সএমএল ফাইলটিতে আমার কিছু রয়েছে। <LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1"> <LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:background="#ef3" android:id="@+id/img01"/> <LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" android:background="#E8A2B4" android:id="@+id/img02"/> </LinearLayout> এটি হচ্ছে ড্র অনুষ্ঠান: public class getBorder extends TextView { public getBorder(Context context) { super(context); …