Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Feb 17, 2017
0 parents commit 5c025a9
Show file tree
Hide file tree
Showing 226 changed files with 5,099 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*.iml
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
.DS_Store
/build
/captures
1 change: 1 addition & 0 deletions .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/copyright/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

68 changes: 68 additions & 0 deletions .idea/markdown-navigator.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/markdown-navigator/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 46 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
This is a demo app designed with the fascinating and modern Google's Material Design.
It created using design support library to show how to implement material design in apps.
It covers many material design components, such as:

-NavigationView

-CoordinatorLayout

-AppBarLayout

-CollapsingToolbarLayout

-NestedScrollView

-TabLayout

-FloatingActionButton

-SnackBar

-SwipeRefreshLayout

-RecyclerView

-CardView

-TextInputLayout


_**Designed by Eajy in China.**_
1 change: 1 addition & 0 deletions app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
31 changes: 31 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 24
buildToolsVersion "24.0.1"

defaultConfig {
applicationId "com.eajy.materialdesigndemo"
minSdkVersion 21
targetSdkVersion 24
versionCode 6
versionName "1.5"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:24.1.1'
compile 'com.android.support:support-v4:24.1.1'
compile 'com.android.support:design:24.1.1'
compile 'com.android.support:cardview-v7:24.1.1'

compile 'com.github.bumptech.glide:glide:3.7.0'
}
17 changes: 17 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in D:\Android\sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package com.eajy.materialdesigndemo;

import android.app.Application;
import android.test.ApplicationTestCase;

/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
super(Application.class);
}
}
54 changes: 54 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.eajy.materialdesigndemo">

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher_new"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".activity.MainActivity"
android:label="@string/app_name"
android:launchMode="singleTop"
android:theme="@style/AppTheme.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".activity.ScrollingActivity"
android:label="@string/title_activity_scrolling"
android:parentActivityName=".activity.MainActivity"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name=".activity.SettingsActivity"
android:label="@string/title_activity_settings"
android:parentActivityName=".activity.MainActivity" />
<activity
android:name=".activity.FullScreenActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="@style/FullscreenTheme" />
<activity
android:name=".activity.RecyclerViewActivity"
android:label="@string/title_activity_recycler_view"
android:parentActivityName=".activity.MainActivity"
android:theme="@style/AppTheme.NoActionBar_StatusBar" />
<activity
android:name=".activity.LoginActivity"
android:label="@string/title_activity_login"
android:parentActivityName=".activity.MainActivity" />
<activity
android:name=".activity.AboutActivity"
android:label="@string/title_activity_about"
android:parentActivityName=".activity.MainActivity" />
<activity
android:name=".activity.ShareViewActivity"
android:label="@string/title_activity_share_view"
android:theme="@style/AppTheme.NoActionBar_StatusBar" />
</application>

</manifest>
14 changes: 14 additions & 0 deletions app/src/main/java/com/eajy/materialdesigndemo/Constant.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package com.eajy.materialdesigndemo;

/**
* Created by zhang on 2016.09.23.
*/
public class Constant {

public static String APP_URL = "https://play.google.com/store/apps/details?id=com.eajy.materialdesigndemo";
public static String DESIGNED_BY = "Designed by Eajy in China";
public static String SHARE_CONTENT = "A beautiful app designed with Material Design:\n" + APP_URL + "\n- " + DESIGNED_BY;
public static String EMAIL = "mailto:zhangxiao.eajy@gmail.com";
public static String GOOGLE_PLUS = "https://plus.google.com/102787638260931600665";

}
Loading

0 comments on commit 5c025a9

Please sign in to comment.