Professional Documents
Culture Documents
Soal Uas 1 Ipa
Soal Uas 1 Ipa
>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#000000"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
android:layout_weight="15"
android:layout_margin="5dp"
android:background="@drawable/bunpak"
android:padding="5dp">
<ImageView
android:id="@+id/pakuan"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="60"
android:src="@drawable/unpak"/>
<LinearLayout
android:id="@+id/bun"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:layout_gravity="center"
android:gravity="center"
android:layout_weight="30"
android:background="#ffffff"
android:alpha="0.8">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:layout_gravity="center"
android:textAlignment="center"
android:textSize="12sp"
android:text="@string/unpak"
android:textColor="#000000"
/>
<!--<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:layout_gravity="center"
android:textAlignment="center"
android:textSize="14sp"
android:text="@string/apa"
android:textColor="#000000"
/>-->
</LinearLayout>
</LinearLayout>
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="5">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="#ffffff"
android:layout_margin="5dp"
android:padding="5dp">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Pendaftaran"
android:textStyle="bold"
android:textSize="25sp"
android:gravity="center"
android:layout_marginBottom="10dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="NPM"
/>
<EditText
android:id="@+id/isiNPM"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="number"
android:hint="Masukkan NPM"
android:maxLength="9"/>
<TextView
android:id="@+id/ilkom"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Nama"/>
<EditText
android:id="@+id/isiNama"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Masukkan Nama"
android:inputType="textPersonName"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Jenis Kelamin"/>
<RadioGroup
android:id="@+id/radiogrupjk"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<RadioButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Laki-laki"/>
<RadioButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Perempuan"/>
</RadioGroup>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Kelas"/>
<Spinner
android:id="@+id/spinnerkelas"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:entries="@array/pilihankelas">
</Spinner>
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="Agama"/>
<Spinner
android:id="@+id/spinneragama"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:entries="@array/pilihanagama">
</Spinner>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Tempat Lahir"/>
<EditText
android:id="@+id/tempatlahir"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Tanggal Lahir (dd/mm/yyyy)"
/>
<EditText
android:id="@+id/tanggallahir"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="date"/>
<Button
android:id="@+id/ambiltanggal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Tanggal"
android:onClick="setDate"/>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center">
<Button
android:id="@+id/simpan"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Submit"
android:layout_alignParentStart="true"/>
<Button
android:id="@+id/reset"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Reset"
android:layout_toEndOf="@+id/simpan"
/>
</RelativeLayout>
<Button
android:id="@+id/selanjutnya"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Selanjutnya"/>
<TextView
android:id="@+id/hasil"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=""/>
</LinearLayout>
</ScrollView>
</LinearLayout>