layout Inflater
Layout XML File đ
Layout đNew đXML đLayout XML File
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
>
<TextView
android:id="@+id/textViewL1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Rakib Shah"
android:textStyle="bold"
android:gravity="center"
android:textSize="40sp"
android:textColor="#003EFA"
/>
<ImageView
android:id="@+id/imageView"
android:layout_width="match_parent"
android:layout_height="250dp"
android:src="@drawable/image"
/>
<TextView
android:id="@+id/textViewL2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="āĻŦাংāϞাāĻĻেāĻļ āϏংāĻŦাāĻĻেāĻļে āĻŦা āĻāĻŖāĻĒ্āϰāĻাāϤāύ্āϤ্āϰী āĻŦাংāϞাāĻĻেāĻļ āĻšāϞো āĻāĻāĻি āĻĻāĻ্āώিāĻŖ āĻāĻļিāϝ়াāϰ āĻĻেāĻļ। āĻāĻি āĻŦāĻ্āĻোāĻĒāϏাāĻāϰেāϰ āĻāϤ্āϤāϰ āϤীāϰে āĻ āĻŦāϏ্āĻĨিāϤ। āĻĒāĻļ্āĻিāĻŽে, āĻāϤ্āϤāϰে āĻāĻŦং āĻĒূāϰ্āĻŦে āĻাāϰāϤ āĻāĻŦং āĻĻāĻ্āώিāĻŖ-āĻĒূāϰ্āĻŦে āĻŽাāϝ়াāύāĻŽাāϰ (āĻŦাāϰ্āĻŽা) āĻĻেāĻļāĻিāϰ āϏীāĻŽাāύা āϰেāĻেāĻে। āϰাāĻāϧাāύী āĻāĻŦং āĻŦৃāĻšāϤ্āϤāĻŽ āĻļāĻšāϰ āĻĸাāĻা। āĻāĻ āĻĻেāĻļেāϰ āĻŦিāώāϝ়ে āĻিāĻু āĻুāϰুāϤ্āĻŦāĻĒূāϰ্āĻŖ āϤāĻĨ্āϝ āĻšāϞো: ā§§. āĻাāώা: āĻŦাংāϞাāĻĻেāĻļেāϰ āĻ āϧিāĻাংāĻļ āĻāύāĻāĻŖেāϰ āĻĒ্āϰāĻĨāĻŽ āĻাāώা āĻšāϞো āĻŦাংāϞা। āĻāĻি āĻĻেāĻļেāϰ āĻāϧিāĻাāϰিāĻ āĻাāώা āĻāĻŦং āϏাāϰ্āĻŦāĻāύিāĻ āĻাāώা।
⧍. āĻāύāϏংāĻ্āϝা: ⧍ā§Ļ⧍⧧ āϏাāϞেāϰ āϏেāĻĒ্āĻেāĻŽ্āĻŦāϰ āĻĒāϰ্āϝāύ্āϤ āĻŦাংāϞাāĻĻেāĻļেāϰ āĻāύāϏংāĻ্āϝা āĻĒ্āϰাāϝ় ā§§ā§Ŧ āĻোāĻি āĻāĻŦং ā§Ģā§Ģ āϞাāĻ āĻিāϞ। āĻāĻি āĻŦিāĻļ্āĻŦেāϰ āϏāĻŦāĻেāϝ়ে āĻāύāĻŦāϏ্āϤী āĻĻেāĻļেāϰ āĻŽāϧ্āϝে āĻāĻāĻি
"
android:textSize="20sp"
android:textStyle="bold"
android:gravity="center"
/>
</LinearLayout>
Main Activity XML<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:context=".MainActivity"
android:orientation="vertical"
>
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
>
<include
layout="@layout/new_layout"
/>
</LinearLayout>
</ScrollView>
<Button
android:id="@+id/click"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Click"
android:textStyle="bold"
android:textSize="20sp"
/>
</LinearLayout>
No comments:
Post a Comment