Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context="com.rplcoders.android.smikfunbike.MainActivity">
- <ScrollView
- android:layout_width="368dp"
- android:layout_height="495dp"
- android:layout_marginRight="8dp"
- app:layout_constraintRight_toRightOf="parent"
- android:layout_marginLeft="16dp"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- android:layout_marginTop="0dp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent">
- <Button
- android:id="@+id/btnInfo"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:onClick="aksiInfo"
- android:text="Tentang SMIK FunBike" />
- <ImageView
- android:id="@+id/imageView"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:srcCompat="@drawable/logo_smik_funbike" />
- <TextView
- android:id="@+id/textView"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Nama" />
- <EditText
- android:id="@+id/edtNama"
- android:layout_width="250dp"
- android:layout_height="wrap_content"
- android:ems="10"
- android:hint="ketikkan nama Anda"
- android:inputType="textPersonName" />
- <TextView
- android:id="@+id/textView2"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Alamat" />
- <EditText
- android:id="@+id/edtAlamat"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:ems="10"
- android:hint="ketikkan alamat Anda"
- android:inputType="textMultiLine" />
- <TextView
- android:id="@+id/textView3"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Hobi" />
- <EditText
- android:id="@+id/edtHobi"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:ems="10"
- android:hint="ketikkan hobi Anda"
- android:inputType="textPersonName" />
- <TextView
- android:id="@+id/textView6"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Biaya Pendaftaran : Rp. 20.000,-" />
- <TextView
- android:id="@+id/textView4"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Fasilitas tambahan" />
- <CheckBox
- android:id="@+id/chkMakan"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Makan Pagi (Rp. 10.000)" />
- <CheckBox
- android:id="@+id/chkSnack"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Snack (Rp. 5.000)" />
- <CheckBox
- android:id="@+id/chkSepeda"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Sewa sepeda (Rp. 15.000)" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <Button
- android:id="@+id/btnKalkulasi"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="right"
- android:layout_weight="1"
- android:onClick="aksiKalkulasi"
- android:text="KALKULASI" />
- <Button
- android:id="@+id/btnSimpan"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="right"
- android:layout_weight="1"
- android:onClick="aksiSimpan"
- android:text="SIMPAN" />
- </LinearLayout>
- <TextView
- android:id="@+id/txtHasil"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="0.01" />
- </LinearLayout>
- </ScrollView>
- </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement