Showing posts with label layout Inflater (Xml 1). Show all posts
Showing posts with label layout Inflater (Xml 1). Show all posts

layout Inflater (Xml 1)

 

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>