-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
83c31d4
commit b74b8a7
Showing
5 changed files
with
126 additions
and
91 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
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,95 +1,96 @@ | ||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:paddingLeft="@dimen/activity_horizontal_margin" | ||
android:paddingRight="@dimen/activity_horizontal_margin" | ||
android:paddingTop="@dimen/activity_vertical_margin" | ||
android:paddingBottom="@dimen/activity_vertical_margin" | ||
tools:context="org.techniche.technothlon.katana.TCDSingleViewer$PlaceholderFragment"> | ||
<RelativeLayout | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:layout_alignParentTop="true" | ||
android:layout_alignParentLeft="true" | ||
android:layout_alignParentStart="true" | ||
android:layout_marginTop="@dimen/default_gap" | ||
android:padding="@dimen/default_gap" | ||
android:background="@drawable/tcd_content_back"> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
<ScrollView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:id="@+id/scrollView"> | ||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:paddingLeft="@dimen/activity_horizontal_margin" | ||
android:paddingRight="@dimen/activity_horizontal_margin" | ||
android:paddingTop="@dimen/activity_vertical_margin" | ||
android:paddingBottom="@dimen/activity_vertical_margin" | ||
tools:context="org.techniche.technothlon.katana.TCDSingleViewer$PlaceholderFragment"> | ||
<RelativeLayout | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:textAppearance="?android:attr/textAppearanceLarge" | ||
android:text="Question Title" | ||
android:id="@+id/tcd_title" | ||
android:textColor="@color/tcd_color_title_text" | ||
android:layout_alignParentTop="true" | ||
android:layout_alignParentRight="true" | ||
android:layout_alignParentEnd="true"/> | ||
android:layout_alignParentTop="false" | ||
android:layout_alignParentLeft="true" | ||
android:layout_alignParentStart="false" | ||
android:layout_marginTop="@dimen/default_gap" | ||
android:padding="@dimen/default_gap" | ||
android:background="@drawable/tcd_content_back" | ||
> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:textAppearance="?android:attr/textAppearanceLarge" | ||
android:text="Question Title" | ||
android:id="@+id/tcd_title" | ||
android:textColor="@color/tcd_color_title_text" | ||
android:layout_alignParentTop="true" | ||
android:layout_alignParentRight="true" | ||
android:layout_alignParentEnd="true"/> | ||
|
||
<ScrollView | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:id="@+id/scrollView" | ||
android:layout_alignRight="@+id/tcd_title" | ||
android:layout_alignEnd="@+id/tcd_title" | ||
android:scrollbars="none" | ||
android:layout_below="@+id/tcd_title" | ||
android:layout_marginTop="@dimen/default_gap"> | ||
|
||
<LinearLayout | ||
android:orientation="vertical" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content"> | ||
|
||
<TextView | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:text="A Japanese ship was en route to the open sea. The Japanese captain went for a shower removing his diamond ring and Rolex watch on the table. When he returned, his valuables were missing. \n A Japanese ship was en route to the open sea. The Japanese captain went for a shower removing his diamond ring and Rolex watch on the table. When he returned, his valuables were missing." | ||
android:id="@+id/tcd_question" | ||
android:textColor="@color/tcd_color_content_text" | ||
android:textAppearance="?android:attr/textAppearanceMedium" | ||
android:layout_alignParentStart="true" | ||
android:ellipsize="end" | ||
android:layout_alignEnd="@+id/tcd_title" | ||
android:paddingBottom="8dp"/> | ||
|
||
<TextView | ||
android:layout_width="match_parent" | ||
<LinearLayout | ||
android:orientation="vertical" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:textAppearance="?android:attr/textAppearanceSmall" | ||
android:text="Posted By" | ||
android:id="@+id/tcd_posted_by" | ||
android:textAlignment="viewEnd" | ||
android:gravity="right"/> | ||
android:layout_below="@+id/tcd_title" | ||
android:layout_marginTop="@dimen/default_gap"> | ||
|
||
<TextView | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:textAppearance="?android:attr/textAppearanceSmall" | ||
android:text="Date and status" | ||
android:id="@+id/tcd_status" | ||
android:textColor="@color/tcd_color_status_text" | ||
/> | ||
</LinearLayout> | ||
</ScrollView> | ||
<TextView | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:text="A Japanese ship was en route to the open sea. The Japanese captain went for a shower removing his diamond ring and Rolex watch on the table. When he returned, his valuables were missing. \n A Japanese ship was en route to the open sea. The Japanese captain went for a shower removing his diamond ring and Rolex watch on the table. When he returned, his valuables were missing." | ||
android:id="@+id/tcd_question" | ||
android:textColor="@color/tcd_color_content_text" | ||
android:textAppearance="?android:attr/textAppearanceMedium" | ||
android:layout_alignParentStart="true" | ||
android:ellipsize="end" | ||
android:layout_alignEnd="@+id/tcd_title" | ||
android:paddingBottom="8dp"/> | ||
|
||
<TextView | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:textAppearance="?android:attr/textAppearanceSmall" | ||
android:text="Posted By" | ||
android:autoLink="all" | ||
android:id="@+id/tcd_posted_by" | ||
android:textAlignment="viewEnd" | ||
android:gravity="right"/> | ||
|
||
<TextView | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:textAppearance="?android:attr/textAppearanceSmall" | ||
android:text="Date and status" | ||
android:id="@+id/tcd_status" | ||
android:textColor="@color/tcd_color_status_text" /> | ||
</LinearLayout> | ||
|
||
</RelativeLayout> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="#60" | ||
android:singleLine="true" | ||
android:id="@+id/tcd_id" | ||
android:layout_alignParentTop="true" | ||
android:layout_alignParentLeft="true" | ||
android:padding="@dimen/default_gap" | ||
android:background="@drawable/tcd_background_1" | ||
android:textColor="@color/tcd_color_id_text" | ||
android:textAppearance="?android:attr/textAppearanceLarge" | ||
android:layout_marginLeft="@dimen/activity_horizontal_margin" | ||
/> | ||
</RelativeLayout> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="#60" | ||
android:singleLine="true" | ||
android:id="@+id/tcd_id" | ||
android:layout_alignParentTop="true" | ||
android:layout_alignParentLeft="true" | ||
android:padding="@dimen/default_gap" | ||
android:background="@drawable/tcd_background_1" | ||
android:textColor="@color/tcd_color_id_text" | ||
android:textAppearance="?android:attr/textAppearanceLarge" | ||
android:layout_marginLeft="@dimen/activity_horizontal_margin" | ||
/> | ||
</RelativeLayout> | ||
</ScrollView> |
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 |
---|---|---|
@@ -1 +1,3 @@ | ||
// Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
// Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
dependencies { | ||
} |