Skip to content

Instantly share code, notes, and snippets.

@azec-pdx
Last active August 29, 2015 14:11
Show Gist options
  • Save azec-pdx/b7785e56d961da440e8c to your computer and use it in GitHub Desktop.
Save azec-pdx/b7785e56d961da440e8c to your computer and use it in GitHub Desktop.
Layout za UI (Android 103 - Modul1 - Content Providers)
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Ime studenta" />
<EditText
android:id="@+id/txtName"
android:layout_height="wrap_content"
android:layout_width="fill_parent" />
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Ocjena" />
<EditText
android:id="@+id/txtGrade"
android:layout_height="wrap_content"
android:layout_width="fill_parent" />
<Button
android:text="Dodaj Ime"
android:id="@+id/btnAdd"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:onClick="onClickAddName" />
<Button
android:text="Dohvati Studente"
android:id="@+id/btnRetrieve"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:onClick="onClickRetrieveStudents" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment