Changes
Page history
Update 12 cviko
authored
May 08, 2019
by
Marek Šabo
Show whitespace changes
Inline
Side-by-side
12-cviko.md
View page @
1ae3cf1e
# Práca so zoznamom
-
https://book.droidboy.cz/4-seznamy.html
-
vytvor novy button
-
vytvor novu aktivitu _New -> Activity -> EmptyActivity_ s nazvom
**ScoreAktivity**
-
activity score nahradime za:
```
xml
<?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=
"match_parent"
android:orientation=
"vertical"
>
<ListView
android:id=
"@+id/score_list"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
/>
</LinearLayout>
```
\ No newline at end of file