├── .gitignore
├── .idea
├── compiler.xml
├── copyright
│ └── profiles_settings.xml
├── gradle.xml
├── inspectionProfiles
│ ├── Project_Default.xml
│ └── profiles_settings.xml
├── misc.xml
├── modules.xml
├── runConfigurations.xml
└── vcs.xml
├── README.md
├── all-land.jpg
├── app
├── .gitignore
├── build.gradle
├── google-services.json
├── proguard-rules.pro
└── src
│ └── main
│ ├── AndroidManifest.xml
│ ├── java
│ └── com
│ │ └── almanara
│ │ └── homeschool
│ │ ├── Almanara.java
│ │ ├── Answer.java
│ │ ├── CircleTransform.java
│ │ ├── ColorFilterTransformation.java
│ │ ├── Constants.java
│ │ ├── IndicatorViewPagerAdapter.java
│ │ ├── RotateTransformation.java
│ │ ├── UserModelHelper
│ │ ├── FileUploadHelper.java
│ │ ├── UploadFile.java
│ │ ├── UserModelFirebase.java
│ │ └── UserModelFirebaseClass.java
│ │ ├── adapter
│ │ ├── CategoryAdapter.java
│ │ ├── ChildrenAdapter.java
│ │ ├── CourseSectionListAdapter.java
│ │ ├── CustomListviewAdapter.java
│ │ ├── EnrolledCoursesAdapter.java
│ │ ├── ImageAdapter.java
│ │ ├── InstructorTopicsAdapter.java
│ │ ├── SampleCoursesToolbarAdapter.java
│ │ ├── StudentTopicsAdapter.java
│ │ ├── TopicsAdapter.java
│ │ └── TopicsFirebaseAdapter.java
│ │ ├── childEnrolledCourses
│ │ ├── Courses.java
│ │ ├── Courses2.java
│ │ ├── EnrolledCourseActivity.java
│ │ ├── EnrolledCoursesAdapter1.java
│ │ ├── LessonModel2.java
│ │ └── MyCoursesFragment.java
│ │ ├── childProgress
│ │ ├── ChildCourses.java
│ │ ├── ChildCoursesFragment.java
│ │ ├── ChildProgressAdapter.java
│ │ └── ChildProgressAdapter1.java
│ │ ├── controller
│ │ ├── activities
│ │ │ ├── BaseActivity.java
│ │ │ ├── Home.java
│ │ │ ├── StudentFeaturedCourses.java
│ │ │ ├── StudentHomeActivity.java
│ │ │ ├── Utility.java
│ │ │ └── courseInterface.java
│ │ └── fragments
│ │ │ ├── StudentFeaturedCoursesFragment.java
│ │ │ └── TopicsFragment.java
│ │ ├── data
│ │ ├── CategoryInformation.java
│ │ ├── HeaderRVData.java
│ │ ├── InternetConnectionChecker.java
│ │ └── firebase
│ │ │ ├── ChildModel.java
│ │ │ ├── CourseCreated.java
│ │ │ ├── Courses.java
│ │ │ ├── EnrolledCourseModel.java
│ │ │ ├── LessonModel.java
│ │ │ ├── ProgressModel.java
│ │ │ ├── TopicModel.java
│ │ │ ├── Topics.java
│ │ │ ├── UserModel.java
│ │ │ └── Users.java
│ │ ├── descriptionActivity
│ │ └── CourseDescriptionActivity.java
│ │ ├── exercises
│ │ ├── simple
│ │ │ └── SimpleExercises.java
│ │ └── speech
│ │ │ └── Speech.java
│ │ ├── home
│ │ ├── Guest.java
│ │ ├── MainActivity.java
│ │ └── Splash.java
│ │ ├── instructor
│ │ ├── InstructorActivity.java
│ │ ├── ParseXMLInstructor.java
│ │ ├── RecyclerListAdapter.java
│ │ ├── create
│ │ │ ├── InstructorTopicCreationActivity.java
│ │ │ ├── OnEditLayoutReady.java
│ │ │ ├── OnLayoutReadyInterface.java
│ │ │ ├── OnQuestionLayoutReady.java
│ │ │ ├── ProgressImage.java
│ │ │ ├── dialogs
│ │ │ │ ├── AnimationDialog.java
│ │ │ │ ├── ColorQuestionDialog.java
│ │ │ │ ├── ImageDialog.java
│ │ │ │ ├── MainDialog.java
│ │ │ │ ├── MainQuestionDialog.java
│ │ │ │ ├── MainTextDialog.java
│ │ │ │ ├── MatchingDialog.java
│ │ │ │ ├── MultiImageQueDialog.java
│ │ │ │ ├── MultiQuestionDialog.java
│ │ │ │ ├── SoundDialog.java
│ │ │ │ ├── SpeechDialog.java
│ │ │ │ ├── TextDetectionDialog.java
│ │ │ │ └── TextViewDialog.java
│ │ │ ├── ordering
│ │ │ │ ├── DoneOrderInterface.java
│ │ │ │ ├── ItemTouchHelperAdapter.java
│ │ │ │ ├── ItemTouchHelperViewHolder.java
│ │ │ │ ├── OnStartDragListener.java
│ │ │ │ └── SimpleItemTouchHelperCallback.java
│ │ │ └── xmlinterface
│ │ │ │ ├── ImageClicked.java
│ │ │ │ ├── LoadImage.java
│ │ │ │ ├── TextAppInterface.java
│ │ │ │ ├── UpdateLayoutListInterface.java
│ │ │ │ ├── XMLClick.java
│ │ │ │ ├── XMLClickParent.java
│ │ │ │ └── XMLEditClick.java
│ │ ├── home
│ │ │ ├── Classroom.java
│ │ │ ├── CourseCreatedAdapter.java
│ │ │ ├── InstructorCoursesCardAdapter.java
│ │ │ └── InstructorFragment.java
│ │ ├── lesson
│ │ │ ├── InstructorLessonAdapter.java
│ │ │ └── InstructorLessonsActivity.java
│ │ └── topic
│ │ │ └── InstructorTopicActivity.java
│ │ ├── login
│ │ ├── SignInAs.java
│ │ ├── SignInAsAdapter.java
│ │ └── Sign_In.java
│ │ ├── module
│ │ ├── layoutmanager
│ │ │ ├── LondonEyeLayoutManager.java
│ │ │ ├── QuadrantCalculator.java
│ │ │ ├── ViewData.java
│ │ │ ├── circle_helper
│ │ │ │ ├── SectorPointCreator.java
│ │ │ │ ├── UnitCircleFourthQuadrantHelper.java
│ │ │ │ ├── circle_points_creator
│ │ │ │ │ ├── CirclePointsCreator.java
│ │ │ │ │ └── FirstQuadrantCirclePointsCreator.java
│ │ │ │ ├── mirror_helper
│ │ │ │ │ ├── CircleMirrorHelper.java
│ │ │ │ │ └── FirstQuadrantCircleMirrorHelper.java
│ │ │ │ ├── point
│ │ │ │ │ ├── Point.java
│ │ │ │ │ └── UpdatablePoint.java
│ │ │ │ └── quadrant_helper
│ │ │ │ │ ├── FirstQuadrantHelper.java
│ │ │ │ │ ├── QuadrantHelper.java
│ │ │ │ │ └── QuadrantHelperFactory.java
│ │ │ ├── layouter
│ │ │ │ ├── Layouter.java
│ │ │ │ └── LayouterCallback.java
│ │ │ └── scroller
│ │ │ │ ├── IScrollHandler.java
│ │ │ │ ├── NaturalScrollHandler.java
│ │ │ │ ├── PixelPerfectScrollHandler.java
│ │ │ │ ├── ScrollHandler.java
│ │ │ │ └── ScrollHandlerCallback.java
│ │ └── utils
│ │ │ ├── Capsule.java
│ │ │ ├── Config.java
│ │ │ └── DebugRecyclerView.java
│ │ ├── parent
│ │ ├── ParentActivity.java
│ │ └── home
│ │ │ ├── ChildsAdapter.java
│ │ │ └── ParentActivityFragment.java
│ │ ├── register
│ │ └── Register.java
│ │ └── student
│ │ ├── StudentHomeActivityNew.java
│ │ ├── StudentHomeAdapter.java
│ │ ├── course
│ │ ├── CoursesFragment.java
│ │ ├── StudentCoursesAdapter.java
│ │ └── lesson
│ │ │ ├── LessonActivity.java
│ │ │ ├── StudentLessonAdapter.java
│ │ │ └── topic
│ │ │ ├── ButtonClicked.java
│ │ │ ├── ClassActivity.java
│ │ │ ├── CubeOutTransformer.java
│ │ │ ├── GenResult.java
│ │ │ ├── ImageClickedStudent.java
│ │ │ ├── LessonFragment.java
│ │ │ ├── LessonPagerAdapter.java
│ │ │ ├── NestedFrag.java
│ │ │ ├── ParseXMLStudent.java
│ │ │ └── template
│ │ │ ├── AnimationFragment.java
│ │ │ ├── ColorFragment.java
│ │ │ ├── MatchingFragment.java
│ │ │ ├── MultiImageQuestionFragment.java
│ │ │ ├── SpeechFragment.java
│ │ │ └── TextDetectionFragment.java
│ │ └── main
│ │ └── MainStudentFragment.java
│ └── res
│ ├── anim
│ ├── blink.xml
│ ├── clockwise.xml
│ ├── course_image.xml
│ ├── fade.xml
│ ├── move.xml
│ ├── myanimation.xml
│ └── slide.xml
│ ├── drawable-hdpi
│ ├── back11.png
│ ├── back2.png
│ ├── back222.png
│ ├── back3.png
│ ├── background.png
│ ├── camera.png
│ ├── characteres_1.png
│ ├── characteres_2.png
│ ├── ic_reorder_grey_500_24dp.png
│ ├── instructor_background.png
│ ├── lessons.png
│ ├── lessons_2.png
│ ├── logo.png
│ ├── micro.png
│ ├── parent_background.png
│ ├── screen.png
│ ├── splash.png
│ ├── start_1.png
│ ├── start_2.png
│ ├── student_background.png
│ └── vte.png
│ ├── drawable-ldpi
│ ├── back11.png
│ ├── back2.png
│ ├── back222.png
│ ├── back3.png
│ ├── background.png
│ ├── camera.png
│ ├── characteres_1.png
│ ├── characteres_2.png
│ ├── instructor_background.png
│ ├── lessons.png
│ ├── lessons_2.png
│ ├── logo.png
│ ├── micro.png
│ ├── parent_background.png
│ ├── screen.png
│ ├── splash.png
│ ├── start_1.png
│ ├── start_2.png
│ ├── student_background.png
│ └── vte.png
│ ├── drawable-mdpi
│ ├── back11.png
│ ├── back2.png
│ ├── back222.png
│ ├── back3.png
│ ├── background.png
│ ├── camera.png
│ ├── characteres_1.png
│ ├── characteres_2.png
│ ├── ic_reorder_grey_500_24dp.png
│ ├── instructor_background.png
│ ├── lessons.png
│ ├── lessons_2.png
│ ├── logo.png
│ ├── micro.png
│ ├── parent_background.png
│ ├── screen.png
│ ├── splash.png
│ ├── start_1.png
│ ├── start_2.png
│ ├── student_background.png
│ └── vte.png
│ ├── drawable-xhdpi
│ ├── back11.png
│ ├── back2.png
│ ├── back222.png
│ ├── back3.png
│ ├── background.png
│ ├── camera.png
│ ├── characteres_1.png
│ ├── characteres_2.png
│ ├── ic_reorder_grey_500_24dp.png
│ ├── instructor_background.png
│ ├── lessons.png
│ ├── lessons_2.png
│ ├── logo.png
│ ├── micro.png
│ ├── parent_background.png
│ ├── screen.png
│ ├── splash.png
│ ├── start_1.png
│ ├── start_2.png
│ ├── student_background.png
│ └── vte.png
│ ├── drawable-xxhdpi
│ ├── back11.png
│ ├── back2.png
│ ├── back222.png
│ ├── back3.png
│ ├── background.png
│ ├── camera.png
│ ├── characteres_1.png
│ ├── characteres_2.png
│ ├── ic_reorder_grey_500_24dp.png
│ ├── instructor_background.png
│ ├── lessons.png
│ ├── lessons_2.png
│ ├── logo.png
│ ├── micro.png
│ ├── parent_background.png
│ ├── screen.png
│ ├── splash.png
│ ├── start_1.png
│ ├── start_2.png
│ ├── student_background.png
│ └── vte.png
│ ├── drawable
│ ├── a.jpg
│ ├── a4.png
│ ├── animation.png
│ ├── border.xml
│ ├── button_animation.xml
│ ├── button_shape.xml
│ ├── button_shape_pressed.xml
│ ├── card_press.xml
│ ├── catimage.jpg
│ ├── color.png
│ ├── course.png
│ ├── customprogress.xml
│ ├── earlymath.png
│ ├── empty.png
│ ├── empty1.png
│ ├── ic_audiotrack_black_24dp.xml
│ ├── ic_mic_black_24dp.xml
│ ├── ic_photo_camera_black_24dp.xml
│ ├── icon.png
│ ├── icon2.png
│ ├── image.png
│ ├── instructor_icon.png
│ ├── java.jpg
│ ├── mail.png
│ ├── my_course.png
│ ├── parents_icon.png
│ ├── password.png
│ ├── photoid.png
│ ├── profile.png
│ ├── progress_child.xml
│ ├── question.png
│ ├── ripple.xml
│ ├── selected.png
│ ├── signout.png
│ ├── sound.png
│ ├── student_icon.png
│ ├── support.png
│ ├── text.png
│ ├── uploadphoto.png
│ └── user.png
│ ├── ids
│ ├── layout
│ ├── activity_child_courses.xml
│ ├── activity_class_trial.xml
│ ├── activity_classroom.xml
│ ├── activity_course_description.xml
│ ├── activity_gen_result.xml
│ ├── activity_instructor.xml
│ ├── activity_instructor_lessons.xml
│ ├── activity_instructor_topic.xml
│ ├── activity_instructor_topic2.xml
│ ├── activity_lesson.xml
│ ├── activity_parent.xml
│ ├── activity_simple_exercies.xml
│ ├── activity_splash.xml
│ ├── activity_student_home.xml
│ ├── animation_dialog.xml
│ ├── animtation_fragment_topic.xml
│ ├── app_bar_main3.xml
│ ├── category_item_card.xml
│ ├── child_progress_item.xml
│ ├── children_item_card.xml
│ ├── color_fragment.xml
│ ├── color_question_dialog.xml
│ ├── content_child_courses.xml
│ ├── content_main4.xml
│ ├── content_main5.xml
│ ├── content_parent.xml
│ ├── correct_answer.xml
│ ├── course_created_list_item.xml
│ ├── course_item.xml
│ ├── course_section_list_item.xml
│ ├── courses_fragment_layout.xml
│ ├── courseslayout.xml
│ ├── delete_dialog.xml
│ ├── dialog_add_course.xml
│ ├── dialog_button.xml
│ ├── enrolled_course_item.xml
│ ├── fragment_child_courses.xml
│ ├── fragment_courses.xml
│ ├── fragment_main_student.xml
│ ├── fragment_matching.xml
│ ├── fragment_multi_image_question.xml
│ ├── fragment_my_courses_fragmetnt.xml
│ ├── fragment_parent2.xml
│ ├── guest.xml
│ ├── guest_activity.xml
│ ├── holder_ordering_layout.xml
│ ├── home_activity.xml
│ ├── image_dialog.xml
│ ├── indicatior_item.xml
│ ├── instructor_course_card_item.xml
│ ├── instructor_drawer_layout.xml
│ ├── instructor_fragment.xml
│ ├── instructor_lesson_item_view.xml
│ ├── layout_parameters.xml
│ ├── lesson_dialog.xml
│ ├── list_item.xml
│ ├── matching_dialog.xml
│ ├── matching_fragment.xml
│ ├── mulit_choice_dialog.xml
│ ├── mulit_image_question.xml
│ ├── nav_header_main3.xml
│ ├── nav_header_main4.xml
│ ├── nested_frag.xml
│ ├── pager_item.xml
│ ├── parent_drawer_layout.xml
│ ├── question_layout.xml
│ ├── question_list.xml
│ ├── register.xml
│ ├── sign_in_as.xml
│ ├── signin.xml
│ ├── sound_dialog.xml
│ ├── speech_fragment.xml
│ ├── speech_question_dialog.xml
│ ├── student_lesson_item_view.xml
│ ├── text_detection_dialog.xml
│ ├── text_detection_fragment.xml
│ ├── text_view_dialog.xml
│ ├── topic_list_item.xml
│ └── topics_flow_progress_bar.xml
│ ├── menu
│ ├── activity_main3_drawer.xml
│ ├── home_menu.xml
│ ├── instructor.xml
│ ├── instructor_course_menu.xml
│ └── instructor_drawer.xml
│ ├── raw
│ ├── animated.gif
│ ├── backgroundsound.mp3
│ ├── backgroundsound2.mp3
│ ├── backgroundsound3.mp3
│ ├── catname.mp3
│ ├── onpresss.mp3
│ ├── source.gif
│ ├── wronganswer.mp3
│ └── yay.mp4
│ ├── values-ar
│ └── strings.xml
│ ├── values-v21
│ └── styles.xml
│ ├── values-w820dp
│ └── dimens.xml
│ └── values
│ ├── colors.xml
│ ├── dimens.xml
│ ├── fragmentids.xml
│ ├── strings.xml
│ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
└── wrapper
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── newKey.jks
└── settings.gradle
/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/.idea/compiler.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/.idea/copyright/profiles_settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/.idea/gradle.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
18 |
19 |
--------------------------------------------------------------------------------
/.idea/inspectionProfiles/Project_Default.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/.idea/inspectionProfiles/profiles_settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/.idea/runConfigurations.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # HomeSchool
2 | Android App Education Platform by interactive lessons and questions.
3 | 
4 |
5 | ## ScreenShots
6 | 
7 |
8 | ## Libraries
9 | * [ButterKnife](https://github.com/JakeWharton/butterknife)
10 | * [Glide](https://github.com/bumptech/glide)
11 |
--------------------------------------------------------------------------------
/all-land.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/all-land.jpg
--------------------------------------------------------------------------------
/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /home/ali/Android/Sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 | -keepattributes Signature
19 |
20 | -keepclassmembers class com.almanara.homeschool.data.firebase.** {
21 | *;
22 | }
23 | -dontwarn com.akexorcist.roundcornerprogressbar.TextRoundCornerProgressBar
24 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/Almanara.java:
--------------------------------------------------------------------------------
1 | //package com.almanara.homeschool;
2 | //
3 | //import android.app.Application;
4 | //
5 | //import com.squareup.leakcanary.LeakCanary;
6 | //
7 | ///**
8 | // * Created by Ali on 7/3/2017.
9 | // */
10 | //
11 | //public class Almanara extends Application {
12 | // @Override
13 | // public void onCreate() {
14 | // super.onCreate();
15 | // if (LeakCanary.isInAnalyzerProcess(this)) {
16 | // // This process is dedicated to LeakCanary for heap analysis.
17 | // // You should not init your app in this process.
18 | // return;
19 | // }
20 | // LeakCanary.install(this);
21 | // // Normal app init code...
22 | // }
23 | //}
24 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/Answer.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool;
2 | import android.os.Parcel;
3 | import android.os.Parcelable;
4 |
5 | /**
6 | * Created by Ali on 6/4/2017.
7 | */
8 |
9 | public class Answer implements Parcelable {
10 | String answer="null";
11 | String lan="null";
12 | public Answer(){}
13 |
14 | public Answer(String answer, String lan) {
15 | this.answer = answer;
16 | this.lan = lan;
17 | }
18 |
19 | public Answer(String answer) {
20 | this.answer = answer;
21 | }
22 |
23 | public String getAnswer() {
24 | return answer;
25 | }
26 |
27 | public void setAnswer(String answer) {
28 | this.answer = answer;
29 | }
30 |
31 | public String getLan() {
32 | return lan;
33 | }
34 |
35 | public void setLan(String lan) {
36 | this.lan = lan;
37 | }
38 |
39 | @Override
40 | public int describeContents() {
41 | return 0;
42 | }
43 |
44 | @Override
45 | public void writeToParcel(Parcel dest, int flags) {
46 | dest.writeString(this.answer);
47 | dest.writeString(this.lan);
48 | }
49 |
50 | protected Answer(Parcel in) {
51 | this.answer = in.readString();
52 | this.lan = in.readString();
53 | }
54 |
55 | public static final Creator CREATOR = new Creator() {
56 | @Override
57 | public Answer createFromParcel(Parcel source) {
58 | return new Answer(source);
59 | }
60 |
61 | @Override
62 | public Answer[] newArray(int size) {
63 | return new Answer[size];
64 | }
65 | };
66 | }
67 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/CircleTransform.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool;
2 |
3 | import android.content.Context;
4 | import android.graphics.Bitmap;
5 | import android.graphics.BitmapShader;
6 | import android.graphics.Canvas;
7 | import android.graphics.Paint;
8 |
9 | import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool;
10 | import com.bumptech.glide.load.resource.bitmap.BitmapTransformation;
11 |
12 | /**
13 | * Created by hossam on 03/06/17.
14 | */
15 |
16 | public class CircleTransform extends BitmapTransformation {
17 | public CircleTransform(Context context) {
18 | super(context);
19 | }
20 |
21 | @Override protected Bitmap transform(BitmapPool pool, Bitmap toTransform, int outWidth, int outHeight) {
22 | return circleCrop(pool, toTransform);
23 | }
24 |
25 | private static Bitmap circleCrop(BitmapPool pool, Bitmap source) {
26 | if (source == null) return null;
27 |
28 | int size = Math.min(source.getWidth(), source.getHeight());
29 | int x = (source.getWidth() - size) / 2;
30 | int y = (source.getHeight() - size) / 2;
31 |
32 | // TODO this could be acquired from the pool too
33 | Bitmap squared = Bitmap.createBitmap(source, x, y, size, size);
34 |
35 | Bitmap result = pool.get(size, size, Bitmap.Config.ARGB_8888);
36 | if (result == null) {
37 | result = Bitmap.createBitmap(size, size, Bitmap.Config.ARGB_8888);
38 | }
39 |
40 | Canvas canvas = new Canvas(result);
41 | Paint paint = new Paint();
42 | paint.setShader(new BitmapShader(squared, BitmapShader.TileMode.CLAMP, BitmapShader.TileMode.CLAMP));
43 | paint.setAntiAlias(true);
44 | float r = size / 2f;
45 | canvas.drawCircle(r, r, r, paint);
46 | return result;
47 | }
48 |
49 | @Override public String getId() {
50 | return getClass().getName();
51 | }
52 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/RotateTransformation.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool;
2 |
3 | import android.content.Context;
4 | import android.graphics.Bitmap;
5 | import android.graphics.Matrix;
6 |
7 | import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool;
8 | import com.bumptech.glide.load.resource.bitmap.BitmapTransformation;
9 |
10 | /**
11 | * Created by Ali on 6/29/2017.
12 | */
13 |
14 | public class RotateTransformation extends BitmapTransformation {
15 |
16 | private float rotateRotationAngle = 0f;
17 |
18 | public RotateTransformation(Context context, float rotateRotationAngle) {
19 | super( context );
20 |
21 | this.rotateRotationAngle = rotateRotationAngle;
22 | }
23 |
24 | @Override
25 | protected Bitmap transform(BitmapPool pool, Bitmap toTransform, int outWidth, int outHeight) {
26 | Matrix matrix = new Matrix();
27 |
28 | matrix.postRotate(rotateRotationAngle);
29 |
30 | return Bitmap.createBitmap(toTransform, 0, 0, toTransform.getWidth(), toTransform.getHeight(), matrix, true);
31 | }
32 |
33 | @Override
34 | public String getId() {
35 | return "rotate" + rotateRotationAngle;
36 | }
37 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/UserModelHelper/FileUploadHelper.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.UserModelHelper;
2 |
3 | /**
4 | * Created by manar_000 on 6/2/2017.
5 | */
6 |
7 | public interface FileUploadHelper {
8 |
9 | public void fileUploaded(String url);
10 |
11 | }
12 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/UserModelHelper/UserModelFirebase.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.UserModelHelper;
2 |
3 | import com.almanara.homeschool.data.firebase.UserModel;
4 |
5 | /**
6 | * Created by hossam on 02/06/17.
7 | */
8 |
9 | public interface UserModelFirebase {
10 | public void dataRetrieved(UserModel userModel);
11 | }
12 |
13 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/adapter/ImageAdapter.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.adapter;
2 |
3 | import android.content.Context;
4 | import android.view.View;
5 | import android.view.ViewGroup;
6 | import android.widget.BaseAdapter;
7 | import android.widget.GridView;
8 | import android.widget.ImageView;
9 |
10 | import com.almanara.ali.homeschool.R;
11 |
12 | /**
13 | * Created by P on 2/6/2017.
14 | */
15 |
16 | public class ImageAdapter extends BaseAdapter {
17 | private Context mContext;
18 |
19 | public ImageAdapter(Context c) {
20 | mContext = c;
21 | }
22 |
23 | public int getCount() {
24 | return mThumbIds.length;
25 | }
26 |
27 | public Object getItem(int position) {
28 | return null;
29 | }
30 |
31 | public long getItemId(int position) {
32 | return 0;
33 | }
34 |
35 | // create a new ImageView for each item referenced by the Adapter
36 | public View getView(int position, View convertView, ViewGroup parent) {
37 | ImageView imageView;
38 | if (convertView == null) {
39 | // if it's not recycled, initialize some attributes
40 | imageView = new ImageView(mContext);
41 | imageView.setLayoutParams(new GridView.LayoutParams(300,300));
42 | imageView.setScaleType(ImageView.ScaleType.FIT_XY);
43 | imageView.setPadding(8, 8, 8, 8);
44 | } else {
45 | imageView = (ImageView) convertView;
46 | }
47 |
48 | imageView.setImageResource(mThumbIds[position]);
49 | return imageView;
50 | }
51 |
52 | // references to our images
53 | private Integer[] mThumbIds = {
54 | R.drawable.a, R.drawable.a,
55 | R.drawable.a,R.drawable.a,
56 | R.drawable.a,R.drawable.a,
57 | R.drawable.a,R.drawable.a,
58 | R.drawable.a,R.drawable.a,
59 | R.drawable.a,R.drawable.a,
60 | R.drawable.a,R.drawable.a,
61 | R.drawable.a,R.drawable.a
62 | };
63 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/adapter/SampleCoursesToolbarAdapter.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.adapter;
2 |
3 | import android.content.Context;
4 | import android.content.Intent;
5 | import android.support.v4.view.PagerAdapter;
6 | import android.support.v4.view.ViewPager;
7 | import android.view.View;
8 | import android.view.ViewGroup;
9 | import android.widget.ImageView;
10 |
11 | import com.almanara.homeschool.descriptionActivity.CourseDescriptionActivity;
12 | import com.bumptech.glide.Glide;
13 | import com.almanara.homeschool.data.firebase.CourseCreated;
14 |
15 | import java.util.ArrayList;
16 |
17 | /**
18 | * Created by Ali on 1/23/2017.
19 | * it's use in the view baser
20 | */
21 |
22 | public class SampleCoursesToolbarAdapter extends PagerAdapter {
23 | Context mContext;
24 | ArrayList random ;
25 |
26 |
27 | public SampleCoursesToolbarAdapter(Context mContext , ArrayList random ) {
28 | this.mContext = mContext;
29 | this.random = random ;
30 | }
31 |
32 | @Override
33 | public int getCount() {
34 | return random.size();
35 | }
36 |
37 | @Override
38 | public boolean isViewFromObject(View view, Object object) {
39 | return view==((ImageView)object);
40 | }
41 |
42 | @Override
43 | public Object instantiateItem(ViewGroup container, final int position) {
44 | ImageView mImageView = new ImageView(mContext);
45 | mImageView.setScaleType(ImageView.ScaleType.FIT_XY);
46 | Glide.with(mContext).load(random.get(position).getPhoto_url()).into(mImageView);
47 | ((ViewPager) container).addView(mImageView,0);
48 | mImageView.setOnClickListener(new View.OnClickListener() {
49 | @Override
50 | public void onClick(View v) {
51 | Intent intent = new Intent(mContext,
52 | CourseDescriptionActivity.class);
53 | intent.putExtra("course",random.get(position));
54 | intent.putExtra("FLAG_ACTIVITY_NEW_TASK" , true );
55 | mContext.startActivity(intent);
56 | }
57 | });
58 | return mImageView;
59 | }
60 |
61 | @Override
62 | public void destroyItem(ViewGroup container, int position, Object object) {
63 | ((ViewPager) container).removeView((ImageView) object);
64 | }
65 | }
66 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/adapter/TopicsFirebaseAdapter.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.adapter;
2 |
3 | import android.database.Cursor;
4 | import android.support.v7.widget.RecyclerView;
5 | import android.util.Log;
6 | import android.view.LayoutInflater;
7 | import android.view.View;
8 | import android.view.ViewGroup;
9 | import android.widget.TextView;
10 |
11 | import com.almanara.ali.homeschool.R;
12 | import com.almanara.homeschool.data.firebase.Topics;
13 |
14 | import java.util.List;
15 |
16 | /**
17 | * Created by Ali on 2/7/2017.
18 | */
19 |
20 | public class TopicsFirebaseAdapter extends RecyclerView.Adapter {
21 | List topics;
22 | private Cursor mCursor;
23 |
24 | public TopicsFirebaseAdapter(List topics){
25 | this.topics =topics;
26 | }
27 | @Override
28 | public TopicViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
29 | View itemView = LayoutInflater.from(parent.getContext())
30 | .inflate(R.layout.topic_list_item,parent,false);
31 | return new TopicViewHolder(itemView);
32 | }
33 |
34 | @Override
35 | public void onBindViewHolder(TopicViewHolder holder, int position) {
36 | Log.v("Test","Position :" + position);
37 | // mCursor.moveToPosition(position);
38 | // Log.v("Test","Count : "+mCursor.getCount());
39 | //
40 | // String name = mCursor.getString(mCursor.getColumnIndex(LessonColumns.LESSON_NAME));
41 | // holder.topicName.setText(name);
42 | // holder.topicNum.setText(String.valueOf(mCursor.getInt(mCursor.getColumnIndex(LessonColumns.LESSON_NUMBER))));
43 | Topics topic = topics.get(position);
44 | holder.topicName.setText(topic.getName());
45 | holder.topicNum.setText(topic.getNumber());
46 | }
47 |
48 | @Override
49 | public int getItemCount() {
50 | return topics.size();
51 | }
52 |
53 | public static class TopicViewHolder extends RecyclerView.ViewHolder {
54 | protected TextView topicName;
55 | protected TextView topicNum;
56 | public TopicViewHolder(View itemView) {
57 | super(itemView);
58 | topicName = (TextView) itemView.findViewById(R.id.topicName);
59 | topicNum = (TextView) itemView.findViewById(R.id.topicNum);
60 | }
61 | }
62 | }
63 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/childEnrolledCourses/LessonModel2.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.childEnrolledCourses;
2 |
3 | import android.os.Parcel;
4 | import android.os.Parcelable;
5 |
6 | import com.almanara.homeschool.data.firebase.TopicModel;
7 |
8 | import java.util.ArrayList;
9 |
10 | /**
11 | * Created by Ali on 4/21/2017.
12 | */
13 |
14 | public class LessonModel2 implements Parcelable {
15 | String id;
16 | String name;
17 | ArrayList topics;
18 |
19 | @Override
20 | public int describeContents() {
21 | return 0;
22 | }
23 |
24 | @Override
25 | public void writeToParcel(Parcel dest, int flags) {
26 | dest.writeString(this.id);
27 | dest.writeString(this.name);
28 | dest.writeTypedList(this.topics);
29 | }
30 |
31 | public LessonModel2() {
32 | }
33 |
34 | protected LessonModel2(Parcel in) {
35 | this.id = in.readString();
36 | this.name = in.readString();
37 | this.topics = in.createTypedArrayList(TopicModel.CREATOR);
38 | }
39 |
40 | public static final Creator CREATOR = new Creator() {
41 | @Override
42 | public LessonModel2 createFromParcel(Parcel source) {
43 | return new LessonModel2(source);
44 | }
45 |
46 | @Override
47 | public LessonModel2[] newArray(int size) {
48 | return new LessonModel2[size];
49 | }
50 | };
51 | }
52 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/childProgress/ChildCourses.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.childProgress;
2 |
3 | import android.os.Bundle;
4 | import android.support.v7.app.AppCompatActivity;
5 | import android.support.v7.widget.Toolbar;
6 |
7 | import com.almanara.ali.homeschool.R;
8 |
9 | public class ChildCourses extends AppCompatActivity {
10 |
11 | @Override
12 | protected void onCreate(Bundle savedInstanceState) {
13 | super.onCreate(savedInstanceState);
14 | setContentView(R.layout.activity_child_courses);
15 | setSupportActionBar((Toolbar) findViewById(R.id.toolbar));
16 | getSupportActionBar().setTitle(R.string.progress);
17 |
18 | }
19 |
20 | }
21 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/controller/activities/BaseActivity.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.controller.activities;
2 |
3 | import android.os.Build;
4 | import android.os.Bundle;
5 | import android.support.v7.app.AppCompatActivity;
6 | import android.view.WindowManager;
7 |
8 | import com.almanara.ali.homeschool.R;
9 |
10 | /**
11 | * Created by manar_000 on 7/2/2017.
12 | */
13 | public class BaseActivity extends AppCompatActivity {
14 | private final static int THEME_BLUE = 1;
15 | private final static int THEME_RED = 2;
16 | @Override
17 | public void onCreate(Bundle savedInstanceState) {
18 | super.onCreate(savedInstanceState);
19 | updateTheme();
20 | }
21 | public void updateTheme() {
22 | if (Utility.getTheme(getApplicationContext()) <= THEME_BLUE) {
23 | setTheme(R.style.AppTheme);
24 | if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
25 | getWindow().addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
26 | getWindow().setStatusBarColor(getResources().getColor(R.color.colorPrimaryDark));
27 | }
28 | } else if (Utility.getTheme(getApplicationContext()) == THEME_RED) {
29 | setTheme(R.style.AppTheme_Instructor);
30 | if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
31 | getWindow().addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
32 | getWindow().setStatusBarColor(getResources().getColor(R.color.colorPrimaryDark_parent));
33 | }
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/controller/activities/Home.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.controller.activities;
2 |
3 | /**
4 | * Created by manar_000 on 6/21/2017.
5 | */
6 |
7 | public class Home {
8 | public int getImage() {
9 | return image;
10 | }
11 |
12 | public void setImage(int image) {
13 | this.image = image;
14 | }
15 |
16 | public String getName() {
17 | return name;
18 | }
19 |
20 | public void setName(String name) {
21 | this.name = name;
22 | }
23 |
24 | int image ;
25 | String name ;
26 |
27 | public String getDescription() {
28 | return description;
29 | }
30 |
31 | public void setDescription(String description) {
32 | this.description = description;
33 | }
34 |
35 | String description ;
36 |
37 | public String getSlogan() {
38 | return slogan;
39 | }
40 |
41 | public void setSlogan(String slogan) {
42 | this.slogan = slogan;
43 | }
44 |
45 | String slogan ;
46 |
47 | public int getBackGround() {
48 | return backGround;
49 | }
50 |
51 | public void setBackGround(int backGround) {
52 | this.backGround = backGround;
53 | }
54 |
55 | int backGround ;
56 | }
57 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/controller/activities/Utility.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.controller.activities;
2 |
3 | import android.content.Context;
4 | import android.content.SharedPreferences;
5 | import android.preference.PreferenceManager;
6 |
7 | import com.almanara.ali.homeschool.R;
8 |
9 | /**
10 | * Created by manar_000 on 7/2/2017.
11 | */
12 | public class Utility {
13 | public static void setTheme(Context context, int theme) {
14 | SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
15 | prefs.edit().putInt(context.getString(R.string.prefs_theme_key), theme).apply();
16 | }
17 | public static int getTheme(Context context) {
18 | SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
19 | return prefs.getInt(context.getString(R.string.prefs_theme_key), -1);
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/controller/activities/courseInterface.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.controller.activities;
2 |
3 | import java.util.ArrayList;
4 |
5 | /**
6 | * Created by manar_000 on 6/7/2017.
7 | */
8 |
9 | public interface courseInterface {
10 |
11 | void onDataFetched(ArrayList courses);
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/data/CategoryInformation.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.data;
2 |
3 | /**
4 | * Created by Ali on 1/22/2017.
5 | * This is the class that i can create an object from that will have the
6 | * image and the text of the course
7 | */
8 |
9 | public class CategoryInformation {
10 | private String categoryName;
11 | private int categoryImage ;
12 |
13 | public CategoryInformation(String categoryName, int categoryImage) {
14 | this.categoryName = categoryName;
15 | this.categoryImage = categoryImage;
16 | }
17 |
18 | public int getCategoryImage() {
19 | return categoryImage;
20 | }
21 |
22 | public void setCategoryImage(int categoryImage) {
23 | this.categoryImage = categoryImage;
24 | }
25 |
26 | public String getCategoryName() {
27 | return categoryName;
28 | }
29 |
30 | public void setCategoryName(String categoryName) {
31 | this.categoryName = categoryName;
32 | }
33 |
34 |
35 | }
36 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/data/HeaderRVData.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.data;
2 |
3 | import com.almanara.homeschool.data.firebase.Courses;
4 |
5 | import java.util.ArrayList;
6 | import java.util.List;
7 |
8 | /**
9 | * Created by Ali on 3/1/2017.
10 | */
11 | public class HeaderRVData {
12 | String header;
13 | List categoryInformations;
14 |
15 | public HeaderRVData(String header, List categoryInformations) {
16 | this.header = header;
17 | this.categoryInformations = categoryInformations;
18 | }
19 |
20 | public List getCategoryInformations() {
21 | return categoryInformations;
22 | }
23 |
24 | public void setCategoryInformations(ArrayList categoryInformations) {
25 | this.categoryInformations = categoryInformations;
26 | }
27 |
28 | public String getHeader() {
29 | return header;
30 | }
31 |
32 | public void setHeader(String header) {
33 | this.header = header;
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/data/InternetConnectionChecker.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.data;
2 |
3 | import android.content.Context;
4 | import android.net.ConnectivityManager;
5 | import android.net.NetworkInfo;
6 | import android.widget.Toast;
7 |
8 | import com.almanara.ali.homeschool.R;
9 |
10 | /**
11 | * Created by hossam on 05/06/17.
12 | */
13 |
14 | public class InternetConnectionChecker {
15 | Context context;
16 |
17 | public InternetConnectionChecker(Context context) {
18 | this.context = context;
19 | }
20 |
21 | public boolean isInternetOn() {
22 |
23 | ConnectivityManager cm = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
24 | NetworkInfo activeNetwork = cm.getActiveNetworkInfo();
25 | if (activeNetwork != null) { // connected to the internet
26 | // connected to wifi
27 | Toast.makeText(context, context.getString(R.string.connect_from)+activeNetwork.getTypeName(), Toast.LENGTH_SHORT).show();
28 | return true;
29 |
30 | } else {
31 | // not connected to the internet
32 | return false;
33 | }
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/data/firebase/ChildModel.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.data.firebase;
2 |
3 | import android.os.Parcel;
4 | import android.os.Parcelable;
5 |
6 | /**
7 | * Created by Ali on 4/21/2017.
8 | */
9 |
10 | public class ChildModel implements Parcelable {
11 | public String id;
12 | public String photo;
13 | public String name;
14 |
15 | public String getName() {
16 | return name;
17 | }
18 |
19 | public void setName(String name) {
20 | this.name = name;
21 | }
22 |
23 | public String getPhoto() {
24 | return photo;
25 | }
26 |
27 | public void setPhoto(String photo) {
28 | this.photo = photo;
29 | }
30 |
31 | @Override
32 | public int describeContents() {
33 | return 0;
34 | }
35 |
36 | @Override
37 | public void writeToParcel(Parcel dest, int flags) {
38 | dest.writeString(this.id);
39 | dest.writeString(this.name);
40 | dest.writeString(this.photo);
41 | }
42 |
43 | public ChildModel() {
44 | }
45 |
46 | public ChildModel(Parcel in) {
47 | this.id = in.readString();
48 | this.name = in.readString();
49 | this.photo = in.readString();
50 | }
51 |
52 | public static final Parcelable.Creator CREATOR = new Parcelable.Creator() {
53 | @Override
54 | public ChildModel createFromParcel(Parcel source) {
55 | return new ChildModel(source);
56 | }
57 |
58 | @Override
59 | public ChildModel[] newArray(int size) {
60 | return new ChildModel[size];
61 | }
62 | };
63 |
64 | public String getId() {
65 | return id;
66 | }
67 |
68 | public void setId(String id) {
69 | this.id = id;
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/data/firebase/Topics.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.data.firebase;
2 |
3 | /**
4 | * Created by hossam on 01/03/17.
5 | */
6 |
7 | public class Topics {
8 | public String name;
9 | public String number;
10 | public String lesson_id;
11 | public String json_layout;
12 |
13 | public Topics(String name, String number, String lesson_id,String json_layout) {
14 | this.name = name;
15 | this.number = number;
16 | this.lesson_id = lesson_id;
17 | this.json_layout = json_layout;
18 | }
19 | public Topics(){};
20 | public void setNumber(String number) {
21 | this.number = number;
22 | }
23 |
24 | public void setName(String name) {
25 | this.name = name;
26 | }
27 |
28 | public void setJson_layout(String json_layout) {
29 | this.json_layout = json_layout;
30 | }
31 |
32 | public void setLesson_id(String lesson_id) {
33 | this.lesson_id = lesson_id;
34 | }
35 |
36 | public String getNumber() {
37 | return number;
38 | }
39 |
40 | public String getName() {
41 | return name;
42 | }
43 |
44 | public String getJson_layout() {
45 | return json_layout;
46 | }
47 |
48 | public String getLesson_id() {
49 | return lesson_id;
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/data/firebase/Users.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.data.firebase;
2 |
3 | /**
4 | * Created by hossam on 01/03/17.
5 | */
6 |
7 | public class Users {
8 |
9 | public String getName() {
10 | return name;
11 | }
12 |
13 | public void setName(String name) {
14 | this.name = name;
15 | }
16 |
17 | public String getAddress() {
18 | return address;
19 | }
20 |
21 | public void setAddress(String address) {
22 | this.address = address;
23 | }
24 |
25 | public String getAge() {
26 | return age;
27 | }
28 |
29 | public void setAge(String age) {
30 | this.age = age;
31 | }
32 |
33 |
34 |
35 | public String getParentid() {
36 | return parent_id;
37 | }
38 |
39 | public void setParentid(String parentid) {
40 | this.parent_id = parentid;
41 | }
42 |
43 | public Users(String name, String address, String age, String parentid) {
44 | this.name = name;
45 | this.address = address;
46 | this.age = age;
47 | this.parent_id = parentid;
48 | }
49 | public Users(){
50 |
51 | }
52 |
53 | public String getPhoto() {
54 | return photo;
55 | }
56 |
57 | public void setPhoto(String photo) {
58 | this.photo = photo;
59 | }
60 |
61 | public String photo ;
62 | public String name;
63 | public String address;
64 | public String age;
65 | public String parent_id;
66 |
67 | }
68 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/exercises/simple/SimpleExercises.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.exercises.simple;
2 |
3 | import android.content.Intent;
4 | import android.net.Uri;
5 | import android.support.v7.app.AppCompatActivity;
6 | import android.os.Bundle;
7 | import android.view.View;
8 |
9 | import com.almanara.homeschool.Constants;
10 | import com.almanara.ali.homeschool.R;
11 |
12 | public class SimpleExercises extends AppCompatActivity {
13 |
14 | @Override
15 | protected void onCreate(Bundle savedInstanceState) {
16 | super.onCreate(savedInstanceState);
17 | setContentView(R.layout.activity_simple_exercies);
18 | findViewById(R.id.end).setOnClickListener(new View.OnClickListener() {
19 | @Override
20 | public void onClick(View view) {
21 | Intent intent = new Intent();
22 | intent.setData(Uri.parse("Goal"));
23 | setResult(Constants.WRONGANSWER,intent);
24 | finish();
25 | }
26 | });
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/home/Splash.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.home;
2 |
3 | import android.content.Intent;
4 | import android.os.Build;
5 | import android.os.Handler;
6 | import android.support.v7.app.AppCompatActivity;
7 | import android.os.Bundle;
8 | import android.view.Window;
9 | import android.view.WindowManager;
10 |
11 | import com.almanara.ali.homeschool.R;
12 |
13 | public class Splash extends AppCompatActivity {
14 |
15 | /** Duration of wait **/
16 | private final int SPLASH_DISPLAY_LENGTH = 2000;
17 |
18 | @Override
19 | protected void onCreate(Bundle savedInstanceState) {
20 | super.onCreate(savedInstanceState);
21 | setContentView(R.layout.activity_splash);
22 | /* New Handler to start the Menu-Activity
23 | * and close this Splash-Screen after some seconds.*/
24 | Window window = getWindow();
25 | window.addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
26 | window.clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
27 | if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
28 | window.setStatusBarColor(getResources().getColor(R.color.splash));
29 | }
30 | new Handler().postDelayed(new Runnable(){
31 | @Override
32 | public void run() {
33 | /* Create an Intent that will start the Menu-Activity. */
34 | Intent mainIntent = new Intent(Splash.this,MainActivity.class);
35 | Splash.this.startActivity(mainIntent);
36 | Splash.this.finish();
37 | }
38 | }, SPLASH_DISPLAY_LENGTH);
39 | }
40 | }
41 |
42 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/instructor/create/OnEditLayoutReady.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.instructor.create;
2 |
3 | /**
4 | * Created by Ali on 6/21/2017.
5 | */
6 |
7 | public interface OnEditLayoutReady {
8 | void setLayoutAt(String layout,int index);
9 | }
10 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/instructor/create/OnLayoutReadyInterface.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.instructor.create;
2 |
3 | /**
4 | * Created by Ali on 6/18/2017.
5 | */
6 |
7 | public interface OnLayoutReadyInterface {
8 | void setLayout(String layout);
9 | }
10 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/instructor/create/OnQuestionLayoutReady.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.instructor.create;
2 |
3 | /**
4 | * Created by Ali on 6/24/2017.
5 | */
6 |
7 | public interface OnQuestionLayoutReady {
8 | void onLayoutReady(String layout);
9 | }
10 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/instructor/create/ProgressImage.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.instructor.create;
2 |
3 | /**
4 | * Created by Ali on 6/23/2017.
5 | */
6 |
7 | public interface ProgressImage {
8 | void setImageOrSound(boolean imageOrSound,boolean isQuestion);
9 | }
10 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/instructor/create/dialogs/MainDialog.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.instructor.create.dialogs;
2 |
3 | import android.app.Activity;
4 |
5 | import com.almanara.homeschool.instructor.create.OnEditLayoutReady;
6 | import com.almanara.homeschool.instructor.create.OnLayoutReadyInterface;
7 | import com.almanara.homeschool.instructor.create.ProgressImage;
8 |
9 | /**
10 | * Created by Ali on 6/18/2017.
11 | */
12 |
13 | public abstract class MainDialog {
14 | Integer id;
15 | Activity activity;
16 | boolean isEditing = false;
17 | int index;
18 | OnEditLayoutReady onEditLayoutReady;
19 | OnLayoutReadyInterface onLayoutReadyInterface;
20 | ProgressImage progressImage;
21 | public void setProgressImage(
22 | ProgressImage progressImage) {
23 | this.progressImage = progressImage;
24 | }
25 | public MainDialog(
26 | OnLayoutReadyInterface onLayoutReadyInterface) {
27 | this.onLayoutReadyInterface = onLayoutReadyInterface;
28 | }
29 |
30 | public MainDialog(Integer id, Activity activity,
31 | OnLayoutReadyInterface onLayoutReadyInterface) {
32 | this.id = id;
33 | this.activity = activity;
34 | this.onLayoutReadyInterface = onLayoutReadyInterface;
35 | }
36 |
37 | public void setOnEditLayoutReady(
38 | OnEditLayoutReady onEditLayoutReady) {
39 | this.onEditLayoutReady = onEditLayoutReady;
40 | }
41 |
42 | public void setEditing(boolean editing) {
43 | isEditing = editing;
44 | }
45 |
46 | public void setId(Integer id) {
47 | this.id = id;
48 | }
49 |
50 | public void setIndex(int index) {
51 | this.index = index;
52 | }
53 |
54 | public void setActivity(Activity activity) {
55 | this.activity = activity;
56 | }
57 |
58 |
59 | }
60 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/instructor/create/dialogs/MainTextDialog.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.instructor.create.dialogs;
2 |
3 | import android.app.Activity;
4 |
5 | import com.almanara.homeschool.Constants;
6 | import com.almanara.homeschool.instructor.create.OnLayoutReadyInterface;
7 | import com.almanara.homeschool.instructor.create.xmlinterface.TextAppInterface;
8 |
9 | /**
10 | * Created by Ali on 6/18/2017.
11 | */
12 |
13 | public class MainTextDialog extends MainDialog implements TextAppInterface {
14 | int textColor = -11177216;
15 | int textAppearance = android.R.style.TextAppearance_Material_Body1;
16 |
17 | public void setTextColor(int textColor) {
18 | this.textColor = textColor;
19 | }
20 | public MainTextDialog(Integer id, Activity activity,
21 | OnLayoutReadyInterface onLayoutReadyInterface) {
22 | super(id, activity, onLayoutReadyInterface);
23 | }
24 |
25 | @Override
26 | public void onSelected(int i) {
27 | textAppearance = Constants.textAppearance[i];
28 |
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/instructor/create/ordering/DoneOrderInterface.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.instructor.create.ordering;
2 |
3 | import java.util.List;
4 |
5 | /**
6 | * Created by Ali on 6/16/2017.
7 | */
8 |
9 | public interface DoneOrderInterface {
10 | void onReorder(List layouts);
11 | }
12 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/instructor/create/ordering/ItemTouchHelperViewHolder.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2015 Paul Burke
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.almanara.homeschool.instructor.create.ordering;
18 |
19 | import android.support.v7.widget.helper.ItemTouchHelper;
20 |
21 | /**
22 | * Interface to notify an item ViewHolder of relevant callbacks from {@link
23 | * android.support.v7.widget.helper.ItemTouchHelper.Callback}.
24 | *
25 | * @author Paul Burke (ipaulpro)
26 | */
27 | public interface ItemTouchHelperViewHolder {
28 |
29 | /**
30 | * Called when the {@link ItemTouchHelper} first registers an item as being moved or swiped.
31 | * Implementations should update the item view to indicate it's active state.
32 | */
33 | void onItemSelected();
34 |
35 |
36 | /**
37 | * Called when the {@link ItemTouchHelper} has completed the move or swipe, and the active item
38 | * state should be cleared.
39 | */
40 | void onItemClear();
41 | }
42 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/instructor/create/ordering/OnStartDragListener.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2015 Paul Burke
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.almanara.homeschool.instructor.create.ordering;
18 |
19 | import android.support.v7.widget.RecyclerView;
20 |
21 | /**
22 | * Listener for manual initiation of a drag.
23 | */
24 | public interface OnStartDragListener {
25 |
26 | /**
27 | * Called when a view is requesting a start of a drag.
28 | *
29 | * @param viewHolder The holder of the view to drag.
30 | */
31 | void onStartDrag(RecyclerView.ViewHolder viewHolder);
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/instructor/create/xmlinterface/ImageClicked.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.instructor.create.xmlinterface;
2 |
3 | import android.view.View;
4 |
5 | /**
6 | * Created by Ali on 4/19/2017.
7 | */
8 |
9 | public interface ImageClicked {
10 | void onClick(View v);
11 | }
12 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/instructor/create/xmlinterface/LoadImage.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.instructor.create.xmlinterface;
2 |
3 | import android.widget.ImageView;
4 |
5 | /**
6 | * Created by Ali on 4/19/2017.
7 | */
8 |
9 | public interface LoadImage {
10 | void loadImage(ImageView image);
11 | }
12 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/instructor/create/xmlinterface/TextAppInterface.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.instructor.create.xmlinterface;
2 |
3 | /**
4 | * Created by Ali on 6/4/2017.
5 | */
6 |
7 | public interface TextAppInterface {
8 | void onSelected(int i);
9 | }
10 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/instructor/create/xmlinterface/UpdateLayoutListInterface.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.instructor.create.xmlinterface;
2 |
3 | import java.util.ArrayList;
4 |
5 | /**
6 | * Created by Ali on 6/17/2017.
7 | */
8 |
9 | public interface UpdateLayoutListInterface {
10 | void onLayoutListUpdated(ArrayList layoutList);
11 | }
12 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/instructor/create/xmlinterface/XMLClick.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.instructor.create.xmlinterface;
2 |
3 | import android.view.View;
4 |
5 | import com.almanara.homeschool.Answer;
6 |
7 |
8 | /**
9 | * Created by Ali on 6/8/2017.
10 | */
11 |
12 | public interface XMLClick extends XMLClickParent{
13 | void playSound(String url);
14 | void openActivity(String activity, Answer answer);
15 | void onImageClick(View imageView);
16 | void onMultQuestionClicked(boolean isCorrect);
17 | }
18 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/instructor/create/xmlinterface/XMLClickParent.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.instructor.create.xmlinterface;
2 |
3 | /**
4 | * Created by Ali on 6/21/2017.
5 | */
6 |
7 | public interface XMLClickParent {
8 | }
9 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/instructor/create/xmlinterface/XMLEditClick.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.instructor.create.xmlinterface;
2 |
3 | /**
4 | * Created by Ali on 6/21/2017.
5 | */
6 |
7 | public interface XMLEditClick extends XMLClickParent {
8 | void onEditImageView(int id,String src,String layout);
9 | void onEditSound(int id, String audioUrl,String audioText, String layout);
10 | void onEditColorQuestion(int id,String questionTitle,String layout);
11 | void onEditTextView(int id,String text,String layout);
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/module/layoutmanager/QuadrantCalculator.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.module.layoutmanager;
2 |
3 | /**
4 | * Created by danylo.volokh on 12/4/2015.
5 | * This class calculates in which quadrant we will be laying out views
6 | */
7 | public class QuadrantCalculator {
8 | public static int getQuadrant(int radius, int xOrigin, int yOrigin) {
9 | return 1;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/module/layoutmanager/circle_helper/circle_points_creator/CirclePointsCreator.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.module.layoutmanager.circle_helper.circle_points_creator;
2 |
3 | import com.almanara.homeschool.module.layoutmanager.circle_helper.point.Point;
4 |
5 | import java.util.Map;
6 |
7 | /**
8 | * Created by danylo.volokh on 12/4/2015.
9 | *
10 | * Implementation should be quadrant-specific and it should "know" in which order point should be created.
11 | * For example : if we starting to layout views from top to bottom in first quadrant then first point should be (R;0)
12 | * "R" - radius
13 | */
14 | public interface CirclePointsCreator {
15 |
16 | void fillCirclePoints(
17 | Map circleIndexPoint,
18 | Map circlePointIndex);
19 | }
20 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/module/layoutmanager/circle_helper/mirror_helper/CircleMirrorHelper.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.module.layoutmanager.circle_helper.mirror_helper;
2 |
3 | import com.almanara.homeschool.module.layoutmanager.circle_helper.point.Point;
4 |
5 | import java.util.Map;
6 |
7 | /**
8 | * Created by danylo.volokh on 12/4/2015.
9 | *
10 | * This is generic interface for mirroring points related functionality.
11 | *
12 | * For layouting in each quadrant you should implement quadrant-specific classes.
13 | * For example:
14 | */
15 | public interface CircleMirrorHelper {
16 |
17 | /**
18 | * This method implementation should mirror second octant using input of already created points.
19 | * They might be any of 7 octant that left. Specific implementation should get correct input octant and mirror 2nd octant from it
20 | * Here the order of input and order of output does matter.
21 | */
22 | void mirror_2nd_Octant(
23 | Map circleIndexPoint,
24 | Map circlePointIndex
25 | );
26 |
27 | /**
28 | * This method implementation should mirror second quadrant using input of already created points.
29 | * They might be any of 3 quadrant that left. Specific implementation should get correct input quadrant and mirror 2nd quadrant from it
30 | * Here the order of input and order of output does matter.
31 | */
32 | void mirror_2nd_Quadrant(
33 | Map circleIndexPoint,
34 | Map circlePointIndex
35 | );
36 |
37 | /**
38 | * This method implementation should mirror second semicircle using input of already created points.
39 | * It should be other semicircle. Specific implementation should get correct input semicircle and mirror 2nd semicircle from it.
40 | * Here the order of input and order of output does matter.
41 | */
42 | void mirror_2nd_Semicircle(
43 | Map circleIndexPoint,
44 | Map circlePointIndex
45 | );
46 | }
47 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/module/layoutmanager/circle_helper/point/Point.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.module.layoutmanager.circle_helper.point;
2 |
3 | /**
4 | * Created by danylo.volokh on 11/15/2015.
5 | */
6 | public class Point {
7 |
8 | private int x;
9 | private int y;
10 |
11 | public Point(int x, int y) {
12 | this.x = x;
13 | this.y = y;
14 | }
15 |
16 | public int getX() {
17 | return x;
18 | }
19 |
20 | public int getY() {
21 | return y;
22 | }
23 |
24 | void setX(int x) {
25 | this.x = x;
26 | }
27 |
28 | void setY(int y) {
29 | this.y = y;
30 | }
31 |
32 | /**
33 | * A hashCode like this gives us performance of O(N/4) when using {@link java.util.HashMap}
34 | * N - count of points in the circle.
35 | *
36 | * Explanation: we use "Mid point algorithm" for creating circle points.
37 | * We create circle points for (x; y) in 1 octant, N/8 points. 2nd octant is created using (y; x), N/8 points.
38 | * One quadrant is N/4 points.
39 | *
40 | * We have 8 pair of points combined from every octant
41 | * (x; y) (y; x)
42 | * (x; -y) (-y; x)
43 | * (-x; y) (y; -x)
44 | * (-x; -y) (-y; -x)
45 | *
46 | * Sum of four pairs are equal. Example:
47 | * x = 8; y =22;
48 | *
49 | * (30) = (30)
50 | * (-14) = (-14)
51 | * (14) = (14)
52 | * (-30) = (-30)
53 | *
54 | */
55 | @Override
56 | public int hashCode() {
57 | return x + y;
58 | }
59 |
60 | @Override
61 | public boolean equals(Object o) {
62 | if(o == null){
63 | return false;
64 | }
65 |
66 | if(!(o instanceof Point)){
67 | return false;
68 | }
69 | Point other = (Point) o;
70 | return other.x == x && other.y == y;
71 | }
72 |
73 | @Override
74 | public String toString() {
75 | return getClass().getSimpleName() + "{" +
76 | "x=" + x +
77 | ", y=" + y +
78 | '}';
79 | }
80 | }
81 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/module/layoutmanager/circle_helper/point/UpdatablePoint.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.module.layoutmanager.circle_helper.point;
2 |
3 | /**
4 | * Created by danylo.volokh on 28.11.2015.
5 | */
6 | public class UpdatablePoint extends Point {
7 |
8 | public UpdatablePoint(int x, int y) {
9 | super(x, y);
10 | }
11 |
12 | public void update(int x, int y) {
13 | setX(x);
14 | setY(y);
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/module/layoutmanager/circle_helper/quadrant_helper/QuadrantHelper.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.module.layoutmanager.circle_helper.quadrant_helper;
2 |
3 | import android.view.View;
4 |
5 | import com.almanara.homeschool.module.layoutmanager.ViewData;
6 | import com.almanara.homeschool.module.layoutmanager.circle_helper.point.Point;
7 |
8 | /**
9 | * Created by danylo.volokh on 12/3/2015.
10 | *
11 | * This is generic interface for quadrant related functionality.
12 | *
13 | * To layout in each quadrant you should implement quadrant-specific classes :
14 | * {@link FirstQuadrantHelper}
15 | */
16 | public interface QuadrantHelper {
17 | Point findNextViewCenter(ViewData previousViewData, int nextViewHalfViewWidth, int nextViewHalfViewHeight);
18 |
19 | int getViewCenterPointIndex(Point point);
20 |
21 | Point getViewCenterPoint(int newCenterPointIndex);
22 |
23 | int getNewCenterPointIndex(int newCalculatedIndex);
24 |
25 | Point findPreviousViewCenter(ViewData nextViewData, int previousViewHalfViewHeight);
26 |
27 | boolean isLastLayoutedView(int recyclerHeight, View view);
28 |
29 | int checkBoundsReached(int recyclerViewHeight, int dy, View firstView, View lastView, boolean isFirstItemReached, boolean isLastItemReached);
30 |
31 | int getOffset(int recyclerViewHeight, View lastView);
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/module/layoutmanager/circle_helper/quadrant_helper/QuadrantHelperFactory.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.module.layoutmanager.circle_helper.quadrant_helper;
2 |
3 | import android.util.Log;
4 |
5 | import com.almanara.homeschool.module.layoutmanager.QuadrantCalculator;
6 | import com.almanara.homeschool.module.utils.Config;
7 |
8 | /**
9 | * Created by danylo.volokh on 12/8/2015.
10 | * This factory creates one of 4 quadrant helpers
11 | */
12 | public class QuadrantHelperFactory {
13 |
14 | private static final boolean SHOW_LOGS = Config.SHOW_LOGS;
15 | private static final String TAG = QuadrantHelperFactory.class.getSimpleName();
16 |
17 | private final static int FIRST_QUADRANT = 1;
18 | private final static int SECOND_QUADRANT = 2;
19 | private final static int THIRD_QUADRANT = 3;
20 | private final static int FOURTH_QUADRANT = 4;
21 |
22 | /**
23 | * This method should calculate in which quadrant of a circle should we layout views.
24 | * There is four quadrant
25 | */
26 | public static QuadrantHelper createQuadrantHelper(int radius, int xOrigin, int yOrigin) {
27 | int quadrant = QuadrantCalculator.getQuadrant(radius, xOrigin, yOrigin);
28 |
29 | if(SHOW_LOGS) Log.v(TAG, ">> createQuadrantHelper, quadrant " + quadrant);
30 | QuadrantHelper quadrantHelper;
31 | switch (quadrant){
32 | case FIRST_QUADRANT:
33 | quadrantHelper = new FirstQuadrantHelper(radius, xOrigin, yOrigin);
34 | break;
35 | case SECOND_QUADRANT:
36 | case THIRD_QUADRANT:
37 | case FOURTH_QUADRANT:
38 | throw new RuntimeException("QuadrantHelper is not implemented for quadrant " + quadrant);
39 |
40 | default:
41 | throw new RuntimeException("impossible value " + quadrant + ", circle can have 1,2,3 or 4 quadrant");
42 |
43 | }
44 | if(SHOW_LOGS) Log.v(TAG, "<< createQuadrantHelper, quadrantHelper " + quadrantHelper);
45 | return quadrantHelper;
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/module/layoutmanager/layouter/LayouterCallback.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.module.layoutmanager.layouter;
2 |
3 | import android.graphics.Rect;
4 | import android.util.Pair;
5 | import android.view.View;
6 |
7 | /**
8 | * Created by danylo.volokh on 11/21/2015.
9 | */
10 | public interface LayouterCallback {
11 | void getHitRect(Rect rect);
12 |
13 | void layoutDecorated(View view, int left, int top, int right, int bottom);
14 |
15 | Pair getHalfWidthHeightPair(View view);
16 |
17 | int getChildCount();
18 |
19 | View getChildAt(int index);
20 |
21 | int getHeight();
22 | }
23 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/module/layoutmanager/scroller/IScrollHandler.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.module.layoutmanager.scroller;
2 |
3 | import android.support.v7.widget.RecyclerView;
4 |
5 | import com.almanara.homeschool.module.layoutmanager.circle_helper.quadrant_helper.QuadrantHelper;
6 | import com.almanara.homeschool.module.layoutmanager.layouter.Layouter;
7 |
8 | /**
9 | * Created by danylo.volokh on 28.11.2015.
10 | * This is an interface which descendants will "know" how to adjust view position using input parameters.
11 | *
12 | */
13 | public interface IScrollHandler {
14 |
15 | int scrollVerticallyBy(int dy, RecyclerView.Recycler recycler);
16 |
17 | public enum Strategy{
18 | PIXEL_PERFECT,
19 | NATURAL
20 | }
21 |
22 | public static class Factory{
23 |
24 | private Factory(){}
25 |
26 | public static IScrollHandler createScrollHandler(Strategy strategy, ScrollHandlerCallback callback, QuadrantHelper quadrantHelper, Layouter layouter){
27 | IScrollHandler scrollHandler = null;
28 | switch (strategy){
29 | case PIXEL_PERFECT:
30 | scrollHandler = new PixelPerfectScrollHandler(callback, quadrantHelper, layouter);
31 | break;
32 | case NATURAL:
33 | scrollHandler = new NaturalScrollHandler(callback, quadrantHelper, layouter);
34 | break;
35 | }
36 | return scrollHandler;
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/module/layoutmanager/scroller/NaturalScrollHandler.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.module.layoutmanager.scroller;
2 |
3 | import android.view.View;
4 |
5 | import com.almanara.homeschool.module.layoutmanager.circle_helper.quadrant_helper.QuadrantHelper;
6 | import com.almanara.homeschool.module.layoutmanager.layouter.Layouter;
7 |
8 | /**
9 | * Created by danylo.volokh on 12/9/2015.
10 | *
11 | * This scroll handler scrolls every view by the offset that user scrolled with his finger.
12 | */
13 | public class NaturalScrollHandler extends ScrollHandler {
14 |
15 | private final ScrollHandlerCallback mCallback;
16 |
17 | public NaturalScrollHandler(ScrollHandlerCallback callback, QuadrantHelper quadrantHelper, Layouter layouter) {
18 | super(callback, quadrantHelper, layouter);
19 | mCallback = callback;
20 | }
21 |
22 | @Override
23 | protected void scrollViews(View firstView, int delta) {
24 | for (int indexOfView = 0; indexOfView < mCallback.getChildCount(); indexOfView++) {
25 | View view = mCallback.getChildAt(indexOfView);
26 | scrollSingleViewVerticallyBy(view, delta);
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/module/layoutmanager/scroller/ScrollHandlerCallback.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.module.layoutmanager.scroller;
2 |
3 | import android.view.View;
4 |
5 | /**
6 | * Created by danylo.volokh on 28.11.2015.
7 | */
8 | public interface ScrollHandlerCallback {
9 | int getChildCount();
10 |
11 | View getChildAt(int index);
12 |
13 | int getHeight();
14 |
15 | int getFirstVisiblePosition();
16 |
17 | int getDecoratedTop(View view);
18 |
19 | int getPaddingTop();
20 |
21 | int getLastVisiblePosition();
22 |
23 | int getItemCount();
24 |
25 | void removeView(View view);
26 |
27 | void incrementFirstVisiblePosition();
28 |
29 | void incrementLastVisiblePosition();
30 |
31 | void addView(View view);
32 |
33 | void decrementLastVisiblePosition();
34 |
35 | void decrementFirstVisiblePosition();
36 |
37 | void addView(View newFirstView, int position);
38 | }
39 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/module/utils/Capsule.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.module.utils;
2 |
3 | import android.content.Context;
4 | import android.graphics.Canvas;
5 | import android.graphics.Color;
6 | import android.graphics.Paint;
7 | import android.util.AttributeSet;
8 | import android.widget.LinearLayout;
9 |
10 | /**
11 | * Created by danylo.volokh on 11/2/2015.
12 | */
13 | public class Capsule extends LinearLayout {
14 |
15 | private static final String TAG = Capsule.class.getSimpleName();
16 | private final Paint mPaint = new Paint();
17 |
18 | {
19 | mPaint.setColor(Color.BLACK);
20 | mPaint.setStrokeWidth(3);
21 | }
22 |
23 | public Capsule(Context context) {
24 | super(context);
25 | }
26 |
27 | public Capsule(Context context, AttributeSet attrs) {
28 | super(context, attrs);
29 | }
30 |
31 | public Capsule(Context context, AttributeSet attrs, int defStyleAttr) {
32 | super(context, attrs, defStyleAttr);
33 | }
34 |
35 | public Capsule(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
36 | super(context, attrs, defStyleAttr, defStyleRes);
37 | }
38 |
39 |
40 | @Override
41 | public void draw(Canvas canvas) {
42 | super.draw(canvas);
43 | // draw a cross
44 | canvas.drawLine(1, 1, getMeasuredWidth(), 1, mPaint);
45 | canvas.drawLine(1, getHeight()-1, getMeasuredWidth(), getHeight()-1, mPaint);
46 | canvas.drawLine(1, 1, 1, getHeight()-1, mPaint);
47 | canvas.drawLine(getMeasuredWidth()-1, 1, getMeasuredWidth()-1, getHeight()-1, mPaint);
48 |
49 |
50 | canvas.drawLine(getMeasuredWidth()/2, 0, getMeasuredWidth()/2, getMeasuredHeight(), mPaint);
51 | canvas.drawLine(0, getMeasuredHeight()/2, getMeasuredWidth(), getMeasuredHeight()/2, mPaint);
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/module/utils/Config.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.module.utils;
2 |
3 | /**
4 | * Created by danylo.volokh on 10/17/2015.
5 | */
6 | public class Config {
7 | public static final boolean SHOW_LOGS = true;
8 | }
9 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/student/StudentHomeAdapter.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.student;
2 |
3 | import android.support.v4.app.Fragment;
4 | import android.support.v4.app.FragmentManager;
5 | import android.support.v4.app.FragmentPagerAdapter;
6 |
7 | import com.almanara.homeschool.student.course.CoursesFragment;
8 | import com.almanara.homeschool.student.main.MainStudentFragment;
9 |
10 | /**
11 | * Created by Ali on 6/23/2017.
12 | */
13 | public class StudentHomeAdapter extends FragmentPagerAdapter {
14 | private static int NUM_ITEMS = 2;
15 |
16 | public StudentHomeAdapter(FragmentManager fragmentManager) {
17 | super(fragmentManager);
18 | }
19 |
20 | // Returns total number of pages
21 | @Override
22 | public int getCount() {
23 | return NUM_ITEMS;
24 | }
25 |
26 | // Returns the fragment to display for that page
27 | @Override
28 | public Fragment getItem(int position) {
29 | switch (position) {
30 | case 0: // Fragment # 0 - This will show FirstFragment
31 | return MainStudentFragment.newInstance("0", "Page # 1");
32 | case 1: // Fragment # 0 - This will show FirstFragment different title
33 | return CoursesFragment.newInstance("1", "Page # 2");
34 |
35 | default:
36 | return null;
37 | }
38 | }
39 |
40 | // Returns the page title for the top indicator
41 | @Override
42 | public CharSequence getPageTitle(int position) {
43 | return "Page " + position;
44 | }
45 |
46 |
47 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/student/course/lesson/topic/ButtonClicked.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.student.course.lesson.topic;
2 |
3 | /**
4 | * Created by Ali on 6/2/2017.
5 | */
6 |
7 | public interface ButtonClicked {
8 | void onButtonClicked(String activity);
9 | }
10 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/student/course/lesson/topic/CubeOutTransformer.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.student.course.lesson.topic;
2 |
3 | import android.view.View;
4 |
5 | import com.ToxicBakery.viewpager.transforms.ABaseTransformer;
6 |
7 | /**
8 | * Created by manar_000 on 6/25/2017.
9 | */
10 |
11 | public class CubeOutTransformer extends ABaseTransformer {
12 |
13 | @Override
14 | protected void onTransform(View view, float position) {
15 | view.setPivotX(position < 0f ? view.getWidth() : 0f);
16 | view.setPivotY(view.getHeight() * 0.5f);
17 | view.setRotationY(90f * position);
18 | }
19 |
20 | @Override
21 | public boolean isPagingEnabled() {
22 | return true;
23 | }}
24 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/student/course/lesson/topic/GenResult.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.student.course.lesson.topic;
2 |
3 | import android.app.Activity;
4 | import android.content.Intent;
5 | import android.net.Uri;
6 | import android.os.Bundle;
7 | import android.support.v7.app.AppCompatActivity;
8 | import android.view.View;
9 |
10 | import com.almanara.ali.homeschool.R;
11 |
12 | public class GenResult extends AppCompatActivity {
13 |
14 | @Override
15 | protected void onCreate(Bundle savedInstanceState) {
16 | super.onCreate(savedInstanceState);
17 | setContentView(R.layout.activity_gen_result);
18 | }
19 |
20 | public void GoBack(View view) {
21 | Intent intent = new Intent();
22 | intent.setData(Uri.parse("Hi"));
23 | setResult(Activity.RESULT_OK,intent);
24 | finish();
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/student/course/lesson/topic/ImageClickedStudent.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.student.course.lesson.topic;
2 |
3 | import android.view.View;
4 |
5 | /**
6 | * Created by Ali on 6/1/2017.
7 | */
8 |
9 | public interface ImageClickedStudent {
10 | void onClick(View v);
11 |
12 | }
13 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/student/course/lesson/topic/LessonPagerAdapter.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.student.course.lesson.topic;
2 |
3 | import android.support.v4.app.Fragment;
4 | import android.support.v4.app.FragmentManager;
5 | import android.support.v4.app.FragmentStatePagerAdapter;
6 |
7 | import java.util.ArrayList;
8 | import java.util.List;
9 |
10 | /**
11 | * Created by Dabour on 11/26/2016.
12 | */
13 |
14 | public class LessonPagerAdapter extends FragmentStatePagerAdapter {
15 | ArrayList layouts ;
16 | List fragmentList;
17 | public LessonPagerAdapter(FragmentManager fm, List fragmentList) {
18 | super(fm);
19 | this.fragmentList = fragmentList;
20 | // this.layouts=layouts;
21 | }
22 |
23 | @Override
24 | public Fragment getItem(int position) {
25 | return fragmentList.get(position);
26 | }
27 |
28 | @Override
29 | public int getCount() {
30 | return fragmentList.size();
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/app/src/main/java/com/almanara/homeschool/student/course/lesson/topic/NestedFrag.java:
--------------------------------------------------------------------------------
1 | package com.almanara.homeschool.student.course.lesson.topic;
2 |
3 | /**
4 | * Created by Ali on 6/24/2017.
5 | */
6 |
7 |
8 | //import android.app.Fragment;
9 |
10 | import android.content.Intent;
11 | import android.widget.Button;
12 |
13 | import android.os.Bundle;
14 | import android.support.v4.app.Fragment;
15 | import android.view.LayoutInflater;
16 | import android.view.View;
17 | import android.view.ViewGroup;
18 | import com.almanara.ali.homeschool.R;
19 |
20 | public class NestedFrag extends Fragment {
21 | String layout;
22 | public NestedFrag() {
23 |
24 | }
25 | public static NestedFrag newInstance(String layout) {
26 | NestedFrag fragment = new NestedFrag();
27 | Bundle args = new Bundle();
28 | args.putString("layout", layout);
29 | fragment.setArguments(args);
30 | return fragment;
31 | }
32 |
33 |
34 | @Override
35 | public void onCreate(Bundle savedInstanceState) {
36 | super.onCreate(savedInstanceState);
37 | if (getArguments() != null) {
38 | layout = getArguments().getString("layout");
39 | }
40 | }
41 |
42 | @Override
43 | public View onCreateView(LayoutInflater inflater, ViewGroup container,
44 | Bundle savedInstanceState) {
45 | View root = inflater.inflate(R.layout.nested_frag, container, false);
46 | Button doNestingButton = (Button) root.findViewById(R.id.image_button);
47 | doNestingButton.setText(doNestingButton.getText() + " <" + layout);
48 | doNestingButton.setOnClickListener(new View.OnClickListener() {
49 | @Override
50 | public void onClick(View v) {
51 | startActivityForResult(new Intent(getActivity(),GenResult.class),1);
52 | }
53 | });
54 | return root;
55 | }
56 |
57 | }
--------------------------------------------------------------------------------
/app/src/main/res/anim/blink.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/clockwise.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/course_image.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
9 |
17 |
18 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/fade.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
9 |
10 |
11 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/move.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/myanimation.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
12 |
13 |
14 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/slide.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/back11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-hdpi/back11.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/back2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-hdpi/back2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/back222.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-hdpi/back222.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/back3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-hdpi/back3.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-hdpi/background.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/camera.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-hdpi/camera.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/characteres_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-hdpi/characteres_1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/characteres_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-hdpi/characteres_2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_reorder_grey_500_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-hdpi/ic_reorder_grey_500_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/instructor_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-hdpi/instructor_background.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/lessons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-hdpi/lessons.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/lessons_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-hdpi/lessons_2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-hdpi/logo.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/micro.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-hdpi/micro.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/parent_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-hdpi/parent_background.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-hdpi/screen.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-hdpi/splash.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/start_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-hdpi/start_1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/start_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-hdpi/start_2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/student_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-hdpi/student_background.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/vte.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-hdpi/vte.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-ldpi/back11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-ldpi/back11.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-ldpi/back2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-ldpi/back2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-ldpi/back222.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-ldpi/back222.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-ldpi/back3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-ldpi/back3.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-ldpi/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-ldpi/background.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-ldpi/camera.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-ldpi/camera.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-ldpi/characteres_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-ldpi/characteres_1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-ldpi/characteres_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-ldpi/characteres_2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-ldpi/instructor_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-ldpi/instructor_background.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-ldpi/lessons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-ldpi/lessons.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-ldpi/lessons_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-ldpi/lessons_2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-ldpi/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-ldpi/logo.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-ldpi/micro.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-ldpi/micro.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-ldpi/parent_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-ldpi/parent_background.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-ldpi/screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-ldpi/screen.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-ldpi/splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-ldpi/splash.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-ldpi/start_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-ldpi/start_1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-ldpi/start_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-ldpi/start_2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-ldpi/student_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-ldpi/student_background.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-ldpi/vte.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-ldpi/vte.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/back11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-mdpi/back11.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/back2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-mdpi/back2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/back222.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-mdpi/back222.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/back3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-mdpi/back3.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-mdpi/background.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/camera.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-mdpi/camera.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/characteres_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-mdpi/characteres_1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/characteres_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-mdpi/characteres_2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_reorder_grey_500_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-mdpi/ic_reorder_grey_500_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/instructor_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-mdpi/instructor_background.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/lessons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-mdpi/lessons.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/lessons_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-mdpi/lessons_2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-mdpi/logo.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/micro.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-mdpi/micro.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/parent_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-mdpi/parent_background.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-mdpi/screen.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-mdpi/splash.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/start_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-mdpi/start_1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/start_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-mdpi/start_2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/student_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-mdpi/student_background.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/vte.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-mdpi/vte.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/back11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xhdpi/back11.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/back2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xhdpi/back2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/back222.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xhdpi/back222.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/back3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xhdpi/back3.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xhdpi/background.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/camera.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xhdpi/camera.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/characteres_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xhdpi/characteres_1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/characteres_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xhdpi/characteres_2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_reorder_grey_500_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xhdpi/ic_reorder_grey_500_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/instructor_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xhdpi/instructor_background.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/lessons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xhdpi/lessons.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/lessons_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xhdpi/lessons_2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xhdpi/logo.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/micro.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xhdpi/micro.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/parent_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xhdpi/parent_background.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xhdpi/screen.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xhdpi/splash.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/start_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xhdpi/start_1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/start_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xhdpi/start_2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/student_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xhdpi/student_background.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/vte.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xhdpi/vte.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/back11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xxhdpi/back11.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/back2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xxhdpi/back2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/back222.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xxhdpi/back222.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/back3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xxhdpi/back3.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xxhdpi/background.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/camera.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xxhdpi/camera.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/characteres_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xxhdpi/characteres_1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/characteres_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xxhdpi/characteres_2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_reorder_grey_500_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xxhdpi/ic_reorder_grey_500_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/instructor_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xxhdpi/instructor_background.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/lessons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xxhdpi/lessons.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/lessons_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xxhdpi/lessons_2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xxhdpi/logo.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/micro.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xxhdpi/micro.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/parent_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xxhdpi/parent_background.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xxhdpi/screen.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xxhdpi/splash.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/start_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xxhdpi/start_1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/start_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xxhdpi/start_2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/student_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xxhdpi/student_background.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/vte.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable-xxhdpi/vte.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/a.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/a.jpg
--------------------------------------------------------------------------------
/app/src/main/res/drawable/a4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/a4.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/animation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/animation.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/border.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/button_animation.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/button_shape.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 | // if you want clear round shape then make radius size is half of your button`s height.
7 | // Button Colour
8 |
13 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/button_shape_pressed.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | // Button Colour
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/card_press.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/catimage.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/catimage.jpg
--------------------------------------------------------------------------------
/app/src/main/res/drawable/color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/color.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/course.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/course.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/customprogress.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
10 |
13 |
20 |
21 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/earlymath.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/earlymath.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/empty.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/empty.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/empty1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/empty1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_audiotrack_black_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_mic_black_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_photo_camera_black_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
12 |
13 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/icon2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/icon2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/image.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/instructor_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/instructor_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/java.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/java.jpg
--------------------------------------------------------------------------------
/app/src/main/res/drawable/mail.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/mail.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/my_course.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/my_course.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/parents_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/parents_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/password.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/password.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/photoid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/photoid.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/profile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/profile.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/progress_child.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | -
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | -
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/question.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/question.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ripple.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 | -
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/selected.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/signout.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/signout.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/sound.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/sound.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/student_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/student_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/support.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/support.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/text.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/text.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/uploadphoto.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/uploadphoto.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/user.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/drawable/user.png
--------------------------------------------------------------------------------
/app/src/main/res/ids:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_child_courses.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
14 |
15 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_class_trial.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
16 |
17 |
21 |
27 |
28 |
29 |
31 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_classroom.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
13 |
14 |
20 |
21 |
22 |
23 |
31 |
32 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_gen_result.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
13 |
14 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_instructor.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
10 |
11 |
16 |
17 |
23 |
24 |
25 |
26 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_instructor_topic2.xml:
--------------------------------------------------------------------------------
1 |
2 |
11 |
12 |
17 |
18 |
31 |
32 |
40 |
41 |
49 |
50 |
51 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_parent.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
14 |
15 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_simple_exercies.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
14 |
15 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_splash.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_student_home.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/animation_dialog.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
12 |
18 |
19 |
27 |
33 |
39 |
40 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/animtation_fragment_topic.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
15 |
16 |
22 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/app_bar_main3.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
16 |
17 |
26 |
27 |
28 |
32 |
39 |
40 |
41 |
42 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/category_item_card.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
15 |
16 |
20 |
21 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/child_progress_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
13 |
14 |
22 |
23 |
29 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/children_item_card.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
15 |
16 |
22 |
23 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/color_question_dialog.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
37 |
38 |
46 |
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/content_child_courses.xml:
--------------------------------------------------------------------------------
1 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/content_main4.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/content_main5.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/content_parent.xml:
--------------------------------------------------------------------------------
1 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/correct_answer.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
15 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/course_created_list_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
14 |
20 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/course_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/course_section_list_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
13 |
14 |
19 |
20 |
26 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/courseslayout.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
15 |
16 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/delete_dialog.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/dialog_add_course.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
12 |
18 |
24 |
25 |
32 |
33 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/dialog_button.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
9 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_child_courses.xml:
--------------------------------------------------------------------------------
1 |
2 |
13 |
14 |
15 |
19 |
20 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_courses.xml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
11 |
12 |
20 |
21 |
22 |
27 |
28 |
32 |
33 |
38 |
39 |
40 |
46 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_main_student.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
14 |
17 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_matching.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
16 |
17 |
18 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_my_courses_fragmetnt.xml:
--------------------------------------------------------------------------------
1 |
2 |
11 |
15 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_parent2.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
17 |
18 |
23 |
24 |
25 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/guest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
11 |
12 |
24 |
25 |
26 |
31 |
32 |
37 |
38 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/guest_activity.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
11 |
16 |
17 |
26 |
27 |
31 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/holder_ordering_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
12 |
13 |
14 |
20 |
21 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/image_dialog.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
11 |
12 |
20 |
21 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/indicatior_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/instructor_course_card_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
39 |
40 |
49 |
50 |
58 |
59 |
60 |
61 |
62 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/instructor_drawer_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
11 |
12 |
16 |
17 |
24 |
25 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/instructor_fragment.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
12 |
13 |
19 |
20 |
33 |
34 |
40 |
41 |
42 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/instructor_lesson_item_view.xml:
--------------------------------------------------------------------------------
1 |
2 |
14 |
15 |
21 |
22 |
27 |
28 |
38 |
39 |
49 |
50 |
51 |
52 |
53 |
54 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/lesson_dialog.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
11 |
12 |
17 |
18 |
19 |
25 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/list_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
16 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/matching_dialog.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
9 |
15 |
21 |
27 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/matching_fragment.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
17 |
18 |
19 |
25 |
26 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/nav_header_main3.xml:
--------------------------------------------------------------------------------
1 |
2 |
11 |
12 |
16 |
17 |
22 |
23 |
31 |
32 |
33 |
41 |
42 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/nav_header_main4.xml:
--------------------------------------------------------------------------------
1 |
2 |
11 |
12 |
16 |
17 |
22 |
23 |
32 |
33 |
34 |
42 |
43 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/nested_frag.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
10 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/parent_drawer_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
15 |
16 |
23 |
24 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/question_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
14 |
15 |
19 |
20 |
21 |
27 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/sign_in_as.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
11 |
12 |
19 |
20 |
21 |
27 |
34 |
35 |
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/sound_dialog.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
11 |
12 |
13 |
16 |
17 |
22 |
23 |
31 |
32 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/speech_question_dialog.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
12 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/text_detection_dialog.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
21 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/text_view_dialog.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
12 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/topic_list_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
22 |
23 |
30 |
31 |
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/topics_flow_progress_bar.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
10 |
18 |
19 |
20 |
24 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/activity_main3_drawer.xml:
--------------------------------------------------------------------------------
1 |
2 |
28 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/home_menu.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/instructor.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/instructor_course_menu.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/instructor_drawer.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
--------------------------------------------------------------------------------
/app/src/main/res/raw/animated.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/raw/animated.gif
--------------------------------------------------------------------------------
/app/src/main/res/raw/backgroundsound.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/raw/backgroundsound.mp3
--------------------------------------------------------------------------------
/app/src/main/res/raw/backgroundsound2.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/raw/backgroundsound2.mp3
--------------------------------------------------------------------------------
/app/src/main/res/raw/backgroundsound3.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/raw/backgroundsound3.mp3
--------------------------------------------------------------------------------
/app/src/main/res/raw/catname.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/raw/catname.mp3
--------------------------------------------------------------------------------
/app/src/main/res/raw/onpresss.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/raw/onpresss.mp3
--------------------------------------------------------------------------------
/app/src/main/res/raw/source.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/raw/source.gif
--------------------------------------------------------------------------------
/app/src/main/res/raw/wronganswer.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/raw/wronganswer.mp3
--------------------------------------------------------------------------------
/app/src/main/res/raw/yay.mp4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/app/src/main/res/raw/yay.mp4
--------------------------------------------------------------------------------
/app/src/main/res/values-v21/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #08aac7
4 | #03879f
5 | #08aac7
6 | #FFFFFF
7 | #F6CC19
8 | #edebeb
9 | #000000
10 | #F6CC19
11 | #400684
12 | #03879f
13 | #f2091f
14 | #34056b
15 | #F5BA09
16 | #00000000
17 |
18 |
--------------------------------------------------------------------------------
/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 | 16dp
7 | 500
8 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/values/fragmentids.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 |
7 | }
8 | dependencies {
9 | classpath 'com.neenbedankt.gradle.plugins:android-apt:1.2'
10 | classpath 'com.android.tools.build:gradle:2.3.3'
11 | // NOTE: Do not place your application dependencies here; they belong
12 | // in the individual module build.gradle files
13 | classpath 'com.google.gms:google-services:3.0.0'
14 | }
15 | }
16 |
17 | allprojects {
18 | repositories {
19 | jcenter()
20 | }
21 | }
22 |
23 | task clean(type: Delete) {
24 | delete rootProject.buildDir
25 | }
26 |
--------------------------------------------------------------------------------
/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | org.gradle.jvmargs=-Xmx1536m
13 |
14 | # When configured, Gradle will run in incubating parallel mode.
15 | # This option should only be used with decoupled projects. More details, visit
16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17 | # org.gradle.parallel=true
18 |
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Mar 03 03:09:35 EET 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
7 |
--------------------------------------------------------------------------------
/newKey.jks:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alidabour/HomeSchool/006f6c0aef2d442420b9c5def4269564da7d2265/newKey.jks
--------------------------------------------------------------------------------
/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
--------------------------------------------------------------------------------