Skip to content

Instantly share code, notes, and snippets.

@arpit999
Created April 26, 2016 09: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 arpit999/b6295616a3a244d0d1f86f3328808ed5 to your computer and use it in GitHub Desktop.
Save arpit999/b6295616a3a244d0d1f86f3328808ed5 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:id="@+id/line1"
android:layout_width="fill_parent"
android:layout_height="235dp"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:background="@drawable/about_hopefirst"
android:orientation="vertical"></LinearLayout>
<LinearLayout
android:id="@+id/line2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_below="@+id/line1"
android:layout_centerVertical="true"
android:orientation="vertical">
<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginTop="15dp"
android:text="About H.O.P.E"
android:textColor="@android:color/black"
android:textSize="20dp"
android:textStyle="bold" />
<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:layout_marginLeft="10dp"
android:layout_marginTop="5dp"
android:text="Getting text here_first" />
</LinearLayout>
<LinearLayout
android:id="@+id/line3"
android:layout_width="match_parent"
android:layout_height="250dp"
android:layout_below="@+id/line2"
android:background="#E0E0E0"
android:orientation="vertical"
android:padding="2dp">
<TextView
android:id="@+id/textView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:text="H.O.P.E. food pantry"
android:textColor="@android:color/black"
android:textSize="20dp"
android:textStyle="bold" />
<ImageView
android:layout_width="match_parent"
android:layout_height="200dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:background="@drawable/about_hopesecond"
android:orientation="vertical"></ImageView>
<TextView
android:id="@+id/text2"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginLeft="20dp"
android:text="JSon TEXTVIEW GET FROM URL" />
</LinearLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/line3"
android:layout_margin="10dp"
android:gravity="center_horizontal">
<Button
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:background="#FF9800"
android:padding="10dp"
android:text="Make a donation" />
</RelativeLayout>
</RelativeLayout>
</ScrollView>
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment