Skip to content

Instantly share code, notes, and snippets.

@Shivamdhuria
Created May 27, 2019 09:53
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 Shivamdhuria/18a816cb82544337aa9511d5256c496d to your computer and use it in GitHub Desktop.
Save Shivamdhuria/18a816cb82544337aa9511d5256c496d 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"
android:id="@+id/parent_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:layout_marginTop="16dp"
android:background="@color/colorPrimary"
android:orientation="vertical"
android:padding="20dp"
android:paddingBottom="10dp">
<TextView
android:id="@+id/task_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Thread Name"
android:textAppearance="@style/TextAppearance.AppCompat.Large" />
<ProgressBar
android:id="@+id/progressBar"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/colorPrimary" />
<TextView
android:id="@+id/status"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:hint="status" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment