Skip to content

Instantly share code, notes, and snippets.

@darianmh
Created September 16, 2021 19:28
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 darianmh/c1f786e0a58d817826e4f43a689f3a31 to your computer and use it in GitHub Desktop.
Save darianmh/c1f786e0a58d817826e4f43a689f3a31 to your computer and use it in GitHub Desktop.
my splash screen for LS1 App
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
android:layout_height="match_parent"
android:background="@drawable/main_gradient"
tools:context=".MainActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:id="@+id/textView4"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_horizontal|center_vertical"
android:text="@string/app_name"
android:textColor="@color/white"
android:textSize="36sp"
android:textStyle="bold|italic" />
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment