-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'rtl' of https://github.com/opticod/Toolkit-mobile-templ…
…ates into opticod-rtl
- Loading branch information
Showing
14 changed files
with
394 additions
and
9 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
97 changes: 97 additions & 0 deletions
97
FlashCardsTemplate/source/FlashCardsTemplateApp/res/layout/activity_main.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
<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:background="#4E79DE" | ||
android:gravity="center" | ||
android:orientation="vertical" | ||
android:padding="5dp" | ||
tools:context=".MainActivity" > | ||
|
||
<TextView | ||
android:id="@+id/flashCardNumber" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_alignParentLeft="true" | ||
android:layout_alignParentStart="true" | ||
android:layout_alignParentTop="true" | ||
android:layout_marginLeft="10dp" | ||
android:layout_marginStart="10dp" | ||
android:layout_marginRight="10dp" | ||
android:layout_marginEnd="10dp" | ||
android:textAppearance="?android:attr/textAppearanceMedium" | ||
android:textColor="@android:color/white" | ||
android:textSize="16sp" /> | ||
|
||
<View | ||
android:id="@+id/divider" | ||
android:layout_width="match_parent" | ||
android:layout_height="1dp" | ||
android:layout_below="@id/flashCardNumber" | ||
android:background="@android:color/white" /> | ||
|
||
<LinearLayout | ||
android:id="@+id/ll_btnlayout" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_alignParentBottom="true" | ||
android:gravity="center" > | ||
|
||
<Button | ||
android:id="@+id/pre_button" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:text="Previous" | ||
android:textColor="@android:color/white" /> | ||
|
||
<Button | ||
android:id="@+id/flip_button" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:text="Flip" | ||
android:textColor="@android:color/white" /> | ||
|
||
<Button | ||
android:id="@+id/next_button" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:text="Next" | ||
android:textColor="@android:color/white" /> | ||
</LinearLayout> | ||
|
||
<FrameLayout | ||
android:id="@+id/fl" | ||
android:layout_width="@dimen/card_width" | ||
android:layout_height="@dimen/card_width" | ||
android:layout_centerInParent="true" | ||
android:padding="0dp" > | ||
|
||
<include | ||
android:id="@+id/questionInMain" | ||
android:layout_margin="5dp" | ||
layout="@layout/question" /> | ||
|
||
<include | ||
android:id="@+id/answerInMain" | ||
layout="@layout/answer" /> | ||
</FrameLayout> | ||
|
||
<TextView | ||
android:id="@+id/flashCardText" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_below="@id/divider" | ||
android:layout_marginBottom="3dp" | ||
android:layout_marginLeft="10dp" | ||
android:layout_marginStart="10dp" | ||
android:layout_marginRight="10dp" | ||
android:layout_marginEnd="10dp" | ||
android:layout_marginTop="3dp" | ||
android:textAppearance="?android:attr/textAppearanceMedium" | ||
android:textColor="@android:color/white" | ||
android:textSize="16sp" /> | ||
|
||
</RelativeLayout> |
30 changes: 30 additions & 0 deletions
30
FlashCardsTemplate/source/FlashCardsTemplateApp/res/layout/question.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="@dimen/card_width" | ||
android:layout_height="@dimen/card_width" | ||
android:layout_gravity="center" | ||
android:background="@color/BlueBg" | ||
android:gravity="center" | ||
android:orientation="vertical" | ||
android:padding="5dp" | ||
tools:context=".MainActivity" > | ||
|
||
<ImageView | ||
android:id="@+id/questionImage" | ||
android:layout_width="@dimen/card_width" | ||
android:layout_height="@dimen/card_height" /> | ||
|
||
<TextView | ||
android:id="@+id/questionhint" | ||
android:layout_width="@dimen/card_width" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center" | ||
android:paddingLeft="10dp" | ||
android:paddingStart="10dp" | ||
android:text="text" | ||
android:paddingRight="10dp" | ||
android:paddingEnd="10dp" | ||
android:textAppearance="?android:attr/textAppearanceMedium" | ||
android:textColor="@android:color/white" /> | ||
|
||
</LinearLayout> |
61 changes: 61 additions & 0 deletions
61
FlashCardsTemplate/source/FlashCardsTemplateApp/res/layout/start_view.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<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:background="@color/BlueBg" | ||
android:paddingBottom="@dimen/activity_vertical_margin" | ||
android:paddingLeft="@dimen/activity_horizontal_margin" | ||
android:paddingStart="@dimen/activity_horizontal_margin" | ||
android:paddingRight="@dimen/activity_horizontal_margin" | ||
android:paddingEnd="@dimen/activity_horizontal_margin" | ||
android:paddingTop="@dimen/activity_vertical_margin" | ||
tools:context=".MainActivity" > | ||
|
||
<View | ||
android:id="@+id/divider" | ||
android:layout_width="fill_parent" | ||
android:layout_height="1dp" | ||
android:layout_centerInParent="true" | ||
android:background="#8798AC" /> | ||
|
||
<TextView | ||
android:id="@+id/tv_apptitle" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_above="@id/divider" | ||
android:layout_centerHorizontal="true" | ||
android:layout_margin="10dp" | ||
android:gravity="center" | ||
android:textAppearance="?android:attr/textAppearanceLarge" | ||
android:textColor="@android:color/white" | ||
android:textStyle="bold" > | ||
</TextView> | ||
|
||
<TextView | ||
android:id="@+id/tv_author" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_below="@id/divider" | ||
android:layout_centerHorizontal="true" | ||
android:layout_margin="10dp" | ||
android:gravity="center" | ||
android:textAppearance="?android:attr/textAppearanceLarge" | ||
android:textColor="@android:color/white" > | ||
</TextView> | ||
|
||
<Button | ||
android:id="@+id/btn_start" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignParentBottom="true" | ||
android:layout_centerHorizontal="true" | ||
android:text="Start" | ||
android:paddingLeft="15dp" | ||
android:paddingStart="15dp" | ||
android:paddingRight="15dp" | ||
android:paddingEnd="15dp" | ||
android:textAppearance="@android:style/TextAppearance.Large" | ||
android:textColor="@android:color/white" > | ||
</Button> | ||
|
||
</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
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
4 changes: 2 additions & 2 deletions
4
QuizTemplate/source/QuizTemplateApp/gradle/wrapper/gradle-wrapper.properties
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,6 +1,6 @@ | ||
#Wed Oct 21 11:34:03 PDT 2015 | ||
#Sat Jul 02 18:27:35 IST 2016 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip |
Oops, something went wrong.