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.
[#4] 'Preview iqsets' button is coming... yay! \o/
- Loading branch information
Showing
11 changed files
with
414 additions
and
74 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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RelativeLayout | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:id="@+id/container" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:background="@drawable/rounded_border" | ||
android:layout_gravity="center" | ||
android:layout_marginLeft="200dip" | ||
android:layout_marginRight="200dip" | ||
android:layout_marginTop="100dip" | ||
android:layout_marginBottom="100dip"> | ||
|
||
<ImageButton | ||
android:id="@+id/bt_close" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:background="@drawable/btn_close" | ||
android:contentDescription="@string/close_dialog" | ||
android:layout_alignParentRight="true" | ||
android:layout_marginRight="10dp" | ||
android:layout_marginTop="10dp" /> | ||
|
||
<TextView | ||
android:id="@+id/tv_title" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/iqset_uppercase" | ||
android:textStyle="bold" | ||
android:textSize="16sp" | ||
android:textColor="@color/black" | ||
android:layout_marginTop="30dip" | ||
android:layout_centerHorizontal="true" /> | ||
|
||
<View | ||
android:id="@+id/view_separator" | ||
android:layout_width="fill_parent" | ||
android:layout_height="1dip" | ||
android:layout_marginLeft="5dip" | ||
android:layout_marginRight="5dip" | ||
android:background="@color/gray" | ||
android:layout_below="@+id/bt_close" | ||
android:layout_margin="5dip"/> | ||
|
||
<ListView | ||
android:id="@+id/lv_questions_preview" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:layout_alignParentLeft="true" | ||
android:layout_below="@+id/view_separator" | ||
android:layout_marginBottom="20dip" | ||
android:layout_marginLeft="20dip" | ||
android:layout_marginRight="20dip" | ||
android:layout_marginTop="10dip" | ||
android:choiceMode="singleChoice" | ||
android:divider="@android:color/transparent" | ||
android:dividerHeight="10.0sp" /> | ||
|
||
|
||
</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,83 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<TableLayout | ||
xmlns:tools="http://schemas.android.com/tools" | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:orientation="vertical" | ||
android:background="@color/white" | ||
android:layout_height="fill_parent" | ||
android:layout_width="fill_parent" > | ||
|
||
<TableRow | ||
android:id="@+id/tr" | ||
android:layout_width="0dip" | ||
android:layout_height="wrap_content"> | ||
|
||
<TextView | ||
android:id="@+id/tv_question" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/question" | ||
android:layout_marginLeft="5dip" | ||
android:layout_marginRight="5dip" | ||
android:layout_marginTop="10dip" | ||
android:textSize="16sp" | ||
android:textColor="@color/black" /> | ||
</TableRow> | ||
|
||
<TableLayout | ||
android:orientation="horizontal" | ||
android:background="@color/white" | ||
android:layout_height="match_parent" | ||
android:layout_width="fill_parent" > | ||
|
||
<TableRow | ||
android:id="@+id/col1" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" > | ||
|
||
<TextView | ||
android:id="@+id/tv_alternative1" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/alternative1" | ||
android:layout_marginLeft="10dip" | ||
android:layout_marginRight="10dip" | ||
android:layout_marginTop="5dip" | ||
android:textSize="12sp" | ||
android:textColor="@color/blue" /> | ||
|
||
<TextView | ||
android:id="@+id/tv_alternative2" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/alternative2" | ||
android:layout_marginLeft="10dip" | ||
android:layout_marginRight="10dip" | ||
android:layout_marginTop="5dip" | ||
android:textSize="12sp" | ||
android:textColor="@color/blue" /> | ||
|
||
<TextView | ||
android:id="@+id/tv_alternative3" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/alternative3" | ||
android:layout_marginLeft="10dip" | ||
android:layout_marginRight="10dip" | ||
android:layout_marginTop="5dip" | ||
android:textSize="12sp" | ||
android:textColor="@color/blue" /> | ||
|
||
<TextView | ||
android:id="@+id/tv_alternative4" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/alternative4" | ||
android:layout_marginLeft="10dip" | ||
android:layout_marginRight="10dip" | ||
android:layout_marginTop="5dip" | ||
android:textSize="12sp" | ||
android:textColor="@color/blue" /> | ||
</TableRow> | ||
</TableLayout> | ||
</TableLayout> |
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.