Skip to content

Instantly share code, notes, and snippets.

@RowlandOti
Created August 22, 2016 20:55
Show Gist options
  • Save RowlandOti/efc4cf7c124a570b68149ea46c40ce1f to your computer and use it in GitHub Desktop.
Save RowlandOti/efc4cf7c124a570b68149ea46c40ce1f 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"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context="com.doea.app.presentation.demofeature.view.activity.TestActivity">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/topLinear"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<ImageView
android:id="@+id/toppicture"
android:layout_width="match_parent"
android:layout_height="300dp"
android:src="@drawable/food_crockpot_veggie_lasagna" />
<TextView
android:id="@+id/phone"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingBottom="10dp"
android:text="Phone"
android:textColor="#ff6600"
android:textStyle="bold" />
<TextView
android:id="@+id/number"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/phone"
android:text="424-278-8938"
android:textColor="#000"
android:textStyle="normal" />
</LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<View
android:id="@+id/line"
android:layout_width="fill_parent"
android:layout_height="2dp"
android:layout_alignParentRight="true"
android:layout_marginTop="20dp"
android:background="#ff6600" />
<TextView
android:id="@+id/address"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/text"
android:paddingBottom="40dp"
android:paddingLeft="5dp"
android:text="Address: 5867 W 3rd St, Los Angeles, CA 90036"
android:textColor="#000"
android:textStyle="bold"
/>
<TextView
android:id="@+id/text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/button"
android:fontFamily="sans-serif-condensed"
android:paddingBottom="5dp"
android:text="Learn how to dance the Milonguero Tango style!"
android:textAlignment="center"
android:textColor="#000"
android:textSize="16sp" />
<Button
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="15dp"
android:text="Join Us" />
</LinearLayout>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment