From 04752cab0c14acde6cfd4c46f77d15edcc3fab81 Mon Sep 17 00:00:00 2001 From: jendib Date: Wed, 19 Nov 2014 01:18:42 +0100 Subject: [PATCH] Android: material design, API 21 --- docs-android/app/app.iml | 69 +++++++++++----- docs-android/app/build.gradle | 16 ++-- .../sismics/docs/DividerItemDecoration.java | 76 ++++++++++++++++++ .../com/sismics/docs/MainApplication.java | 16 ---- .../sismics/docs/activity/LoginActivity.java | 14 ++-- .../sismics/docs/activity/MainActivity.java | 35 +++----- .../sismics/docs/adapter/DocListAdapter.java | 60 ++++++++++++++ .../docs/fragment/DocListFragment.java | 47 +++++++++++ .../listener/RecyclerItemClickListener.java | 37 +++++++++ .../model/application/ApplicationContext.java | 13 +-- .../sismics/docs/resource/BaseResource.java | 2 + .../sismics/docs/resource/UserResource.java | 3 + .../com/sismics/docs/util/PreferenceUtil.java | 7 +- .../res/drawable-hdpi/drawer_shadow.9.png | Bin 171 -> 0 bytes .../src/main/res/drawable-hdpi/ic_drawer.png | Bin 2842 -> 0 bytes .../res/drawable-xhdpi/drawer_shadow.9.png | Bin 182 -> 0 bytes .../src/main/res/drawable-xhdpi/ic_drawer.png | Bin 1056 -> 0 bytes .../src/main/res/layout/doc_list_fragment.xml | 9 +++ .../app/src/main/res/layout/doc_list_item.xml | 26 ++++++ .../app/src/main/res/layout/main_activity.xml | 7 +- .../app/src/main/res/values/styles.xml | 6 +- .../gradle/wrapper/gradle-wrapper.properties | 4 +- 22 files changed, 353 insertions(+), 94 deletions(-) create mode 100644 docs-android/app/src/main/java/com/sismics/docs/DividerItemDecoration.java create mode 100644 docs-android/app/src/main/java/com/sismics/docs/adapter/DocListAdapter.java create mode 100644 docs-android/app/src/main/java/com/sismics/docs/fragment/DocListFragment.java create mode 100644 docs-android/app/src/main/java/com/sismics/docs/listener/RecyclerItemClickListener.java delete mode 100644 docs-android/app/src/main/res/drawable-hdpi/drawer_shadow.9.png delete mode 100644 docs-android/app/src/main/res/drawable-hdpi/ic_drawer.png delete mode 100644 docs-android/app/src/main/res/drawable-xhdpi/drawer_shadow.9.png delete mode 100644 docs-android/app/src/main/res/drawable-xhdpi/ic_drawer.png create mode 100644 docs-android/app/src/main/res/layout/doc_list_fragment.xml create mode 100644 docs-android/app/src/main/res/layout/doc_list_item.xml diff --git a/docs-android/app/app.iml b/docs-android/app/app.iml index 183e65e5..02513694 100644 --- a/docs-android/app/app.iml +++ b/docs-android/app/app.iml @@ -10,9 +10,10 @@