forked from SMILEConsortium/smile_teacher_android
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from chrqls/dev
[Issue #36] Adding a screen to get the session id between the login screen and the moment you start making questions
- Loading branch information
Showing
14 changed files
with
506 additions
and
17 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry exported="true" kind="lib" path="C:/Users/Charles/Desktop/activation.jar"/> | ||
<classpathentry exported="true" kind="lib" path="C:/Users/Charles/Desktop/additionnal.jar"/> | ||
<classpathentry exported="true" kind="lib" path="C:/Users/Charles/Desktop/mail.jar"/> | ||
<classpathentry kind="src" path="src/test/java"/> | ||
<classpathentry kind="src" path="src/main/java"/> | ||
<classpathentry kind="src" path="gen"/> | ||
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> | ||
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> | ||
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/> | ||
<classpathentry kind="output" path="bin/classes"/> | ||
</classpath> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry exported="true" kind="lib" path="libs/javax.mail-1.5.0.jar"/> | ||
<classpathentry exported="true" kind="lib" path="libs/activation-1.1.1.jar"/> | ||
<classpathentry kind="src" path="src/test/java"/> | ||
<classpathentry kind="src" path="src/main/java"/> | ||
<classpathentry kind="src" path="gen"/> | ||
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> | ||
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> | ||
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/> | ||
<classpathentry kind="output" path="bin/classes"/> | ||
</classpath> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,5 @@ | |
/smileplug-adm-test/target | ||
/gen | ||
/bin | ||
|
||
lint.xml |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:id="@+id/rl_dialog" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:background="@drawable/rounded_border" | ||
android:gravity="top|center" | ||
android:orientation="vertical" | ||
android:layout_margin="50dip"> | ||
|
||
<TextView | ||
android:id="@+id/tv_title" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="10dip" | ||
android:textColor="@color/black" | ||
android:textSize="12sp" | ||
/> | ||
|
||
<TextView | ||
android:id="@+id/tv_session_values" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_margin="10dip" | ||
android:text="@string/session_values" | ||
android:textColor="@color/black" | ||
android:textSize="12sp" | ||
/> | ||
|
||
<EditText | ||
android:id="@+id/teacher_name" | ||
android:layout_width="200dp" | ||
android:layout_height="50dp" | ||
android:hint="@string/teacher_name_hint" | ||
android:singleLine="true" | ||
android:inputType="textAutoCorrect|textCapSentences" | ||
android:layout_centerHorizontal="true" | ||
android:layout_marginTop="15dp"> | ||
</EditText> | ||
|
||
<EditText | ||
android:id="@+id/session_title" | ||
android:layout_width="200dp" | ||
android:layout_height="50dp" | ||
android:hint="@string/session_title_hint" | ||
android:singleLine="true" | ||
android:inputType="textAutoCorrect|textCapSentences" | ||
android:layout_centerHorizontal="true" | ||
android:layout_marginTop="15dp"> | ||
</EditText> | ||
|
||
<EditText | ||
android:id="@+id/group_name" | ||
android:layout_width="200dp" | ||
android:layout_height="50dp" | ||
android:hint="@string/group_name_hint" | ||
android:singleLine="true" | ||
android:inputType="textAutoCorrect|textCapSentences" | ||
android:layout_centerHorizontal="true" | ||
android:layout_marginTop="15dp"> | ||
</EditText> | ||
|
||
<Button | ||
android:id="@+id/btn_create_session" | ||
android:layout_width="100sp" | ||
android:layout_height="wrap_content" | ||
android:text="@string/btn_create_session" | ||
android:textSize="12sp" | ||
android:layout_marginTop="30dip" | ||
android:layout_centerInParent="true"/> | ||
|
||
</LinearLayout> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RelativeLayout | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:id="@+id/rl_dialog" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:background="@drawable/rounded_border" | ||
android:layout_gravity="center" | ||
android:layout_margin="200dip"> | ||
|
||
<TextView | ||
android:id="@+id/tv_title" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="10dip" | ||
android:textColor="@color/black" | ||
android:textSize="18sp" | ||
android:layout_centerHorizontal="true"/> | ||
|
||
<View | ||
android:id="@+id/view_separator2" | ||
android:layout_width="fill_parent" | ||
android:layout_height="1dip" | ||
android:background="@color/gray" | ||
android:layout_marginLeft="5dip" | ||
android:layout_marginRight="5dip" | ||
android:layout_marginBottom="20dip" | ||
android:layout_alignParentBottom="true"/> | ||
|
||
<Button | ||
android:id="@+id/btn_create_session" | ||
android:layout_width="150sp" | ||
android:layout_height="wrap_content" | ||
android:layout_alignParentBottom="true" | ||
android:layout_centerHorizontal="true" | ||
android:layout_marginBottom="35dp" | ||
android:text="@string/btn_create_session" | ||
android:textSize="20sp" /> | ||
|
||
<EditText | ||
android:id="@+id/session_title" | ||
android:layout_width="200dp" | ||
android:layout_height="50dp" | ||
android:layout_alignLeft="@+id/group_name" | ||
android:layout_centerVertical="true" | ||
android:ems="10" | ||
android:hint="@string/session_title_hint" | ||
android:inputType="textAutoCorrect|textCapSentences" | ||
android:singleLine="true" /> | ||
|
||
<EditText | ||
android:id="@+id/group_name" | ||
android:layout_width="200dp" | ||
android:layout_height="50dp" | ||
android:layout_alignLeft="@+id/teacher_name" | ||
android:layout_below="@+id/session_title" | ||
android:ems="10" | ||
android:hint="@string/group_name_hint" | ||
android:inputType="textAutoCorrect|textCapSentences" | ||
android:singleLine="true" /> | ||
|
||
<EditText | ||
android:id="@+id/teacher_name" | ||
android:layout_width="200dp" | ||
android:layout_height="50dp" | ||
android:layout_above="@+id/session_title" | ||
android:layout_centerHorizontal="true" | ||
android:ems="10" | ||
android:hint="@string/teacher_name_hint" | ||
android:inputType="textAutoCorrect|textCapSentences" | ||
android:singleLine="true" > | ||
|
||
<requestFocus /> | ||
</EditText> | ||
|
||
<TextView | ||
android:id="@+id/tv_session_values" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignBaseline="@+id/tv_title" | ||
android:layout_alignBottom="@+id/tv_title" | ||
android:layout_centerHorizontal="true" | ||
android:layout_margin="5dip" | ||
android:text="@string/session_values" | ||
android:textColor="@color/black" | ||
android:textSize="20sp" /> | ||
|
||
<View | ||
android:id="@+id/view_separator" | ||
android:layout_width="fill_parent" | ||
android:layout_height="1dip" | ||
android:layout_alignParentLeft="true" | ||
android:layout_below="@+id/tv_title" | ||
android:layout_margin="2dip" | ||
android:background="@color/gray" /> | ||
|
||
</RelativeLayout> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RelativeLayout | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:id="@+id/rl_dialog" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:background="@drawable/rounded_border" | ||
android:layout_gravity="center" | ||
android:layout_margin="50dip"> | ||
|
||
<TextView | ||
android:id="@+id/tv_title" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="10dip" | ||
android:textColor="@color/black" | ||
android:textSize="18sp" | ||
android:layout_centerHorizontal="true"/> | ||
|
||
<View | ||
android:id="@+id/view_separator2" | ||
android:layout_width="fill_parent" | ||
android:layout_height="1dip" | ||
android:background="@color/gray" | ||
android:layout_marginLeft="5dip" | ||
android:layout_marginRight="5dip" | ||
android:layout_marginBottom="20dip" | ||
android:layout_alignParentBottom="true"/> | ||
|
||
<EditText | ||
android:id="@+id/group_name" | ||
android:layout_width="200dp" | ||
android:layout_height="50dp" | ||
android:layout_above="@+id/view_separator2" | ||
android:layout_alignLeft="@+id/session_title" | ||
android:ems="10" | ||
android:hint="@string/group_name_hint" | ||
android:inputType="textAutoCorrect|textCapSentences" | ||
android:singleLine="true" > | ||
|
||
<requestFocus /> | ||
</EditText> | ||
|
||
<EditText | ||
android:id="@+id/teacher_name" | ||
android:layout_width="200dp" | ||
android:layout_height="50dp" | ||
android:layout_above="@+id/session_title" | ||
android:layout_alignLeft="@+id/session_title" | ||
android:ems="10" | ||
android:hint="@string/teacher_name_hint" | ||
android:inputType="textAutoCorrect|textCapSentences" | ||
android:singleLine="true" /> | ||
|
||
<EditText | ||
android:id="@+id/session_title" | ||
android:layout_width="200dp" | ||
android:layout_height="50dp" | ||
android:layout_above="@+id/group_name" | ||
android:layout_alignLeft="@+id/view_separator2" | ||
android:ems="10" | ||
android:hint="@string/session_title_hint" | ||
android:inputType="textAutoCorrect|textCapSentences" | ||
android:singleLine="true" /> | ||
|
||
<TextView | ||
android:id="@+id/tv_session_values" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignTop="@+id/tv_title" | ||
android:layout_centerHorizontal="true" | ||
android:text="@string/session_values" | ||
android:textColor="@color/black" | ||
android:textSize="18sp" /> | ||
|
||
<View | ||
android:id="@+id/view_separator" | ||
android:layout_width="fill_parent" | ||
android:layout_height="1dip" | ||
android:layout_alignRight="@+id/view_separator2" | ||
android:layout_below="@+id/tv_session_values" | ||
android:layout_margin="5dip" | ||
android:background="@color/gray" /> | ||
|
||
<Button | ||
android:id="@+id/btn_create_session" | ||
android:layout_width="150sp" | ||
android:layout_height="wrap_content" | ||
android:layout_alignBaseline="@+id/session_title" | ||
android:layout_alignBottom="@+id/session_title" | ||
android:layout_alignRight="@+id/view_separator" | ||
android:layout_marginRight="14dp" | ||
android:text="@string/btn_create_session" | ||
android:textSize="18sp" /> | ||
|
||
</RelativeLayout> |
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
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
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
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
Oops, something went wrong.