Sunday , November 28 2021

Expandable RecyclerView Android – RecyclerView with Expandable Items – Android Coding by DMTechnolab

<?xml the version=“1.0” Encoding=“utf-8”?>

<Relative Layout xmlns:Android=“http://schemas.android.com/apk/res/android”

Android:Layout_process=“match parent”

Android:Layout_height=“wrap content”

Android:Orientation=“Vertical”>

<Androidx.Cardview.Widget.Card view

Android:Layout_process=“match parent”

Android:Layout_height=“match parent”>

<Linear Layout

Android:Layout_process=“match parent”

Android:Layout_height=“wrap content”

Android:Orientation=“Vertical”>

<text view

Android:Id=“@ + id / textViewName”

Android:Layout_process=“match parent”

Android:Layout_height=“wrap content”

Android:The background=# ff3847

Android:Padding=“10dp”

Android:The text=“iron Man”

Android:text alignment=“center”

Android:The text=“@ Style / Base.TextAppearance.AppCompat.Large.Inverse” />

<Linear Layout

Android:Id=“@ + ID / Linear Layout”

Android:Layout_process=“match parent”

Android:Layout_height=“wrap content”

Android:Chetnoutout=“True”

Android:Orientation=“Vertical”

Android:Visibility=“Gone”>

<ImageView

Android:Id=“@ + Id / image view”

Android:Layout_process=“match parent”

Android:Layout_height=“wrap content”

Android:the measure=“fitXY” />

<Table lightout

Android:Layout_process=“match parent”

Android:Layout_height=“wrap content”

Android:Padding=“15dp”>

<table row>

<text view

Android:Layout_process=“wrap content”

Android:Layout_height=“wrap content”

Android:The text=“Real Name “ />

<text view

Android:Id=“@ + id / textViewRealName”

Android:Layout_process=“wrap content”

Android:Layout_height=“wrap content”

Android:The text=“Tony Stark”

Android:The text=“Adventure” />

</table row>

<table row>

<text view

Android:Layout_process=“wrap content”

Android:Layout_height=“wrap content”

Android:The text=“Team” />

<text view

Android:Id=“@ + id / textViewTeam”

Android:Layout_process=“wrap content”

Android:Layout_height=“wrap content”

Android:The text=“Avengers”

Android:The text=“Adventure” />

</table row>

<table row>

<text view

Android:Layout_process=“wrap content”

Android:Layout_height=“wrap content”

Android:The text=“first appearance “ />

<text view

Android:Id=“@ + id / textViewFirstAppearance”

Android:Layout_process=“wrap content”

Android:Layout_height=“wrap content”

Android:The text=“1974”

Android:The text=“Adventure” />

</table row>

<table row>

<text view

Android:Layout_process=“wrap content”

Android:Layout_height=“wrap content”

Android:The text=“created by “ />

<text view

Android:Id=“@ + id / textViewCreatedBy”

Android:Layout_process=“wrap content”

Android:Layout_height=“wrap content”

Android:The text=“Stan Lee”

Android:The text=“Adventure” />

</table row>

<table row>

<text view

Android:Layout_process=“wrap content”

Android:Layout_height=“wrap content”

Android:The text=“Publisher” />

<text view

Android:Id=“@ + id / textViewPublisher”

Android:Layout_process=“wrap content”

Android:Layout_height=“wrap content”

Android:The text=“Marvel Comics”

Android:The text=“Adventure” />

</table row>

<table row>

<text view

Android:Layout_process=“wrap content”

Android:Layout_height=“wrap content”

Android:The text=“Bio” />

<text view

Android:Id=“@ + id / textViewBio”

Android:Layout_process=“wrap content”

Android:Layout_height=“wrap content”

Android:Type of investment=“textMultiLine”

Android:The text=“Steven Rogers was born in 1925 in the Lower East Side of Manhattan, New York City, to poor Irish immigrants, Sarah and Joseph Rogers.[54] Joseph died when Steve was a child, and Sarah died of pneumonia, while Steve was a teenager. In the early 1940s, prior to America’s entry into World War II, Rogers is a tall, scary fine arts student specializing in illustration and is a comic book writer and artist. “

Android:The text=“Adventure” />

</table row>

</Table lightout>

</Linear Layout>

</Linear Layout>

</Androidx.Cardview.Widget.Card view>

</Relative Layout>


Source link

About dmtechnolab

Check Also

Simplified Coding

Android Espresso Tutorial – Testing Fragment in Isolation – Android Coding by DMTechnolab

Welcome to another tutorial in the Android test series. And this post is called Android …

Leave a Reply

Your email address will not be published. Required fields are marked *