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_snip_attach_question.xml
djwesty b692a0d8c9 Snip It
Latest, and last version of Snip It, formerly SnipTease
2014-10-29 13:37:13 -07:00

102 lines
3.3 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.SnipAttachQuestionActivity"
tools:ignore="MergeRootFrame" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="@dimen/ActionBar_and_Tabs"
android:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<EditText
android:id="@+id/enterQuestionText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ems="10"
android:hint="Enter your question here" >
<requestFocus />
</EditText>
<CheckBox
android:id="@+id/saveQuestionCheckBox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Save?" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<Button
android:id="@+id/giveAHintButton"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:onClick="giveAHintOnClick"
android:text="Give a hint" />
<Button
android:id="@+id/myFavoriteHintButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="myFavoritesOnClick"
android:text="My favorites" />
</LinearLayout>
<EditText
android:id="@+id/correctAnswerText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:hint="Enter correct answer here" />
<EditText
android:id="@+id/firstFalseAnswerText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:hint="Enter false answer" />
<EditText
android:id="@+id/secondFalseAnswerText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:hint="Optional false answer" />
<EditText
android:id="@+id/thirdFalseAnswerText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:hint="Optional false answer" />
<Button
android:id="@+id/uploadSnipButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="sendSnipOnClick"
android:text="Send snip.." />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent" >
</LinearLayout>
</FrameLayout>