Created
September 27, 2017 07:45
-
-
Save ssaurel/d80313a9204df9cd746fce65a805c4fb to your computer and use it in GitHub Desktop.
Bitcoin Price Index Tutorial on the SSaurel's Blog
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:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context="com.ssaurel.bitcoinwatcher.MainActivity"> | |
<ImageView | |
android:id="@+id/logo" | |
android:layout_width="200dp" | |
android:layout_height="200dp" | |
android:layout_marginTop="50dp" | |
android:src="@drawable/bitcoin" | |
android:layout_centerHorizontal="true"/> | |
<TextView | |
android:id="@+id/txt" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_below="@id/logo" | |
android:layout_marginTop="50dp" | |
android:layout_centerHorizontal="true" | |
android:textSize="22sp" | |
android:text="Click to load" | |
android:gravity="center_horizontal"/> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment