So I usedrelativelyoutinordertousesomethinglikethis, where I havelayout a lineparenttopandlayout a lineparentleftthatalignsthisthatisboxedupintothetopandintotheleft.
Kindofselfexplanatory.
Sure, but I feellikeit's necessarytomentionthatalso, frommyunderstanding, itisimportanttoincludethetopintheleft, asopposedtoonlythelayout a line.
Parentsstartlike I havedownherebecausewhat I havehighlightedthisstartisgood.
However, thetopintheleftthoseairstillimplementedorthioallowyourapplicationtoworkonorderversionsofAndroidandwiththestartdoesessentiallyitstartsthealignmentofthelistviewtoitsparent, whichisthesenseinthebackgroundofthiswholeapplication.
That's whyitisupatthestart.
Andifyouwanttogiveanoppositeexampleofthat, I havelaidout a lionparentendfortheaditemthatishighlighted.
Soitisattheendofthatbackgroundpart.
Andsure, I stillhavelayout a lineparentrightandlayout a lineparentbottominordertoalignitdownhereonorderAndroiddevicesAnd a lotofthisisstandard.
Butalsosomething I wanttopointoutisdownhere.
I haveAndroidonClickonAddItem, andthatisessentiallywhen I click.
I couldtypeinusemykeyboardorthiskeyboard, andthenthisisone.
Atitemoccurswhen I clickatitemandaddstheitemontomylistviewselfexplanatoryagain.
Butthisishelpingmeremembereverything.
So I I'm goingtoexplain.
Sonowintothemeatofthecode.
Andnowthat I havemyemulatorrunningbecause I hadupdatetheemulatorsoitwasn't runningearlier, I canactuallyshowyouguyswhatWhat's goingonwiththecode?
So I havemyowncreatefunction.
Whereisthis?
Helpswithmylistview?
Because I havereaditemsinhereandsetup a listofyoulistener.
Sobasically, when I openedupmyapplicationafterclosingit, itdoesn't deleteallofmydaddybecauseeverythinggetswrittento a fileandreadto a file, whichisthelistview.