├── .gitignore
├── .idea
├── encodings.xml
├── gradle.xml
├── misc.xml
└── runConfigurations.xml
├── LICENSE
├── README.md
├── Screenshots
├── Screenshot_20190707-232005.png
├── Screenshot_20190707-232010.png
├── Screenshot_20190707-232018.png
├── Screenshot_20190707-232027.png
├── Screenshot_20190707-232034.png
├── Screenshot_20190707-232047.png
├── Screenshot_20190707-232059.png
├── Screenshot_20190707-232108.png
├── Screenshot_20190707-232116.png
├── Screenshot_20190707-232125.png
├── Screenshot_20190707-232140.png
└── Screenshot_20190707-232149.png
├── app
├── .gitignore
├── build.gradle
├── proguard-rules.pro
└── src
│ ├── androidTest
│ └── java
│ │ └── com
│ │ └── shashank
│ │ └── platform
│ │ └── classroomappui
│ │ └── ExampleInstrumentedTest.java
│ ├── main
│ ├── AndroidManifest.xml
│ ├── java
│ │ └── com
│ │ │ └── shashank
│ │ │ └── platform
│ │ │ └── classroomappui
│ │ │ ├── Announcements.java
│ │ │ ├── Courses.java
│ │ │ ├── CustomAdapterSetting.java
│ │ │ ├── Events.java
│ │ │ ├── Home.java
│ │ │ ├── Lectures.java
│ │ │ ├── LoginScreen.java
│ │ │ ├── MyProfile.java
│ │ │ ├── Settings.java
│ │ │ ├── SignupScreen.java
│ │ │ └── SplashScreen.java
│ └── res
│ │ ├── drawable-v24
│ │ └── ic_launcher_foreground.xml
│ │ ├── drawable
│ │ ├── banner_img.png
│ │ ├── blue_rounded_solid.xml
│ │ ├── event_slider_img.png
│ │ ├── ic_access_time_red_24dp.xml
│ │ ├── ic_bug_report_black_24dp.xml
│ │ ├── ic_domain_red_24dp.xml
│ │ ├── ic_email_gray_24dp.xml
│ │ ├── ic_event_available_red_24dp.xml
│ │ ├── ic_event_black_24dp.xml
│ │ ├── ic_exit_to_app_black_24dp.xml
│ │ ├── ic_history_red_24dp.xml
│ │ ├── ic_import_contacts_black_24dp.xml
│ │ ├── ic_keyboard_arrow_right_white_24dp.xml
│ │ ├── ic_launcher_background.xml
│ │ ├── ic_local_activity_red_24dp.xml
│ │ ├── ic_local_phone_gray_24dp.xml
│ │ ├── ic_location_on_red_24dp.xml
│ │ ├── ic_lock_gray_24dp.xml
│ │ ├── ic_menu_camera.xml
│ │ ├── ic_menu_gallery.xml
│ │ ├── ic_menu_manage.xml
│ │ ├── ic_menu_send.xml
│ │ ├── ic_menu_share.xml
│ │ ├── ic_menu_slideshow.xml
│ │ ├── ic_nature_red_24dp.xml
│ │ ├── ic_note_red_24dp.xml
│ │ ├── ic_notifications_white_24dp.xml
│ │ ├── ic_person_gray_24dp.xml
│ │ ├── ic_person_outline_red_24dp.xml
│ │ ├── ic_public_red_24dp.xml
│ │ ├── ic_receipt_red_24dp.xml
│ │ ├── ic_schedule_black_24dp.xml
│ │ ├── ic_school_black_24dp.xml
│ │ ├── ic_school_red_24dp.xml
│ │ ├── ic_settings_black_24dp.xml
│ │ ├── kdemy_logo.png
│ │ ├── mobile_img.png
│ │ ├── nav_bg.png
│ │ ├── red_rounded_solid.xml
│ │ ├── side_nav_bar.xml
│ │ └── user.png
│ │ ├── font
│ │ └── calibri.ttf
│ │ ├── layout
│ │ ├── activity_announcements.xml
│ │ ├── activity_courses.xml
│ │ ├── activity_events.xml
│ │ ├── activity_home.xml
│ │ ├── activity_lectures.xml
│ │ ├── activity_login_screen.xml
│ │ ├── activity_my_profile.xml
│ │ ├── activity_settings.xml
│ │ ├── activity_signup_screen.xml
│ │ ├── activity_splash_screen.xml
│ │ ├── app_bar_home.xml
│ │ ├── content_home.xml
│ │ ├── nav_header_home.xml
│ │ └── setting.xml
│ │ ├── menu
│ │ ├── activity_home_drawer.xml
│ │ └── home.xml
│ │ ├── mipmap-anydpi-v26
│ │ ├── ic_launcher.xml
│ │ └── ic_launcher_round.xml
│ │ ├── mipmap-hdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-mdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xxhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xxxhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── values-v21
│ │ └── styles.xml
│ │ └── values
│ │ ├── colors.xml
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
│ └── test
│ └── java
│ └── com
│ └── shashank
│ └── platform
│ └── classroomappui
│ └── ExampleUnitTest.java
├── build.gradle
├── gradle.properties
├── gradle
└── wrapper
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/caches
5 | /.idea/libraries
6 | /.idea/modules.xml
7 | /.idea/workspace.xml
8 | /.idea/navEditor.xml
9 | /.idea/assetWizardSettings.xml
10 | .DS_Store
11 | /build
12 | /captures
13 | .externalNativeBuild
14 |
--------------------------------------------------------------------------------
/.idea/encodings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/.idea/gradle.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
14 |
15 |
--------------------------------------------------------------------------------
/.idea/misc.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 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # ClassroomUI-Android
2 | Check out the new style for App Design aims for Classrooms...😉😀😁😎
3 |
4 | ## Screenshots
5 |
6 | **Please click the image below to enlarge.**
7 |
8 | 
9 |
10 | 
11 |
12 | 
13 |
14 | 
15 |
16 | 
17 |
18 | 
19 |
20 | ## Contributing
21 |
22 | Please fork this repository and contribute back using
23 | [pull requests](https://github.com/Shashank02051997/ClassroomUI-Android/pulls).
24 |
25 | Any contributions, large or small, major features, bug fixes, are welcomed and appreciated
26 | but will be thoroughly reviewed .
27 |
28 | ### Contact - Let's become friend
29 | - [Twitter](https://twitter.com/shashank020597)
30 | - [Github](https://github.com/Shashank02051997)
31 | - [Linkedin](https://www.linkedin.com/in/shashank-singhal-a87729b5/)
32 | - [Facebook](https://www.facebook.com/shashanksinghal02)
33 |
34 | ### Like our facebook page
35 | - [Android UI's Bucket](https://www.facebook.com/androiduisbucket)
36 |
37 | ## Donation
38 | If this project help you reduce time to develop, you can give me a cup of coffee :)
39 |
40 |
41 |
--------------------------------------------------------------------------------
/Screenshots/Screenshot_20190707-232005.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/Screenshots/Screenshot_20190707-232005.png
--------------------------------------------------------------------------------
/Screenshots/Screenshot_20190707-232010.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/Screenshots/Screenshot_20190707-232010.png
--------------------------------------------------------------------------------
/Screenshots/Screenshot_20190707-232018.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/Screenshots/Screenshot_20190707-232018.png
--------------------------------------------------------------------------------
/Screenshots/Screenshot_20190707-232027.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/Screenshots/Screenshot_20190707-232027.png
--------------------------------------------------------------------------------
/Screenshots/Screenshot_20190707-232034.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/Screenshots/Screenshot_20190707-232034.png
--------------------------------------------------------------------------------
/Screenshots/Screenshot_20190707-232047.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/Screenshots/Screenshot_20190707-232047.png
--------------------------------------------------------------------------------
/Screenshots/Screenshot_20190707-232059.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/Screenshots/Screenshot_20190707-232059.png
--------------------------------------------------------------------------------
/Screenshots/Screenshot_20190707-232108.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/Screenshots/Screenshot_20190707-232108.png
--------------------------------------------------------------------------------
/Screenshots/Screenshot_20190707-232116.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/Screenshots/Screenshot_20190707-232116.png
--------------------------------------------------------------------------------
/Screenshots/Screenshot_20190707-232125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/Screenshots/Screenshot_20190707-232125.png
--------------------------------------------------------------------------------
/Screenshots/Screenshot_20190707-232140.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/Screenshots/Screenshot_20190707-232140.png
--------------------------------------------------------------------------------
/Screenshots/Screenshot_20190707-232149.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/Screenshots/Screenshot_20190707-232149.png
--------------------------------------------------------------------------------
/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 28
5 | defaultConfig {
6 | applicationId "com.shashank.platform.classroomappui"
7 | minSdkVersion 21
8 | targetSdkVersion 28
9 | versionCode 1
10 | versionName "1.0"
11 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
12 | }
13 | buildTypes {
14 | release {
15 | minifyEnabled false
16 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
17 | }
18 | }
19 | }
20 |
21 | dependencies {
22 | implementation fileTree(dir: 'libs', include: ['*.jar'])
23 | implementation 'com.android.support:appcompat-v7:28.0.0'
24 | implementation 'com.android.support.constraint:constraint-layout:1.1.3'
25 | implementation 'com.android.support:design:28.0.0'
26 | implementation 'com.android.support:cardview-v7:28.0.0'
27 | implementation 'com.android.support:support-v4:28.0.0'
28 | testImplementation 'junit:junit:4.12'
29 | androidTestImplementation 'com.android.support.test:runner:1.0.2'
30 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
31 | }
32 |
--------------------------------------------------------------------------------
/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/app/src/androidTest/java/com/shashank/platform/classroomappui/ExampleInstrumentedTest.java:
--------------------------------------------------------------------------------
1 | package com.shashank.platform.classroomappui;
2 |
3 | import android.content.Context;
4 | import android.support.test.InstrumentationRegistry;
5 | import android.support.test.runner.AndroidJUnit4;
6 |
7 | import org.junit.Test;
8 | import org.junit.runner.RunWith;
9 |
10 | import static org.junit.Assert.*;
11 |
12 | /**
13 | * Instrumented test, which will execute on an Android device.
14 | *
15 | * @see Testing documentation
16 | */
17 | @RunWith(AndroidJUnit4.class)
18 | public class ExampleInstrumentedTest {
19 | @Test
20 | public void useAppContext() {
21 | // Context of the app under test.
22 | Context appContext = InstrumentationRegistry.getTargetContext();
23 |
24 | assertEquals("com.shashank.platform.classroomappui", appContext.getPackageName());
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
12 |
17 |
21 |
25 |
29 |
33 |
37 |
41 |
45 |
49 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
--------------------------------------------------------------------------------
/app/src/main/java/com/shashank/platform/classroomappui/Announcements.java:
--------------------------------------------------------------------------------
1 | package com.shashank.platform.classroomappui;
2 |
3 | import android.support.v7.app.AppCompatActivity;
4 | import android.os.Bundle;
5 |
6 | public class Announcements extends AppCompatActivity {
7 |
8 | @Override
9 | protected void onCreate(Bundle savedInstanceState) {
10 | super.onCreate(savedInstanceState);
11 | setContentView(R.layout.activity_announcements);
12 | getSupportActionBar().setDisplayHomeAsUpEnabled(true);
13 | }
14 |
15 | @Override
16 | public boolean onSupportNavigateUp() {
17 | finish();
18 | return true;
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/app/src/main/java/com/shashank/platform/classroomappui/Courses.java:
--------------------------------------------------------------------------------
1 | package com.shashank.platform.classroomappui;
2 |
3 | import android.support.v7.app.AppCompatActivity;
4 | import android.os.Bundle;
5 |
6 | public class Courses extends AppCompatActivity {
7 |
8 | @Override
9 | protected void onCreate(Bundle savedInstanceState) {
10 | super.onCreate(savedInstanceState);
11 | setContentView(R.layout.activity_courses);
12 | getSupportActionBar().setDisplayHomeAsUpEnabled(true);
13 | }
14 |
15 | @Override
16 | public boolean onSupportNavigateUp() {
17 | finish();
18 | return true;
19 | }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/app/src/main/java/com/shashank/platform/classroomappui/CustomAdapterSetting.java:
--------------------------------------------------------------------------------
1 | package com.shashank.platform.classroomappui;
2 |
3 | import android.app.Activity;
4 | import android.view.LayoutInflater;
5 | import android.view.View;
6 | import android.view.ViewGroup;
7 | import android.widget.ArrayAdapter;
8 | import android.widget.TextView;
9 |
10 | public class CustomAdapterSetting extends ArrayAdapter {
11 | Activity context;
12 | String name[];
13 | String num[];
14 | TextView medium_text, small_text;
15 |
16 | public CustomAdapterSetting(Activity context, String[] name, String[] num) {
17 | super(context, R.layout.setting, name);
18 | this.context = context;
19 | this.name = name;
20 | this.num = num;
21 | }
22 |
23 | @Override
24 | public View getView(int position, View convertView, ViewGroup parent) {
25 | LayoutInflater inflater = context.getLayoutInflater();
26 | View v = inflater.inflate(R.layout.setting, null, true);
27 | medium_text = (TextView) v.findViewById(R.id.medium_text);
28 | small_text = (TextView) v.findViewById(R.id.small_text);
29 | medium_text.setText(name[position]);
30 | small_text.setText(num[position]);
31 | return v;
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/app/src/main/java/com/shashank/platform/classroomappui/Events.java:
--------------------------------------------------------------------------------
1 | package com.shashank.platform.classroomappui;
2 |
3 | import android.support.v7.app.AppCompatActivity;
4 | import android.os.Bundle;
5 |
6 | public class Events extends AppCompatActivity {
7 |
8 | @Override
9 | protected void onCreate(Bundle savedInstanceState) {
10 | super.onCreate(savedInstanceState);
11 | setContentView(R.layout.activity_events);
12 | getSupportActionBar().setDisplayHomeAsUpEnabled(true);
13 | }
14 |
15 | @Override
16 | public boolean onSupportNavigateUp() {
17 | finish();
18 | return true;
19 | }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/app/src/main/java/com/shashank/platform/classroomappui/Home.java:
--------------------------------------------------------------------------------
1 | package com.shashank.platform.classroomappui;
2 |
3 | import android.content.Intent;
4 | import android.os.Bundle;
5 | import android.support.design.widget.FloatingActionButton;
6 | import android.support.design.widget.Snackbar;
7 | import android.view.View;
8 | import android.support.v4.view.GravityCompat;
9 | import android.support.v7.app.ActionBarDrawerToggle;
10 | import android.view.MenuItem;
11 | import android.support.design.widget.NavigationView;
12 | import android.support.v4.widget.DrawerLayout;
13 |
14 | import android.support.v7.app.AppCompatActivity;
15 | import android.support.v7.widget.Toolbar;
16 | import android.view.Menu;
17 | import android.widget.LinearLayout;
18 |
19 | public class Home extends AppCompatActivity
20 | implements NavigationView.OnNavigationItemSelectedListener, View.OnClickListener {
21 |
22 | LinearLayout profile;
23 |
24 | @Override
25 | protected void onCreate(Bundle savedInstanceState) {
26 | super.onCreate(savedInstanceState);
27 | setContentView(R.layout.activity_home);
28 | Toolbar toolbar = findViewById(R.id.toolbar);
29 | setSupportActionBar(toolbar);
30 | FloatingActionButton fab = findViewById(R.id.fab);
31 | fab.setOnClickListener(new View.OnClickListener() {
32 | @Override
33 | public void onClick(View view) {
34 | Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG)
35 | .setAction("Action", null).show();
36 | }
37 | });
38 | DrawerLayout drawer = findViewById(R.id.drawer_layout);
39 | NavigationView navigationView = findViewById(R.id.nav_view);
40 | ActionBarDrawerToggle toggle = new ActionBarDrawerToggle(
41 | this, drawer, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close);
42 | drawer.addDrawerListener(toggle);
43 | toggle.syncState();
44 | navigationView.setNavigationItemSelectedListener(this);
45 | View header = navigationView.getHeaderView(0);
46 | profile = header.findViewById(R.id.profile);
47 | profile.setOnClickListener(this);
48 | }
49 |
50 | @Override
51 | public void onBackPressed() {
52 | DrawerLayout drawer = findViewById(R.id.drawer_layout);
53 | if (drawer.isDrawerOpen(GravityCompat.START)) {
54 | drawer.closeDrawer(GravityCompat.START);
55 | } else {
56 | super.onBackPressed();
57 | }
58 | }
59 |
60 | @Override
61 | public boolean onCreateOptionsMenu(Menu menu) {
62 | // Inflate the menu; this adds items to the action bar if it is present.
63 | getMenuInflater().inflate(R.menu.home, menu);
64 | return true;
65 | }
66 |
67 | @Override
68 | public boolean onOptionsItemSelected(MenuItem item) {
69 | // Handle action bar item clicks here. The action bar will
70 | // automatically handle clicks on the Home/Up button, so long
71 | // as you specify a parent activity in AndroidManifest.xml.
72 | int id = item.getItemId();
73 |
74 | //noinspection SimplifiableIfStatement
75 |
76 |
77 | return super.onOptionsItemSelected(item);
78 | }
79 |
80 | @SuppressWarnings("StatementWithEmptyBody")
81 | @Override
82 | public boolean onNavigationItemSelected(MenuItem item) {
83 | // Handle navigation view item clicks here.
84 | int id = item.getItemId();
85 |
86 | if (id == R.id.nav_courses) {
87 | Intent intent = new Intent(getApplicationContext(), Courses.class);
88 | startActivity(intent);
89 | } else if (id == R.id.nav_events) {
90 | Intent intent = new Intent(getApplicationContext(), Events.class);
91 | startActivity(intent);
92 |
93 | } else if (id == R.id.nav_lectures) {
94 | Intent intent = new Intent(getApplicationContext(), Lectures.class);
95 | startActivity(intent);
96 | } else if (id == R.id.nav_announcements) {
97 | Intent intent = new Intent(getApplicationContext(), Announcements.class);
98 | startActivity(intent);
99 | } else if (id == R.id.nav_settings) {
100 | Intent intent = new Intent(getApplicationContext(), Settings.class);
101 | startActivity(intent);
102 |
103 | } else if (id == R.id.nav_logout) {
104 | finish();
105 | } else if (id == R.id.nav_share) {
106 |
107 | } else if (id == R.id.nav_rate) {
108 |
109 | }
110 |
111 | DrawerLayout drawer = findViewById(R.id.drawer_layout);
112 | drawer.closeDrawer(GravityCompat.START);
113 | return true;
114 | }
115 |
116 | @Override
117 | public void onClick(View view) {
118 | if (view.getId() == R.id.profile) {
119 | Intent intent = new Intent(getApplicationContext(), MyProfile.class);
120 | startActivity(intent);
121 | }
122 | }
123 | }
124 |
--------------------------------------------------------------------------------
/app/src/main/java/com/shashank/platform/classroomappui/Lectures.java:
--------------------------------------------------------------------------------
1 | package com.shashank.platform.classroomappui;
2 |
3 | import android.support.v7.app.AppCompatActivity;
4 | import android.os.Bundle;
5 |
6 | public class Lectures extends AppCompatActivity {
7 |
8 | @Override
9 | protected void onCreate(Bundle savedInstanceState) {
10 | super.onCreate(savedInstanceState);
11 | setContentView(R.layout.activity_lectures);
12 | getSupportActionBar().setDisplayHomeAsUpEnabled(true);
13 | }
14 |
15 | @Override
16 | public boolean onSupportNavigateUp() {
17 | finish();
18 | return true;
19 | }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/app/src/main/java/com/shashank/platform/classroomappui/LoginScreen.java:
--------------------------------------------------------------------------------
1 | package com.shashank.platform.classroomappui;
2 |
3 | import android.content.Intent;
4 | import android.support.v7.app.AppCompatActivity;
5 | import android.os.Bundle;
6 | import android.view.View;
7 | import android.widget.Button;
8 | import android.widget.TextView;
9 |
10 |
11 | public class LoginScreen extends AppCompatActivity implements View.OnClickListener {
12 |
13 | Button signIn;
14 | TextView signUp;
15 |
16 | @Override
17 | protected void onCreate(Bundle savedInstanceState) {
18 | super.onCreate(savedInstanceState);
19 | setContentView(R.layout.activity_login_screen);
20 | signIn = findViewById(R.id.sign_in);
21 | signUp = findViewById(R.id.sign_up);
22 | signIn.setOnClickListener(this);
23 | signUp.setOnClickListener(this);
24 | }
25 |
26 | @Override
27 | public void onClick(View view) {
28 | if (view.getId() == R.id.sign_in) {
29 | Intent intent = new Intent(getApplicationContext(), Home.class);
30 | startActivity(intent);
31 | } else if (view.getId() == R.id.sign_up) {
32 | Intent intent = new Intent(getApplicationContext(), SignupScreen.class);
33 | startActivity(intent);
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/app/src/main/java/com/shashank/platform/classroomappui/MyProfile.java:
--------------------------------------------------------------------------------
1 | package com.shashank.platform.classroomappui;
2 |
3 | import android.support.v7.app.AppCompatActivity;
4 | import android.os.Bundle;
5 |
6 | public class MyProfile extends AppCompatActivity {
7 |
8 | @Override
9 | protected void onCreate(Bundle savedInstanceState) {
10 | super.onCreate(savedInstanceState);
11 | setContentView(R.layout.activity_my_profile);
12 | getSupportActionBar().setDisplayHomeAsUpEnabled(true);
13 | }
14 |
15 | @Override
16 | public boolean onSupportNavigateUp() {
17 | finish();
18 | return true;
19 | }
20 |
21 |
22 | }
23 |
--------------------------------------------------------------------------------
/app/src/main/java/com/shashank/platform/classroomappui/Settings.java:
--------------------------------------------------------------------------------
1 | package com.shashank.platform.classroomappui;
2 |
3 | import android.support.v7.app.AppCompatActivity;
4 | import android.os.Bundle;
5 | import android.widget.ListView;
6 |
7 | public class Settings extends AppCompatActivity {
8 |
9 | ListView lst;
10 | String name[] = {"About Classroom App", "Rate Me", "Refer Classroom App To Your Friend", "Email Your Feedback", "Report a bug"};
11 | String num[] = {"Version 1.0", "Application", "Share this app with friends", "Tell me your suggestions", "Tell me if you found any problem"};
12 |
13 | @Override
14 | protected void onCreate(Bundle savedInstanceState) {
15 | super.onCreate(savedInstanceState);
16 | setContentView(R.layout.activity_settings);
17 | lst = findViewById(R.id.listView);
18 | CustomAdapterSetting adapter = new CustomAdapterSetting(this, name, num);
19 | lst.setAdapter(adapter);
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/app/src/main/java/com/shashank/platform/classroomappui/SignupScreen.java:
--------------------------------------------------------------------------------
1 | package com.shashank.platform.classroomappui;
2 |
3 | import android.support.v7.app.AppCompatActivity;
4 | import android.os.Bundle;
5 | import android.view.View;
6 | import android.widget.TextView;
7 |
8 | public class SignupScreen extends AppCompatActivity implements View.OnClickListener {
9 |
10 | TextView signIn;
11 |
12 | @Override
13 | protected void onCreate(Bundle savedInstanceState) {
14 | super.onCreate(savedInstanceState);
15 | setContentView(R.layout.activity_signup_screen);
16 | signIn = findViewById(R.id.sign_in);
17 | signIn.setOnClickListener(this);
18 | }
19 |
20 | @Override
21 | public void onClick(View view) {
22 | if(view.getId()==R.id.sign_in){
23 | finish();
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/app/src/main/java/com/shashank/platform/classroomappui/SplashScreen.java:
--------------------------------------------------------------------------------
1 | package com.shashank.platform.classroomappui;
2 |
3 | import android.content.Intent;
4 | import android.support.v7.app.AppCompatActivity;
5 | import android.os.Bundle;
6 | import android.view.Window;
7 | import android.view.WindowManager;
8 |
9 | public class SplashScreen extends AppCompatActivity {
10 |
11 | @Override
12 | protected void onCreate(Bundle savedInstanceState) {
13 | super.onCreate(savedInstanceState);
14 | requestWindowFeature(Window.FEATURE_NO_TITLE);
15 | getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
16 | setContentView(R.layout.activity_splash_screen);
17 | Thread timerThread = new Thread() {
18 | public void run() {
19 | try {
20 | sleep(3000);
21 | Intent i = new Intent(SplashScreen.this, LoginScreen.class);
22 | startActivity(i);
23 | finish();
24 | } catch (Exception e) {
25 | }
26 | }
27 | };
28 | timerThread.start();
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-v24/ic_launcher_foreground.xml:
--------------------------------------------------------------------------------
1 |
7 |
12 |
13 |
19 |
22 |
25 |
26 |
27 |
28 |
34 |
35 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/banner_img.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/app/src/main/res/drawable/banner_img.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/blue_rounded_solid.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/event_slider_img.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/app/src/main/res/drawable/event_slider_img.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_access_time_red_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_bug_report_black_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_domain_red_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_email_gray_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_event_available_red_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_event_black_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_exit_to_app_black_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_history_red_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_import_contacts_black_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_keyboard_arrow_right_white_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_launcher_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
10 |
15 |
20 |
25 |
30 |
35 |
40 |
45 |
50 |
55 |
60 |
65 |
70 |
75 |
80 |
85 |
90 |
95 |
100 |
105 |
110 |
115 |
120 |
125 |
130 |
135 |
140 |
145 |
150 |
155 |
160 |
165 |
170 |
171 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_local_activity_red_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_local_phone_gray_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_location_on_red_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_lock_gray_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_menu_camera.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
12 |
13 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_menu_gallery.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_menu_manage.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_menu_send.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_menu_share.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_menu_slideshow.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_nature_red_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_note_red_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_notifications_white_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_person_gray_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_person_outline_red_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_public_red_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_receipt_red_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_schedule_black_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_school_black_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_school_red_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_settings_black_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/kdemy_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/app/src/main/res/drawable/kdemy_logo.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/mobile_img.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/app/src/main/res/drawable/mobile_img.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/nav_bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/app/src/main/res/drawable/nav_bg.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/red_rounded_solid.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/side_nav_bar.xml:
--------------------------------------------------------------------------------
1 |
3 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/user.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/app/src/main/res/drawable/user.png
--------------------------------------------------------------------------------
/app/src/main/res/font/calibri.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/app/src/main/res/font/calibri.ttf
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_announcements.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
12 |
13 |
17 |
18 |
25 |
26 |
30 |
31 |
44 |
45 |
46 |
54 |
55 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
74 |
75 |
79 |
80 |
93 |
94 |
95 |
103 |
104 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
123 |
124 |
128 |
129 |
142 |
143 |
144 |
152 |
153 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
172 |
173 |
177 |
178 |
191 |
192 |
193 |
201 |
202 |
208 |
209 |
210 |
211 |
212 |
213 |
214 |
221 |
222 |
226 |
227 |
240 |
241 |
242 |
250 |
251 |
257 |
258 |
259 |
260 |
261 |
262 |
263 |
270 |
271 |
275 |
276 |
289 |
290 |
291 |
299 |
300 |
306 |
307 |
308 |
309 |
310 |
311 |
312 |
313 |
314 |
315 |
316 |
317 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_courses.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
12 |
13 |
18 |
19 |
25 |
26 |
34 |
35 |
39 |
40 |
48 |
49 |
56 |
57 |
65 |
66 |
71 |
72 |
73 |
74 |
75 |
76 |
84 |
85 |
89 |
90 |
98 |
99 |
106 |
107 |
113 |
114 |
124 |
125 |
133 |
134 |
135 |
136 |
137 |
138 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
155 |
156 |
164 |
165 |
169 |
170 |
178 |
179 |
186 |
187 |
193 |
194 |
204 |
205 |
213 |
214 |
215 |
216 |
217 |
218 |
223 |
224 |
225 |
226 |
227 |
235 |
236 |
240 |
241 |
249 |
250 |
257 |
258 |
266 |
267 |
272 |
273 |
274 |
275 |
276 |
277 |
278 |
284 |
285 |
293 |
294 |
298 |
299 |
307 |
308 |
315 |
316 |
324 |
325 |
330 |
331 |
332 |
333 |
334 |
342 |
343 |
347 |
348 |
356 |
357 |
364 |
365 |
373 |
374 |
379 |
380 |
381 |
382 |
383 |
384 |
385 |
391 |
392 |
400 |
401 |
405 |
406 |
414 |
415 |
422 |
423 |
431 |
432 |
437 |
438 |
439 |
440 |
441 |
442 |
443 |
444 |
450 |
451 |
452 |
462 |
463 |
467 |
468 |
472 |
473 |
480 |
481 |
485 |
486 |
494 |
495 |
502 |
503 |
508 |
509 |
519 |
520 |
528 |
529 |
530 |
531 |
532 |
533 |
534 |
535 |
536 |
543 |
544 |
548 |
549 |
557 |
558 |
565 |
566 |
571 |
572 |
582 |
583 |
591 |
592 |
593 |
594 |
595 |
596 |
597 |
598 |
599 |
606 |
607 |
611 |
612 |
620 |
621 |
628 |
629 |
634 |
635 |
645 |
646 |
654 |
655 |
656 |
657 |
658 |
659 |
660 |
661 |
662 |
663 |
664 |
665 |
666 |
667 |
668 |
669 |
670 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_events.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
12 |
13 |
18 |
19 |
23 |
24 |
29 |
30 |
35 |
36 |
41 |
42 |
47 |
48 |
49 |
50 |
51 |
52 |
61 |
62 |
63 |
70 |
71 |
75 |
76 |
85 |
86 |
93 |
94 |
95 |
96 |
97 |
104 |
105 |
109 |
110 |
119 |
120 |
127 |
128 |
129 |
130 |
131 |
138 |
139 |
143 |
144 |
153 |
154 |
161 |
162 |
163 |
164 |
165 |
172 |
173 |
177 |
178 |
187 |
188 |
195 |
196 |
197 |
198 |
199 |
200 |
201 |
202 |
203 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_home.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
15 |
16 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_lectures.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
12 |
13 |
17 |
18 |
24 |
25 |
29 |
30 |
38 |
39 |
45 |
46 |
52 |
53 |
58 |
59 |
64 |
65 |
74 |
75 |
83 |
84 |
85 |
90 |
91 |
100 |
101 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
124 |
125 |
129 |
130 |
138 |
139 |
145 |
146 |
152 |
153 |
158 |
159 |
164 |
165 |
174 |
175 |
183 |
184 |
185 |
190 |
191 |
200 |
201 |
209 |
210 |
211 |
212 |
213 |
214 |
215 |
216 |
217 |
218 |
224 |
225 |
229 |
230 |
238 |
239 |
245 |
246 |
252 |
253 |
258 |
259 |
264 |
265 |
274 |
275 |
283 |
284 |
285 |
290 |
291 |
300 |
301 |
309 |
310 |
311 |
312 |
313 |
314 |
315 |
316 |
317 |
318 |
324 |
325 |
329 |
330 |
338 |
339 |
345 |
346 |
352 |
353 |
358 |
359 |
364 |
365 |
374 |
375 |
383 |
384 |
385 |
390 |
391 |
400 |
401 |
409 |
410 |
411 |
412 |
413 |
414 |
415 |
416 |
417 |
418 |
424 |
425 |
429 |
430 |
438 |
439 |
445 |
446 |
452 |
453 |
458 |
459 |
464 |
465 |
474 |
475 |
483 |
484 |
485 |
490 |
491 |
500 |
501 |
509 |
510 |
511 |
512 |
513 |
514 |
515 |
516 |
517 |
518 |
524 |
525 |
529 |
530 |
538 |
539 |
545 |
546 |
552 |
553 |
558 |
559 |
564 |
565 |
574 |
575 |
583 |
584 |
585 |
590 |
591 |
600 |
601 |
609 |
610 |
611 |
612 |
613 |
614 |
615 |
616 |
617 |
618 |
619 |
620 |
621 |
622 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_login_screen.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
13 |
14 |
22 |
23 |
29 |
30 |
41 |
42 |
54 |
55 |
61 |
62 |
73 |
74 |
75 |
82 |
83 |
95 |
96 |
97 |
110 |
111 |
125 |
126 |
133 |
134 |
138 |
139 |
145 |
146 |
158 |
159 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
181 |
182 |
183 |
184 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_my_profile.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
12 |
13 |
17 |
18 |
24 |
25 |
29 |
30 |
35 |
36 |
42 |
43 |
50 |
51 |
60 |
61 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
79 |
80 |
85 |
86 |
92 |
93 |
102 |
103 |
109 |
110 |
111 |
117 |
118 |
127 |
128 |
134 |
135 |
136 |
137 |
143 |
144 |
153 |
154 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
173 |
174 |
178 |
179 |
188 |
189 |
197 |
198 |
199 |
200 |
201 |
202 |
208 |
209 |
213 |
214 |
223 |
224 |
229 |
230 |
238 |
239 |
247 |
248 |
249 |
250 |
256 |
257 |
262 |
263 |
271 |
272 |
280 |
281 |
282 |
283 |
289 |
290 |
295 |
296 |
304 |
305 |
313 |
314 |
315 |
316 |
317 |
318 |
319 |
320 |
321 |
322 |
323 |
324 |
325 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
14 |
15 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_signup_screen.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
12 |
13 |
21 |
22 |
28 |
29 |
41 |
42 |
48 |
49 |
60 |
61 |
62 |
68 |
69 |
80 |
81 |
82 |
89 |
90 |
102 |
103 |
104 |
118 |
119 |
126 |
127 |
131 |
132 |
138 |
139 |
151 |
152 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_splash_screen.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
16 |
17 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/app_bar_home.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
13 |
14 |
20 |
21 |
22 |
23 |
24 |
25 |
32 |
33 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/nav_header_home.xml:
--------------------------------------------------------------------------------
1 |
2 |
15 |
16 |
19 |
20 |
27 |
28 |
34 |
35 |
36 |
37 |
38 |
50 |
51 |
62 |
63 |
64 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/setting.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
17 |
18 |
27 |
28 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/activity_home_drawer.xml:
--------------------------------------------------------------------------------
1 |
2 |
51 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/home.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/app/src/main/res/values-v21/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #ff393a
4 | #c45248
5 | #ff393a
6 |
7 | #ffffff
8 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 | 8dp
6 | 200dp
7 | 16dp
8 |
--------------------------------------------------------------------------------
/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Classroom App UI
3 | Home
4 | Open navigation drawer
5 | Close navigation drawer
6 | Android Studio
7 | android.studio@android.com
8 | Navigation header
9 | Settings
10 |
11 | Home
12 | Gallery
13 | Slideshow
14 | Tools
15 | Share
16 | Send
17 |
18 |
--------------------------------------------------------------------------------
/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
21 |
22 |
23 |
24 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/app/src/test/java/com/shashank/platform/classroomappui/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.shashank.platform.classroomappui;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/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 | google()
6 | jcenter()
7 |
8 | }
9 | dependencies {
10 | classpath 'com.android.tools.build:gradle:3.4.1'
11 |
12 | // NOTE: Do not place your application dependencies here; they belong
13 | // in the individual module build.gradle files
14 | }
15 | }
16 |
17 | allprojects {
18 | repositories {
19 | google()
20 | jcenter()
21 |
22 | }
23 | }
24 |
25 | task clean(type: Delete) {
26 | delete rootProject.buildDir
27 | }
28 |
--------------------------------------------------------------------------------
/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 | # IDE (e.g. Android Studio) users:
3 | # Gradle settings configured through the IDE *will override*
4 | # any settings specified in this file.
5 | # For more details on how to configure your build environment visit
6 | # http://www.gradle.org/docs/current/userguide/build_environment.html
7 | # Specifies the JVM arguments used for the daemon process.
8 | # The setting is particularly useful for tweaking memory settings.
9 | org.gradle.jvmargs=-Xmx1536m
10 | # When configured, Gradle will run in incubating parallel mode.
11 | # This option should only be used with decoupled projects. More details, visit
12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
13 | # org.gradle.parallel=true
14 |
15 |
16 |
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Shashank02051997/ClassroomUI-Android/0a8b62f2761064966e14d860c9c8f77089c296e1/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Thu Jul 04 12:12:51 IST 2019
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-5.1.1-all.zip
7 |
--------------------------------------------------------------------------------
/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | ##############################################################################
4 | ##
5 | ## Gradle start up script for UN*X
6 | ##
7 | ##############################################################################
8 |
9 | # Attempt to set APP_HOME
10 | # Resolve links: $0 may be a link
11 | PRG="$0"
12 | # Need this for relative symlinks.
13 | while [ -h "$PRG" ] ; do
14 | ls=`ls -ld "$PRG"`
15 | link=`expr "$ls" : '.*-> \(.*\)$'`
16 | if expr "$link" : '/.*' > /dev/null; then
17 | PRG="$link"
18 | else
19 | PRG=`dirname "$PRG"`"/$link"
20 | fi
21 | done
22 | SAVED="`pwd`"
23 | cd "`dirname \"$PRG\"`/" >/dev/null
24 | APP_HOME="`pwd -P`"
25 | cd "$SAVED" >/dev/null
26 |
27 | APP_NAME="Gradle"
28 | APP_BASE_NAME=`basename "$0"`
29 |
30 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
31 | DEFAULT_JVM_OPTS=""
32 |
33 | # Use the maximum available, or set MAX_FD != -1 to use that value.
34 | MAX_FD="maximum"
35 |
36 | warn () {
37 | echo "$*"
38 | }
39 |
40 | die () {
41 | echo
42 | echo "$*"
43 | echo
44 | exit 1
45 | }
46 |
47 | # OS specific support (must be 'true' or 'false').
48 | cygwin=false
49 | msys=false
50 | darwin=false
51 | nonstop=false
52 | case "`uname`" in
53 | CYGWIN* )
54 | cygwin=true
55 | ;;
56 | Darwin* )
57 | darwin=true
58 | ;;
59 | MINGW* )
60 | msys=true
61 | ;;
62 | NONSTOP* )
63 | nonstop=true
64 | ;;
65 | esac
66 |
67 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
68 |
69 | # Determine the Java command to use to start the JVM.
70 | if [ -n "$JAVA_HOME" ] ; then
71 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
72 | # IBM's JDK on AIX uses strange locations for the executables
73 | JAVACMD="$JAVA_HOME/jre/sh/java"
74 | else
75 | JAVACMD="$JAVA_HOME/bin/java"
76 | fi
77 | if [ ! -x "$JAVACMD" ] ; then
78 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
79 |
80 | Please set the JAVA_HOME variable in your environment to match the
81 | location of your Java installation."
82 | fi
83 | else
84 | JAVACMD="java"
85 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
86 |
87 | Please set the JAVA_HOME variable in your environment to match the
88 | location of your Java installation."
89 | fi
90 |
91 | # Increase the maximum file descriptors if we can.
92 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
93 | MAX_FD_LIMIT=`ulimit -H -n`
94 | if [ $? -eq 0 ] ; then
95 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
96 | MAX_FD="$MAX_FD_LIMIT"
97 | fi
98 | ulimit -n $MAX_FD
99 | if [ $? -ne 0 ] ; then
100 | warn "Could not set maximum file descriptor limit: $MAX_FD"
101 | fi
102 | else
103 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
104 | fi
105 | fi
106 |
107 | # For Darwin, add options to specify how the application appears in the dock
108 | if $darwin; then
109 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
110 | fi
111 |
112 | # For Cygwin, switch paths to Windows format before running java
113 | if $cygwin ; then
114 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
115 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
116 | JAVACMD=`cygpath --unix "$JAVACMD"`
117 |
118 | # We build the pattern for arguments to be converted via cygpath
119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
120 | SEP=""
121 | for dir in $ROOTDIRSRAW ; do
122 | ROOTDIRS="$ROOTDIRS$SEP$dir"
123 | SEP="|"
124 | done
125 | OURCYGPATTERN="(^($ROOTDIRS))"
126 | # Add a user-defined pattern to the cygpath arguments
127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then
128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
129 | fi
130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
131 | i=0
132 | for arg in "$@" ; do
133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
135 |
136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
138 | else
139 | eval `echo args$i`="\"$arg\""
140 | fi
141 | i=$((i+1))
142 | done
143 | case $i in
144 | (0) set -- ;;
145 | (1) set -- "$args0" ;;
146 | (2) set -- "$args0" "$args1" ;;
147 | (3) set -- "$args0" "$args1" "$args2" ;;
148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
154 | esac
155 | fi
156 |
157 | # Escape application args
158 | save () {
159 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
160 | echo " "
161 | }
162 | APP_ARGS=$(save "$@")
163 |
164 | # Collect all arguments for the java command, following the shell quoting and substitution rules
165 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
166 |
167 | # by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
168 | if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
169 | cd "$(dirname "$0")"
170 | fi
171 |
172 | exec "$JAVACMD" "$@"
173 |
--------------------------------------------------------------------------------
/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | set DIRNAME=%~dp0
12 | if "%DIRNAME%" == "" set DIRNAME=.
13 | set APP_BASE_NAME=%~n0
14 | set APP_HOME=%DIRNAME%
15 |
16 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
17 | set DEFAULT_JVM_OPTS=
18 |
19 | @rem Find java.exe
20 | if defined JAVA_HOME goto findJavaFromJavaHome
21 |
22 | set JAVA_EXE=java.exe
23 | %JAVA_EXE% -version >NUL 2>&1
24 | if "%ERRORLEVEL%" == "0" goto init
25 |
26 | echo.
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 | echo.
29 | echo Please set the JAVA_HOME variable in your environment to match the
30 | echo location of your Java installation.
31 |
32 | goto fail
33 |
34 | :findJavaFromJavaHome
35 | set JAVA_HOME=%JAVA_HOME:"=%
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 |
38 | if exist "%JAVA_EXE%" goto init
39 |
40 | echo.
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 | echo.
43 | echo Please set the JAVA_HOME variable in your environment to match the
44 | echo location of your Java installation.
45 |
46 | goto fail
47 |
48 | :init
49 | @rem Get command-line arguments, handling Windows variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 |
53 | :win9xME_args
54 | @rem Slurp the command line arguments.
55 | set CMD_LINE_ARGS=
56 | set _SKIP=2
57 |
58 | :win9xME_args_slurp
59 | if "x%~1" == "x" goto execute
60 |
61 | set CMD_LINE_ARGS=%*
62 |
63 | :execute
64 | @rem Setup the command line
65 |
66 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
67 |
68 | @rem Execute Gradle
69 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
70 |
71 | :end
72 | @rem End local scope for the variables with windows NT shell
73 | if "%ERRORLEVEL%"=="0" goto mainEnd
74 |
75 | :fail
76 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
77 | rem the _cmd.exe /c_ return code!
78 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
79 | exit /b 1
80 |
81 | :mainEnd
82 | if "%OS%"=="Windows_NT" endlocal
83 |
84 | :omega
85 |
--------------------------------------------------------------------------------
/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------