Skip to content

Instantly share code, notes, and snippets.

@ankit-lakhanpal
Created August 19, 2015 14:54
Show Gist options
  • Save ankit-lakhanpal/062403d57ee9ea67c3c7 to your computer and use it in GitHub Desktop.
Save ankit-lakhanpal/062403d57ee9ea67c3c7 to your computer and use it in GitHub Desktop.
bottom picture fragment
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_height="match_parent"
android:background="@drawable/ghsghd673">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:text="@string/toptext"
android:id="@+id/topmeme"
android:textColor="#ff1e1a"
android:gravity="center_horizontal"
android:layout_marginBottom="27dp"
android:layout_above="@+id/bottommeme"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:text="@string/bottom"
android:id="@+id/bottommeme"
android:textColor="#ff1e1a"
android:gravity="center_horizontal"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_marginBottom="34dp" />
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment