Created
May 1, 2018 14:46
-
-
Save Younes-Charfaoui/06dbf0bff449682ef406550dd0c3dfcb to your computer and use it in GitHub Desktop.
The List view of Adda
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.helloworld; | |
import android.app.Activity; | |
import android.os.Bundle; | |
import android.view.ViewGroup; | |
import android.widget.LinearLayout; | |
import android.widget.ScrollView; | |
import android.widget.TextView; | |
public class MainActivity extends Activity { | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
ScrollView main = new ScrollView(this); | |
LinearLayout mainLinear = new LinearLayout(this); | |
LinearLayout mOne = new LinearLayout(this); | |
main.addView(mainLinear); | |
setContentView(main); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment