Skip to content

Instantly share code, notes, and snippets.

@jamiepinkham
Created May 21, 2010 15:55
Show Gist options
  • Save jamiepinkham/409009 to your computer and use it in GitHub Desktop.
Save jamiepinkham/409009 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"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/tumblr_dashboard_background"
android:orientation="vertical" >
<include layout="@layout/brand_bar_layout"/>
<ScrollView android:id="@+id/PostScrollView"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/tumblr_dashboard_background"
android:id="@+id/PostLayout">
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/tumblr_dashboard_background">
<EditText
android:id="@+id/title"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/text_title_hint"
/>
<EditText
android:id="@+id/body"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:hint="@string/text_body_hint"
android:singleLine="false"
android:gravity="top|left"
android:layout_weight="1.0" />
</LinearLayout>
</LinearLayout>
</ScrollView>
<LinearLayout
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:paddingTop="3dip"
android:background="#8e8e8e">
<Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/CancelButton" android:text="@string/cancel_button_title" android:layout_weight="0.0" android:layout_gravity="left|center"></Button>
<Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/TypeButton" android:text="Post type" android:layout_weight="1.0" android:gravity="center" android:layout_gravity="center"></Button>
<Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/SendButton" android:text="@string/send_label" android:layout_weight="0.0" android:layout_gravity="right|center"></Button>
</LinearLayout>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment