Skip to content

Instantly share code, notes, and snippets.

@mochadwi
Forked from Bonetank/XML
Last active August 18, 2017 03:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mochadwi/787a698f7bb3d2630cd64cdf1437fa9e to your computer and use it in GitHub Desktop.
Save mochadwi/787a698f7bb3d2630cd64cdf1437fa9e to your computer and use it in GitHub Desktop.
Quiz
<?xml version="1.0" encoding="utf-8"?>
<ScrollView 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="fill_parent"
android:layout_height="fill_parent"
android:background="#000000"
tools:context="com.example.android.quizpsikologi.MainActivity">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="#000000"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="20dp"
android:layout_marginTop="30dp"
android:text="RIDDLE"
android:textColor="#FFFFFF"
android:textSize="40sp"
android:textStyle="bold" />
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="20dp"
android:background="#000000"
android:scaleType="centerCrop"
android:src="@drawable/riddle" />
<CheckBox
android:id="@+id/agreement"
style="@style/my_checkbox_style"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="20dp"
android:text="Siap menerima tantangan ini??"
android:textColor="#FFFFFF"
android:textSize="20sp" />
<Button
android:id="@+id/next1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="#000000"
android:text="NEXT"
android:textColor="#FFFFFF"
android:textSize="20sp" />
<TextView
android:id="@+id/test"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="0"
android:textColor="#FFFFFF"
android:textSize="20sp" />
</LinearLayout>
</ScrollView>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment