Skip to content

Commit fa994b6

Browse files
author
shashank singhal
committed
Initial commit
1 parent 3f72365 commit fa994b6

File tree

118 files changed

+4943
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+4943
-0
lines changed

.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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

.idea/encodings.xml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations.xml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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+
<img src="" height="600" width="300" hspace="40"><img src="" height="600" width="300" hspace="40">
9+
10+
<img src="" height="600" width="300" hspace="40"><img src="" height="600" width="300" hspace="40">
11+
12+
<img src="" height="600" width="300" hspace="40"><img src="" height="600" width="300" hspace="40">
13+
14+
## Contributing
15+
16+
Please fork this repository and contribute back using
17+
[pull requests](https://github.com/Shashank02051997/ClassroomUI-Android/pulls).
18+
19+
Any contributions, large or small, major features, bug fixes, are welcomed and appreciated
20+
but will be thoroughly reviewed .
21+
22+
### Contact - Let's become friend
23+
- [Twitter](https://twitter.com/shashank020597)
24+
- [Github](https://github.com/Shashank02051997)
25+
- [Linkedin](https://www.linkedin.com/in/shashank-singhal-a87729b5/)
26+
- [Facebook](https://www.facebook.com/shashanksinghal02)
27+
### Like our facebook page
28+
- [Android UI's Bucket](https://www.facebook.com/androiduisbucket)
96.8 KB
Loading
160 KB
Loading
150 KB
Loading
729 KB
Loading
225 KB
Loading
552 KB
Loading
208 KB
Loading
152 KB
Loading
388 KB
Loading
162 KB
Loading
139 KB
Loading
80.4 KB
Loading

app/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

app/build.gradle

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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+
}

app/proguard-rules.pro

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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 <a href="http://d.android.com/tools/testing">Testing documentation</a>
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+
}

app/src/main/AndroidManifest.xml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.shashank.platform.classroomappui">
4+
5+
<application
6+
android:allowBackup="true"
7+
android:icon="@mipmap/ic_launcher"
8+
android:label="@string/app_name"
9+
android:roundIcon="@mipmap/ic_launcher_round"
10+
android:supportsRtl="true"
11+
android:theme="@style/AppTheme">
12+
<activity android:name=".Settings"
13+
android:configChanges="keyboardHidden|orientation|screenSize"
14+
android:label=""
15+
android:screenOrientation="portrait"
16+
android:theme="@style/AppTheme.NoActionBar"></activity>
17+
<activity
18+
android:name=".Announcements"
19+
android:configChanges="orientation|screenSize"
20+
android:label="Announcements" />
21+
<activity
22+
android:name=".Lectures"
23+
android:configChanges="orientation|screenSize"
24+
android:label="Lectures" />
25+
<activity
26+
android:name=".Events"
27+
android:configChanges="orientation|screenSize"
28+
android:label="Events" />
29+
<activity
30+
android:name=".Courses"
31+
android:configChanges="orientation|screenSize"
32+
android:label="Courses" />
33+
<activity
34+
android:name=".MyProfile"
35+
android:configChanges="orientation|screenSize"
36+
android:label="My Profile" />
37+
<activity
38+
android:name=".Home"
39+
android:label="@string/title_activity_home"
40+
android:theme="@style/AppTheme.NoActionBar" />
41+
<activity
42+
android:name=".SignupScreen"
43+
android:configChanges="orientation|screenSize"
44+
android:theme="@style/MyAppTheme" />
45+
<activity
46+
android:name=".LoginScreen"
47+
android:configChanges="orientation|screenSize"
48+
android:theme="@style/MyAppTheme" />
49+
<activity
50+
android:name=".SplashScreen"
51+
android:configChanges="orientation|screenSize"
52+
android:theme="@style/Theme.AppCompat.NoActionBar">
53+
<intent-filter>
54+
<action android:name="android.intent.action.MAIN" />
55+
56+
<category android:name="android.intent.category.LAUNCHER" />
57+
</intent-filter>
58+
</activity>
59+
</application>
60+
61+
</manifest>
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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+
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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<String> {
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+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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+
}

0 commit comments

Comments
 (0)