Skip to content

Instantly share code, notes, and snippets.

@alanmcgovern
Created December 6, 2015 23:36
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 alanmcgovern/e49298a5359cc4d8e414 to your computer and use it in GitHub Desktop.
Save alanmcgovern/e49298a5359cc4d8e414 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/snowbackground">
<DaysUntilXmasAndroid.SnowFallView
android:layout_width="match_parent"
android:layout_height="match_parent" />
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingTop="?android:attr/actionBarSize">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="6">
<AbsoluteLayout
android:minWidth="25px"
android:minHeight="25px"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/absoluteLayout1">
<ImageView
android:src="@drawable/us"
android:layout_width="match_parent"
android:layout_height="100"
android:id="@+id/imageView1" />
<TextView
android:id="@+id/titleText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="16dp"
android:paddingLeft="16dp"
android:textColor="@android:color/white"
android:text="@string/days_until"
android:textSize="25sp"
android:layout_gravity="bottom"
android:lineSpacingMultiplier=".9"
android:gravity="bottom" />
<TextView
android:id="@+id/titleDays"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="16dp"
android:lineSpacingMultiplier=".9"
android:textColor="@android:color/white"
android:textSize="45sp"
android:layout_gravity="top"
android:gravity="top" />
</AbsoluteLayout>
</LinearLayout>
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="4"
android:gravity="bottom"
android:layout_gravity="bottom">
<dk.ostebaronen.droid.viewpagerindicator.TitlePageIndicator
android:id="@+id/indicator"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
<android.support.v4.view.ViewPager
android:id="@+id/pager"
android:layout_width="fill_parent"
android:layout_height="0dp"
android:layout_weight="1" />
</LinearLayout>
</LinearLayout>
</FrameLayout>
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/snowbackground">
<DaysUntilXmasAndroid.SnowFallView
android:layout_width="match_parent"
android:layout_height="match_parent" />
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingTop="?android:attr/actionBarSize">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="6">
<TextView
android:id="@+id/titleText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="16dp"
android:paddingLeft="16dp"
android:textColor="@android:color/white"
android:text="@string/days_until"
android:textSize="25sp"
android:layout_gravity="bottom"
android:lineSpacingMultiplier=".9"
android:gravity="bottom" />
<TextView
android:id="@+id/titleDays"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="16dp"
android:lineSpacingMultiplier=".9"
android:textColor="@android:color/white"
android:textSize="45sp"
android:layout_gravity="top"
android:gravity="top" />
</LinearLayout>
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="4"
android:gravity="bottom"
android:layout_gravity="bottom">
<dk.ostebaronen.droid.viewpagerindicator.TitlePageIndicator
android:id="@+id/indicator"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
<android.support.v4.view.ViewPager
android:id="@+id/pager"
android:layout_width="fill_parent"
android:layout_height="0dp"
android:layout_weight="1" />
</LinearLayout>
</LinearLayout>
</FrameLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment