This repository has been archived on 2025-04-28. You can view files and clone it, but cannot push or open issues or pull requests.
SnipIt/res/layout/activity_edit_profile.xml
djwesty b692a0d8c9 Snip It
Latest, and last version of Snip It, formerly SnipTease
2014-10-29 13:37:13 -07:00

96 lines
3.2 KiB
XML

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.example.sniptease.EditProfileActivity"
tools:ignore="MergeRootFrame" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ems="10"
android:text="Profile Picture" >
</TextView>
<ImageButton
android:id="@+id/edit_profile_upload_pic"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:onClick="onImageClick"
android:src="@drawable/ic_launcher" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:text="From:" />
<EditText
android:id="@+id/edit_profile_location"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10" >
<requestFocus />
</EditText>
<TextView
android:id="@+id/view_profile_username"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Interested in" />
<RadioGroup
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:id="@+id/edit_profile_orientation_group">"
<RadioButton
android:id="@+id/edit_profile_likes_men"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Men" />
<RadioButton
android:id="@+id/edit_profile_likes_women"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Women" />
<RadioButton
android:id="@+id/edit_profile_likes_both"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Both" />
</RadioGroup>
<TextView
android:id="@+id/view_profile_location_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="About Me" />
<EditText
android:id="@+id/edit_profile_about_me"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="textMultiLine" />
</LinearLayout>
</FrameLayout>