Created
May 18, 2017 10:54
-
-
Save ssaurel/b06f56b9b1aefec387cd2e7bcbf7eaaf to your computer and use it in GitHub Desktop.
Main Activity for the Thermometer Tutorial on the SSaurel's Channel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this doesn't have api implementation for android to import the com.ssaurel.mythermometer.Thermometer library