Skip to content

Instantly share code, notes, and snippets.

@joshskeen
Last active April 10, 2018 23:11
Show Gist options
  • Save joshskeen/a590b443344a1a19504b1d7722fdca9e to your computer and use it in GitHub Desktop.
Save joshskeen/a590b443344a1a19504b1d7722fdca9e to your computer and use it in GitHub Desktop.
activity_new_character.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="16dp"
tools:context=".NewCharacterActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="name"
android:textColor="@color/colorPrimaryDark"
android:textSize="16sp" />
<TextView
android:id="@+id/nameTextView"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:textSize="24sp"
tools:text="Madrigal" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="race"
android:textColor="@color/colorPrimary"
android:textSize="16sp" />
<TextView
android:id="@+id/raceTextView"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:textSize="24sp"
tools:text="Elf" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="24dp"
android:layout_marginTop="16dp"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="stats"
android:textColor="@color/colorPrimary"
android:textSize="16sp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginEnd="4dp"
android:paddingTop="8dp"
android:text="wisdom:"
android:textColor="@color/colorPrimary"
android:textSize="16sp" />
<TextView
android:id="@+id/wisdomTextView"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginEnd="8dp"
android:textSize="24sp"
tools:text="16" />
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginEnd="4dp"
android:paddingTop="8dp"
android:text="strength:"
android:textColor="@color/colorPrimary"
android:textSize="16sp" />
<TextView
android:id="@+id/strengthTextView"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginEnd="8dp"
android:textSize="24sp"
tools:text="16" />
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginEnd="4dp"
android:paddingTop="8dp"
android:text="dexterity:"
android:textColor="@color/colorPrimary"
android:textSize="16sp" />
<TextView
android:id="@+id/dexterityTextView"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:textSize="24sp"
tools:text="16" />
</LinearLayout>
</LinearLayout>
<Button
android:id="@+id/generateButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="generate" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment