Skip to content

Instantly share code, notes, and snippets.

@MizzleDK
Created March 26, 2020 10:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save MizzleDK/d8f7c42c19f8525417af2ebb52b1e1f0 to your computer and use it in GitHub Desktop.
Save MizzleDK/d8f7c42c19f8525417af2ebb52b1e1f0 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<!-- LinearLayout because life is linear -->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:gravity="right">
<!-- TextView to welcome users into the app -->
<TextView
android:id="@id/logo_text"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:paddingBottom="10px"
android:textSize="32dp"
android:text="Welcome to YouSee" />
<!-- ImageView with YouSee logo -->
<ImageView
android:id="@+id/logo"
android:layout_width="150dp"
android:layout_height="75sp"
android:src="@android:drawable/star_big_on"
tools:src="@null"
/>
<!-- View to hold the solid background color -->
<View
android:id="@+id/background_color"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#ccc" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment