Skip to content

Instantly share code, notes, and snippets.

@asanand3
Created December 26, 2016 15:00
Show Gist options
  • Save asanand3/9e100262768674cbfb5ccfc1cf4abe4d to your computer and use it in GitHub Desktop.
Save asanand3/9e100262768674cbfb5ccfc1cf4abe4d 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:id="@+id/activity_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="movies.anandsingh.net.movies.MainActivity">
<TextView
android:text="TextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_marginLeft="108dp"
android:layout_marginStart="108dp"
android:layout_marginTop="87dp"
android:id="@+id/textView" />
<TextView
android:text="TextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/textView"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_marginLeft="19dp"
android:layout_marginStart="19dp"
android:id="@+id/textView2" />
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment