Vedroid36
2/28/2013 - 10:27 AM

gistfile1.txt

<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fillViewport="true" >

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@color/settings_background"
        android:orientation="vertical"
        android:padding="10dp" >

        <LinearLayout
            style="@style/Settings.Item.Top"
            android:gravity="center"
            android:minHeight="100dip" >

            <ImageView
                android:id="@+id/user_profile_photo"
                style="@style/Profile.Image.EditProfile" />
        </LinearLayout>

        <View style="@style/Settings.Item.Divider" />

        <LinearLayout style="@style/Settings.Item.Middle" >

            <EditText
                android:id="@+id/user_profile_name"
                style="@style/Profile.EditText"
                android:ellipsize="end"
                android:hint="@string/profile_edit_name_hint"
                android:inputType="textCapWords"
                android:maxLines="1" />
        </LinearLayout>

        <View style="@style/Settings.Item.Divider" />

        <LinearLayout style="@style/Settings.Item.Middle" >

            <EditText
                android:id="@+id/user_profile_website"
                style="@style/Profile.EditText"
                android:ellipsize="end"
                android:hint="@string/profile_edit_website_hint"
                android:inputType="textUri"
                android:maxLines="1" />
        </LinearLayout>

        <View style="@style/Settings.Item.Divider" />

        <LinearLayout style="@style/Settings.Item.Bottom" >

            <EditText
                android:id="@+id/user_profile_description"
                style="@style/Profile.EditText"
                android:gravity="top"
                android:hint="@string/profile_edit_description_hint"
                android:inputType="textMultiLine"
                android:lines="3" />
        </LinearLayout>
    </LinearLayout>

</ScrollView>