Skip to content

Instantly share code, notes, and snippets.

@joshskeen
Created March 30, 2018 16:20
Show Gist options
  • Save joshskeen/d0f600fef11ab73c203b96335770b269 to your computer and use it in GitHub Desktop.
Save joshskeen/d0f600fef11ab73c203b96335770b269 to your computer and use it in GitHub Desktop.
<?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/name"
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/race"
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/wisdom"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginEnd="8dp"
android:textSize="24sp"
tools:text="16" />
<TextView
android:id="@+id/strength"
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: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/dexterity"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:textSize="24sp"
tools:text="16" />
</LinearLayout>
</LinearLayout>
<Button
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