Second screen which is detail screen, when user click on the listview item it will bring user to new screen which will look like this. Code The Layout. 1. Lets start to create a project and name it SQLite. DB, and the rest of step should be as standard, if you need guide on this step, please refer this link. These are the basic setting ive set. In src main res layout activitymain. Update Access Database From Data Table Column Width' title='Update Access Database From Data Table Column Width' />Add List. View, Button into activitymain. Relative. Layout xmlns androidhttp schemas. Leftdimenactivityhorizontalmargin. Rightdimenactivityhorizontalmargin. Topdimenactivityverticalmargin. Bottomdimenactivityverticalmargin. Main. ActivityPlaceholder. Fragment. android layoutwidthwrapcontent. Add. android ididbtn. Add. android layoutalign. Parent. Bottomtrue. Parent. Lefttrue. Parent. Starttrue. List. View. android layoutwidthwrapcontent. Horizontaltrue. Parent. Toptrue. Add. android layoutwidthwrapcontent. List All. android ididbtn. Get. All. android layoutalign. Parent. Bottomtrue. Right. Ofidbtn. Add. Relative. Layout 1. Relative. Layout xmlns androidhttp schemas. Leftdimenactivityhorizontalmargin android padding. Rightdimenactivityhorizontalmargin android padding. Topdimenactivityverticalmargin android padding. Bottomdimenactivityverticalmargin tools contextcom. Main. ActivityPlaceholder. Fragment lt Button android layoutwidthwrapcontent android layoutheightwrapcontent android textAdd android ididbtn. Add android layoutalign. Parent. Bottomtrue android layoutalign. Parent. Lefttrue android layoutalign. Parent. Starttrue lt List. View android layoutwidthwrapcontent android layoutheightwrapcontent android idandroid idlist android layoutcenter. Horizontaltrue android layoutalign. Parent. Toptrue android layoutaboveidbtn. Add lt Button android layoutwidthwrapcontent android layoutheightwrapcontent android textList All android ididbtn. Get. All android layoutalign. Parent. Bottomtrue android layoutto. Right. Ofidbtn. Add lt Relative. Layout You need to change the List. View id to android ididlist if you choose to extends List. Activity in your class or else you will get error Your content must have a List. View whose id attribute is android. R. id. list3. Add another activity and we named it Student. Detail. java. The go to src main res layout activitystudentdetail. Add Button, Text. View into activitystudentdetail. Relative. Layout xmlns androidhttp schemas. Leftdimenactivityhorizontalmargin. Rightdimenactivityhorizontalmargin. Topdimenactivityverticalmargin. Bottomdimenactivityverticalmargin. Student. DetailPlaceholder. Fragment. lt Text. View. android layoutwidthwrapcontent. Appearance android attrtext. Appearance. Medium. Name. android ididtext. View. android layoutalign. Parent. Toptrue. Parent. Lefttrue. Parent. Starttrue. Top3. 0dp. Text. View. android layoutwidthwrapcontent. Appearance android attrtext. Appearance. Medium. Email. android ididtext. View. 2. android layoutbelowidtext. View. android layoutalign. Parent. Lefttrue. Parent. Starttrue. Top2. 9dp. Text. View. Appearance android attrtext. Appearance. Medium. Age. android ididtext. View. 3. android layoutbelowidtext. View. 2. android layoutalign. Parent. Lefttrue. Parent. Starttrue. Top2. 9dp. Edit. Text. Typetext. Person. Name. android ems1. Text. Name. android layoutaboveidtext. View. 2. android layoutto. Right. Ofidtext. View. Parent. Righttrue. Parent. Endtrue. Edit. Text. android layoutwidthwrapcontent. Typetext. Email. Address. Text. Email. android layoutaboveidtext. View. 3. android layoutto. Right. Ofidtext. View. Rightidedit. Text. Name. android layoutalign. Endidedit. Text. Name. Edit. Text. android layoutwidthwrapcontent. Typenumber. android ems1. Text. Age. android layoutalign. Bottomidtext. View. Leftidedit. Text. Email. android layoutalign. Startidedit. Text. Email. android layoutalign. Rightidedit. Text. Email. android layoutalign. Endidedit. Text. Email. Save. android ididbtn. Save. android layoutalign. Parent. Bottomtrue. Left. Ofidbtn. Close. Close. android ididbtn. Close. android layoutalign. Parent. Bottomtrue. Parent. Righttrue. Parent. Endtrue. Delete. Delete. android layoutalign. Topidbtn. Save. Left. Ofidbtn. Save. lt Relative. Layout 1. 23. Relative. Layout xmlns androidhttp schemas. Leftdimenactivityhorizontalmargin android padding. Rightdimenactivityhorizontalmargin android padding. Topdimenactivityverticalmargin android padding. Bottomdimenactivityverticalmargin tools contextcom. Student. DetailPlaceholder. Fragment lt Text. View android layoutwidthwrapcontent android layoutheightwrapcontent android text. Appearance android attrtext. Appearance. Medium android textName android ididtext. View android layoutalign. Parent. Toptrue android layoutalign. Parent. Lefttrue android layoutalign. Parent. Starttrue android layoutmargin. Top3. 0dp lt Text. View android layoutwidthwrapcontent android layoutheightwrapcontent android text. Appearance android attrtext. Appearance. Medium android textEmail android ididtext. View. 2 android layoutbelowidtext. View android layoutalign. Parent. Lefttrue android layoutalign. Parent. Starttrue android layoutmargin. Top2. 9dp lt Text. View android layoutwidthwrapcontent android layoutheightwrapcontent android text.