daily pastebin goal
31%
SHARE
TWEET

Untitled

a guest Mar 25th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2.     xmlns:app="http://schemas.android.com/apk/res-auto"
  3.     xmlns:tools="http://schemas.android.com/tools"
  4.     android:layout_width="match_parent"
  5.     android:layout_height="match_parent"
  6.     tools:context=".CapsActivity">
  7.  
  8.     <TextView
  9.         android:id="@+id/score"
  10.         android:layout_width="wrap_content"
  11.         android:layout_height="0dp"
  12.         android:layout_marginStart="8dp"
  13.         android:layout_marginTop="8dp"
  14.         android:text="Score 0"
  15.         android:textSize="14sp"
  16.         android:textStyle="bold"
  17.         app:layout_constraintStart_toStartOf="parent"
  18.         app:layout_constraintTop_toTopOf="parent" />
  19.  
  20.     <TextView
  21.         android:id="@+id/qNum"
  22.         android:layout_width="wrap_content"
  23.         android:layout_height="0dp"
  24.         android:layout_marginTop="8dp"
  25.         android:layout_marginEnd="8dp"
  26.         android:text="Q# 1"
  27.         android:textSize="18sp"
  28.         android:textStyle="bold"
  29.         app:layout_constraintEnd_toEndOf="parent"
  30.         app:layout_constraintTop_toTopOf="parent" />
  31.  
  32.     <TextView
  33.         android:id="@+id/question"
  34.         android:layout_width="0dp"
  35.         android:layout_height="wrap_content"
  36.         android:layout_marginStart="8dp"
  37.         android:layout_marginTop="8dp"
  38.         android:layout_marginEnd="8dp"
  39.         android:text="question"
  40.         android:textAlignment="center"
  41.         android:textSize="18sp"
  42.         app:layout_constraintEnd_toEndOf="parent"
  43.         app:layout_constraintStart_toStartOf="parent"
  44.         app:layout_constraintTop_toBottomOf="@+id/qNum" />
  45.  
  46.     <EditText
  47.         android:id="@+id/answer"
  48.         android:layout_width="0dp"
  49.         android:layout_height="wrap_content"
  50.         android:layout_marginStart="8dp"
  51.         android:layout_marginTop="8dp"
  52.         android:layout_marginEnd="8dp"
  53.         android:ems="10"
  54.         android:hint="Your Answer"
  55.         android:inputType="textPersonName"
  56.         app:layout_constraintEnd_toStartOf="@+id/done"
  57.         app:layout_constraintStart_toStartOf="parent"
  58.         app:layout_constraintTop_toBottomOf="@+id/question" />
  59.  
  60.     <Button
  61.         android:id="@+id/done"
  62.         android:layout_width="wrap_content"
  63.         android:layout_height="wrap_content"
  64.         android:layout_marginTop="8dp"
  65.         android:layout_marginEnd="8dp"
  66.         android:onClick="onDone"
  67.         android:text="DONE"
  68.         app:layout_constraintEnd_toEndOf="parent"
  69.         app:layout_constraintTop_toBottomOf="@+id/question" />
  70.  
  71.     <ScrollView
  72.         android:layout_width="match_parent"
  73.         android:layout_height="0dp"
  74.         android:layout_marginStart="8dp"
  75.         android:layout_marginTop="8dp"
  76.         android:layout_marginEnd="8dp"
  77.         android:layout_marginBottom="8dp"
  78.         app:layout_constraintBottom_toBottomOf="parent"
  79.         app:layout_constraintEnd_toEndOf="parent"
  80.         app:layout_constraintHorizontal_bias="0.0"
  81.         app:layout_constraintStart_toStartOf="parent"
  82.         app:layout_constraintTop_toBottomOf="@+id/answer"
  83.         app:layout_constraintVertical_bias="0.050000012">
  84.  
  85.         <TextView
  86.             android:id="@+id/log"
  87.             android:layout_width="match_parent"
  88.             android:layout_height="match_parent"
  89.             tools:layout_editor_absoluteX="100dp"
  90.             tools:layout_editor_absoluteY="218dp" />
  91.     </ScrollView>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top