Skip to content

Instantly share code, notes, and snippets.

@ssaurel
Created May 18, 2017 10:54
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 ssaurel/b06f56b9b1aefec387cd2e7bcbf7eaaf to your computer and use it in GitHub Desktop.
Save ssaurel/b06f56b9b1aefec387cd2e7bcbf7eaaf to your computer and use it in GitHub Desktop.
Main Activity for the Thermometer Tutorial on the SSaurel's Channel
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/activity_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:background="@color/bgColor">
<com.ssaurel.mythermometer.Thermometer
android:layout_marginTop="50dp"
android:layout_marginBottom="80dp"
android:id="@+id/thermometer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_marginLeft="@dimen/activity_horizontal_margin"
android:layout_marginRight="@dimen/activity_horizontal_margin"
app:innerColor="@color/innerColor"
app:middleColor="@color/middleColor"
app:outerColor="@color/outerColor"
app:radius="60dp"/>
</RelativeLayout>
@iamcoderisk
Copy link

this doesn't have api implementation for android to import the com.ssaurel.mythermometer.Thermometer library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment