Skip to content

Instantly share code, notes, and snippets.

@pawegio
Last active February 27, 2018 21:48
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 pawegio/09f37aef8911aa3995a5330768e50236 to your computer and use it in GitHub Desktop.
Save pawegio/09f37aef8911aa3995a5330768e50236 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="wrap_content"
android:layout_margin="16dp"
android:orientation="vertical">
<TextView
android:id="@+id/dateView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="sans-serif-medium"
android:lines="1"
android:textColor="@android:color/black"
android:textSize="20sp"
tools:text="@tools:sample/date/ddmmyy" />
<TextView
android:id="@+id/remainingTimeView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="sans-serif-light"
android:lines="1"
tools:text="Remaining: 2 d 1 h 23 min 5 s" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment