Skip to content

Instantly share code, notes, and snippets.

@cdmunoz
Created March 21, 2018 01:01
Show Gist options
  • Select an option

  • Save cdmunoz/4cd5dc5c2a94697a28c03283d523ef70 to your computer and use it in GitHub Desktop.

Select an option

Save cdmunoz/4cd5dc5c2a94697a28c03283d523ef70 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/cryptocurrency_card"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_4dp"
app:cardElevation="@dimen/cardview_default_elevation"
app:cardCornerRadius="@dimen/default_4dp"
>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<TextView
android:id="@+id/cryptocurrency_id"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:layout_margin="@dimen/default_8dp"
android:text="@string/cryptocurrency_text"
android:textSize="@dimen/text_name_size"
android:textStyle="italic"
android:textColor="@color/colorAccent"
/>
</RelativeLayout>
</android.support.v7.widget.CardView>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment