Created
May 21, 2013 14:22
-
-
Save mikklfr/5620152 to your computer and use it in GitHub Desktop.
header_layout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:orientation="vertical" | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent" | |
> | |
<RelativeLayout | |
android:layout_width="fill_parent" | |
android:layout_height="51dp" android:layout_alignParentLeft="true" | |
android:layout_alignParentTop="true" android:id="@+id/header_layout"> | |
<RelativeLayout | |
android:layout_width="116dp" | |
android:layout_height="fill_parent" android:layout_alignParentLeft="true" | |
android:layout_alignParentTop="true" android:layout_alignParentBottom="true" | |
android:id="@+id/header_layout_left" android:layout_toLeftOf="@+id/header_layout_right"> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="New Text" | |
android:id="@+id/textView" android:layout_centerHorizontal="true" | |
android:layout_centerVertical="true" android:layout_alignParentRight="true" | |
android:layout_alignParentLeft="true"/> | |
</RelativeLayout> | |
<RelativeLayout | |
android:layout_width="80dp" | |
android:layout_height="fill_parent" | |
android:layout_alignParentRight="true" android:layout_alignParentTop="true" | |
android:id="@+id/header_layout_right"> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="New Text" | |
android:id="@+id/header_right_top" | |
android:layout_centerHorizontal="true" android:layout_alignParentTop="true" | |
android:layout_alignParentRight="true" android:layout_alignParentLeft="true" | |
android:gravity="center_horizontal" android:layout_marginTop="2dip"/> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="New Text" | |
android:id="@+id/header_right_bottom" | |
android:layout_centerHorizontal="true" android:layout_alignParentBottom="true" | |
android:layout_alignRight="@+id/header_right_top" android:layout_alignLeft="@+id/header_right_top" | |
android:gravity="center_horizontal" android:layout_marginBottom="2dip"/> | |
</RelativeLayout> | |
</RelativeLayout> | |
</RelativeLayout> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment