├── .gitignore
├── .idea
├── caches
│ └── build_file_checksums.ser
├── codeStyles
│ └── Project.xml
├── misc.xml
├── modules.xml
├── runConfigurations.xml
└── vcs.xml
├── .travis.yml
├── LICENSE
├── Material-WeCenter.iml
├── MaterialWeCenter.iml
├── README.md
├── app
├── .gitignore
├── app.iml
├── build.gradle
├── proguard-rules.pro
└── src
│ ├── androidTest
│ └── java
│ │ └── com
│ │ └── sine_x
│ │ └── material_wecenter
│ │ └── ApplicationTest.java
│ └── main
│ ├── AndroidManifest.xml
│ ├── assets
│ ├── LICENSES.html
│ └── background.jpg
│ ├── java
│ └── com
│ │ └── sine_x
│ │ └── material_wecenter
│ │ ├── Client.java
│ │ ├── Config.java
│ │ ├── Util.java
│ │ ├── controller
│ │ ├── activity
│ │ │ ├── AnswerActivity.java
│ │ │ ├── ArticleActivity.java
│ │ │ ├── ChatActivity.java
│ │ │ ├── DrawerActivity.java
│ │ │ ├── LaunchActivity.java
│ │ │ ├── LoginActivity.java
│ │ │ ├── PostActivity.java
│ │ │ ├── PostAnswerActivity.java
│ │ │ ├── PostCommentActivity.java
│ │ │ ├── QuestionActivity.java
│ │ │ ├── SignUpActivity.java
│ │ │ ├── TopicActivity.java
│ │ │ └── UserActivity.java
│ │ ├── adapter
│ │ │ ├── ActionViewAdapter.java
│ │ │ ├── AnswerDetailAdapter.java
│ │ │ ├── ArticleAdapter.java
│ │ │ ├── ConversationViewAdapter.java
│ │ │ ├── DynamicViewAdapter.java
│ │ │ ├── ExploreViewAdapter.java
│ │ │ ├── QuestionAdapter.java
│ │ │ ├── SearchViewAdapter.java
│ │ │ └── TopicViewAdapter.java
│ │ └── fragment
│ │ │ ├── ExploreFragment.java
│ │ │ ├── HomeFragment.java
│ │ │ ├── InboxFragment.java
│ │ │ ├── SearchFragment.java
│ │ │ ├── SettingsFragment.java
│ │ │ ├── TopicFragment.java
│ │ │ ├── UserActonFragment.java
│ │ │ └── UserInfoFragment.java
│ │ └── models
│ │ ├── Action.java
│ │ ├── Ajax.java
│ │ ├── AnswerComment.java
│ │ ├── AnswerDetail.java
│ │ ├── Article.java
│ │ ├── Chat.java
│ │ ├── Conversation.java
│ │ ├── Courses.java
│ │ ├── Dynamic.java
│ │ ├── ExploreItem.java
│ │ ├── LoginProcess.java
│ │ ├── PublishAnswer.java
│ │ ├── PublishQuestion.java
│ │ ├── QuestionDetail.java
│ │ ├── Response.java
│ │ ├── Responses.java
│ │ ├── SearchResult.java
│ │ ├── Topic.java
│ │ ├── UserInfo.java
│ │ └── WebData.java
│ └── res
│ ├── anim
│ ├── hide_to_bottom.xml
│ └── show_from_bottom.xml
│ ├── drawable-hdpi
│ ├── avatar_max_img.png
│ ├── background.jpg
│ ├── ic_agree_gray.png
│ ├── ic_agree_red.png
│ ├── ic_chat_grey600_48dp.png
│ ├── ic_comment_grey_36dp.png
│ ├── ic_email.png
│ ├── ic_exit_to_app_grey600_48dp.png
│ ├── ic_favorite_blue_36dp.png
│ ├── ic_favorite_border_white_24dp.png
│ ├── ic_favorite_grey_36dp.png
│ ├── ic_favorite_white_24dp.png
│ ├── ic_format_bold_white_24dp.png
│ ├── ic_format_italic_white_24dp.png
│ ├── ic_format_list_bulleted_24dp.png
│ ├── ic_format_quote_24dp.png
│ ├── ic_insert_link_24dp.png
│ ├── ic_red_heart.png
│ ├── ic_redo_white_24dp.png
│ ├── ic_refresh.png
│ ├── ic_search_grey600_48dp.png
│ ├── ic_send.png
│ ├── ic_send_white_24dp.png
│ ├── ic_share.png
│ ├── ic_thumb_down_blue_36dp.png
│ ├── ic_thumb_down_grey_36dp.png
│ ├── ic_thumb_up_blue_36dp.png
│ ├── ic_thumb_up_grey_36dp.png
│ ├── ic_top.png
│ ├── ic_undo_white_24dp.png
│ ├── ic_whatshot_grey600_48dp.png
│ └── launch.jpg
│ ├── drawable-mdpi
│ ├── ic_agree_gray.png
│ ├── ic_agree_red.png
│ ├── ic_chat_grey600_48dp.png
│ ├── ic_comment_grey_36dp.png
│ ├── ic_email.png
│ ├── ic_exit_to_app_grey600_48dp.png
│ ├── ic_favorite_blue_36dp.png
│ ├── ic_favorite_border_white_24dp.png
│ ├── ic_favorite_grey_36dp.png
│ ├── ic_favorite_white_24dp.png
│ ├── ic_format_bold_white_24dp.png
│ ├── ic_format_italic_white_24dp.png
│ ├── ic_format_list_bulleted_24dp.png
│ ├── ic_format_quote_24dp.png
│ ├── ic_insert_link_24dp.png
│ ├── ic_red_heart.png
│ ├── ic_redo_white_24dp.png
│ ├── ic_refresh.png
│ ├── ic_search_grey600_48dp.png
│ ├── ic_send.png
│ ├── ic_send_white_24dp.png
│ ├── ic_share.png
│ ├── ic_thumb_down_blue_36dp.png
│ ├── ic_thumb_down_grey_36dp.png
│ ├── ic_thumb_up_blue_36dp.png
│ ├── ic_thumb_up_grey_36dp.png
│ ├── ic_top.png
│ ├── ic_undo_white_24dp.png
│ └── ic_whatshot_grey600_48dp.png
│ ├── drawable-xhdpi
│ ├── ic_agree_gray.png
│ ├── ic_agree_red.png
│ ├── ic_chat_grey600_48dp.png
│ ├── ic_comment_grey_36dp.png
│ ├── ic_email.png
│ ├── ic_exit_to_app_grey600_48dp.png
│ ├── ic_favorite_blue_36dp.png
│ ├── ic_favorite_border_white_24dp.png
│ ├── ic_favorite_grey_36dp.png
│ ├── ic_favorite_white_24dp.png
│ ├── ic_format_bold_white_24dp.png
│ ├── ic_format_italic_white_24dp.png
│ ├── ic_format_list_bulleted_24dp.png
│ ├── ic_format_quote_24dp.png
│ ├── ic_insert_link_24dp.png
│ ├── ic_red_heart.png
│ ├── ic_redo_white_24dp.png
│ ├── ic_refresh.png
│ ├── ic_search_grey600_48dp.png
│ ├── ic_send.png
│ ├── ic_send_white_24dp.png
│ ├── ic_share.png
│ ├── ic_thumb_down_blue_36dp.png
│ ├── ic_thumb_down_grey_36dp.png
│ ├── ic_thumb_up_blue_36dp.png
│ ├── ic_thumb_up_grey_36dp.png
│ ├── ic_top.png
│ ├── ic_undo_white_24dp.png
│ └── ic_whatshot_grey600_48dp.png
│ ├── drawable-xxhdpi
│ ├── ic_agree_gray.png
│ ├── ic_agree_red.png
│ ├── ic_chat_grey600_48dp.png
│ ├── ic_comment_grey_36dp.png
│ ├── ic_email.png
│ ├── ic_exit_to_app_grey600_48dp.png
│ ├── ic_favorite_blue_36dp.png
│ ├── ic_favorite_border_white_24dp.png
│ ├── ic_favorite_grey_36dp.png
│ ├── ic_favorite_white_24dp.png
│ ├── ic_format_bold_white_24dp.png
│ ├── ic_format_italic_white_24dp.png
│ ├── ic_format_list_bulleted_24dp.png
│ ├── ic_format_quote_24dp.png
│ ├── ic_insert_link_24dp.png
│ ├── ic_red_heart.png
│ ├── ic_redo_white_24dp.png
│ ├── ic_refresh.png
│ ├── ic_search_grey600_48dp.png
│ ├── ic_send.png
│ ├── ic_send_white_24dp.png
│ ├── ic_share.png
│ ├── ic_thumb_down_blue_36dp.png
│ ├── ic_thumb_down_grey_36dp.png
│ ├── ic_thumb_up_blue_36dp.png
│ ├── ic_thumb_up_grey_36dp.png
│ ├── ic_top.png
│ ├── ic_undo_white_24dp.png
│ └── ic_whatshot_grey600_48dp.png
│ ├── drawable-xxxhdpi
│ ├── ic_agree_gray.png
│ ├── ic_agree_red.png
│ ├── ic_chat_grey600_48dp.png
│ ├── ic_comment_grey_36dp.png
│ ├── ic_email.png
│ ├── ic_exit_to_app_grey600_48dp.png
│ ├── ic_favorite_blue_36dp.png
│ ├── ic_favorite_border_white_24dp.png
│ ├── ic_favorite_grey_36dp.png
│ ├── ic_favorite_white_24dp.png
│ ├── ic_format_bold_white_24dp.png
│ ├── ic_format_italic_white_24dp.png
│ ├── ic_format_list_bulleted_24dp.png
│ ├── ic_format_quote_24dp.png
│ ├── ic_insert_link_24dp.png
│ ├── ic_red_heart.png
│ ├── ic_redo_white_24dp.png
│ ├── ic_refresh.png
│ ├── ic_search_grey600_48dp.png
│ ├── ic_send.png
│ ├── ic_send_white_24dp.png
│ ├── ic_share.png
│ ├── ic_thumb_down_blue_36dp.png
│ ├── ic_thumb_down_grey_36dp.png
│ ├── ic_thumb_up_blue_36dp.png
│ ├── ic_thumb_up_grey_36dp.png
│ ├── ic_top.png
│ ├── ic_undo_white_24dp.png
│ └── ic_whatshot_grey600_48dp.png
│ ├── drawable
│ ├── ic_menu_camera.xml
│ ├── ic_menu_gallery.xml
│ ├── ic_menu_manage.xml
│ ├── ic_menu_send.xml
│ ├── ic_menu_share.xml
│ ├── ic_menu_slideshow.xml
│ ├── ripple.xml
│ ├── side_nav_bar.xml
│ ├── stroker.xml
│ ├── topic_mid_img.png
│ └── un_follow_shape.xml
│ ├── layout
│ ├── activity_answer.xml
│ ├── activity_chat.xml
│ ├── activity_drawer.xml
│ ├── activity_launch.xml
│ ├── activity_login.xml
│ ├── activity_post.xml
│ ├── activity_post_answer.xml
│ ├── activity_question.xml
│ ├── activity_sign_up.xml
│ ├── activity_topic.xml
│ ├── activity_user.xml
│ ├── app_bar_drawer.xml
│ ├── content_drawer.xml
│ ├── content_topic.xml
│ ├── fragment_explore.xml
│ ├── fragment_home.xml
│ ├── fragment_inbox.xml
│ ├── fragment_recyclerview.xml
│ ├── fragment_scroll.xml
│ ├── fragment_search.xml
│ ├── header_logo.xml
│ ├── item_action.xml
│ ├── item_answer.xml
│ ├── item_answer_comment.xml
│ ├── item_answer_detail.xml
│ ├── item_artilce_info.xml
│ ├── item_conversation.xml
│ ├── item_dynamic.xml
│ ├── item_question.xml
│ ├── item_question_footer.xml
│ ├── item_question_info.xml
│ ├── item_question_title.xml
│ ├── item_rich_text.xml
│ ├── item_search.xml
│ ├── item_tags.xml
│ ├── item_topic.xml
│ └── nav_header_drawer.xml
│ ├── menu
│ ├── activity_drawer_drawer.xml
│ ├── menu_post.xml
│ ├── menu_post_answer.xml
│ ├── menu_question.xml
│ └── menu_user.xml
│ ├── mipmap-hdpi
│ ├── ic_edit.png
│ ├── ic_explore_grey600_48dp.png
│ └── ic_launcher.png
│ ├── mipmap-mdpi
│ ├── ic_edit.png
│ ├── ic_explore_grey600_48dp.png
│ └── ic_launcher.png
│ ├── mipmap-xhdpi
│ ├── ic_edit.png
│ ├── ic_explore_grey600_48dp.png
│ ├── ic_launcher.png
│ ├── ic_perm_identity_grey600_48dp.png
│ └── ic_security_grey600_48dp.png
│ ├── mipmap-xxhdpi
│ ├── ic_edit.png
│ ├── ic_explore_grey600_48dp.png
│ ├── ic_launcher.png
│ ├── ic_notifications_on_grey600_48dp.png
│ ├── ic_perm_identity_grey600_48dp.png
│ └── ic_security_grey600_48dp.png
│ ├── mipmap-xxxhdpi
│ ├── ic_explore_grey600_48dp.png
│ ├── ic_format_quote_grey600_48dp.png
│ ├── ic_launcher.png
│ ├── ic_location_city_grey600_48dp.png
│ ├── ic_perm_identity_grey600_48dp.png
│ ├── ic_security_grey600_48dp.png
│ └── ic_settings_grey600_48dp.png
│ ├── values-v21
│ └── styles.xml
│ ├── values-w820dp
│ └── dimens.xml
│ ├── values
│ ├── color.xml
│ ├── dimens.xml
│ ├── strings.xml
│ └── styles.xml
│ └── xml
│ └── settings.xml
├── build.gradle
├── gradle.properties
├── gradle
└── wrapper
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── screenshot
├── Screenshot_20170613-111048.png
├── Screenshot_20170613-111055.png
├── Screenshot_20170613-111122.png
├── Screenshot_20170613-111138.png
├── Screenshot_20170613-111432.png
├── Screenshot_20170613-111756.png
├── Screenshot_20170613-111803.png
├── Screenshot_20170613-111832.png
├── Screenshot_20170613-112219.png
├── Screenshot_20170613-112432.png
├── Screenshot_20170613-112532.png
├── Screenshot_20170613-112541.png
├── Screenshot_20170613-112616.png
├── Screenshot_20170613-112628.png
└── Screenshot_20170613-121101.png
└── settings.gradle
/.gitignore:
--------------------------------------------------------------------------------
1 | # Built application files
2 | *.apk
3 | *.ap_
4 |
5 | # Files for the ART/Dalvik VM
6 | *.dex
7 |
8 | # Java class files
9 | *.class
10 |
11 | # Generated files
12 | bin/
13 | gen/
14 | out/
15 |
16 | # Gradle files
17 | .gradle/
18 | build/
19 |
20 | # Local configuration file (sdk path, etc)
21 | local.properties
22 |
23 | # Proguard folder generated by Eclipse
24 | proguard/
25 |
26 | # Log Files
27 | *.log
28 |
29 | # Android Studio Navigation editor temp files
30 | .navigation/
31 |
32 | # Android Studio captures folder
33 | captures/
34 |
35 | # IntelliJ
36 | *.iml
37 | .idea/workspace.xml
38 | .idea/tasks.xml
39 | .idea/gradle.xml
40 | .idea/assetWizardSettings.xml
41 | .idea/dictionaries
42 | .idea/libraries
43 | .idea/caches
44 |
45 | # Keystore files
46 | # Uncomment the following line if you do not want to check your keystore files in.
47 | #*.jks
48 |
49 | # External native build folder generated in Android Studio 2.2 and later
50 | .externalNativeBuild
51 |
52 | # Google Services (e.g. APIs or Firebase)
53 | google-services.json
54 |
55 | # Freeline
56 | freeline.py
57 | freeline/
58 | freeline_project_description.json
59 |
60 | # fastlane
61 | fastlane/report.xml
62 | fastlane/Preview.html
63 | fastlane/screenshots
64 | fastlane/test_output
65 | fastlane/readme.md
66 |
--------------------------------------------------------------------------------
/.idea/caches/build_file_checksums.ser:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/.idea/caches/build_file_checksums.ser
--------------------------------------------------------------------------------
/.idea/codeStyles/Project.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 |
--------------------------------------------------------------------------------
/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
17 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/.idea/runConfigurations.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
12 |
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | language: android
2 | jdk: oraclejdk8
3 | android:
4 | components:
5 | # Uncomment the lines below if you want to
6 | # use the latest revision of Android SDK Tools
7 | - tools
8 | - platform-tools
9 |
10 | # The BuildTools version used by your project
11 | - build-tools-27.0.3
12 |
13 | # The SDK version used to compile your project
14 | - android-27
15 |
16 | # Additional components
17 | - extra-google-m2repository
18 | - extra-android-m2repository
19 |
20 | script:
21 | - ./gradlew build
22 |
23 |
--------------------------------------------------------------------------------
/Material-WeCenter.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/MaterialWeCenter.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Material-WeCenter
2 |
3 |
4 |
5 | Material-WeCenter是一个第三方的[WeCenter](http://www.wecenter.com/)安卓(Android)客户端,最初为作者们为大学官方论坛开发。本客户端需要配合API使用:[ZhangZhenghao/WeCenterAPI](https://github.com/ZhangZhenghao/WeCenterAPI))。
6 |
7 | [](https://travis-ci.org/zhenghaoz/MaterialWeCenter)
8 | [](https://github.com/ZhangZhenghao/MaterialWeCenter/releases/latest)
9 |
10 | ## Screenshot
11 |
12 |
13 |
14 |
15 | ## Demo
16 |
17 | - [测试站点](https://wecenter.sine-x.com/)
18 | - [测试客户端](https://github.com/ZhangZhenghao/Material-WeCenter/releases)
19 |
20 | [](https://github.com/ZhangZhenghao/MaterialWeCenter/releases/download/latest/app-debug.apk)
21 |
22 | ## Usage
23 |
24 | - [使用方法](https://github.com/ZhangZhenghao/MaterialWeCenter/wiki/%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95)
25 | - [功能介绍](https://github.com/ZhangZhenghao/MaterialWeCenter/wiki/%E5%8A%9F%E8%83%BD%E4%BB%8B%E7%BB%8D)
26 | - [实现介绍](https://github.com/ZhangZhenghao/MaterialWeCenter/wiki/%E5%AE%9E%E7%8E%B0%E4%BB%8B%E7%BB%8D)
27 |
28 | ## Support
29 |
30 | 如果在使用本客户端的过程中遇到问题,或者有什么功能还没有实现,欢迎联系作者或者贡献自己的代码。
31 |
32 | ## License
33 | Copyright 2019 ZhangZhenghao
34 |
35 | Licensed under the Apache License, Version 2.0 (the "License");
36 | you may not use this file except in compliance with the License.
37 | You may obtain a copy of the License at
38 |
39 | http://www.apache.org/licenses/LICENSE-2.0
40 |
41 | Unless required by applicable law or agreed to in writing, software
42 | distributed under the License is distributed on an "AS IS" BASIS,
43 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
44 | See the License for the specific language governing permissions and
45 | limitations under the License.
46 |
--------------------------------------------------------------------------------
/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 27
5 | buildToolsVersion '27.0.3'
6 |
7 | defaultConfig {
8 | applicationId "com.sine_x.material_wecenter"
9 | minSdkVersion 21
10 | targetSdkVersion 27
11 | versionCode 1
12 | versionName "0.1.9"
13 | }
14 |
15 | lintOptions {
16 | abortOnError false
17 | }
18 |
19 | buildTypes {
20 | release {
21 | minifyEnabled false
22 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
23 | }
24 | }
25 |
26 | packagingOptions {
27 | exclude 'META-INF/LICENSE.txt'
28 | exclude 'META-INF/NOTICE.txt'
29 | exclude '.readme'
30 | }
31 | }
32 |
33 | repositories {
34 | jcenter()
35 | maven { url "https://s3.amazonaws.com/repo.commonsware.com" }
36 | maven { url 'https://jitpack.io' }
37 | }
38 |
39 | dependencies {
40 | implementation 'com.android.support.constraint:constraint-layout:1.1.2'
41 | implementation fileTree(include: ['*.jar'], dir: 'libs')
42 | implementation('com.github.florent37:materialviewpager:1.1.2@aar') {
43 | transitive = true
44 | }
45 | implementation 'com.google.code.gson:gson:2.8.0'
46 | implementation 'com.rengwuxian.materialedittext:library:2.1.4'
47 | implementation 'com.android.support:appcompat-v7:25.4.0'
48 | implementation 'com.android.support:cardview-v7:25.4.0'
49 | implementation 'com.android.support:recyclerview-v7:25.4.0'
50 | implementation 'com.squareup.picasso:picasso:2.5.2'
51 | implementation 'de.hdodenhof:circleimageview:2.1.0'
52 | implementation 'com.nispok:snackbar:2.11.0'
53 | implementation 'com.android.support:support-v4:25.4.0'
54 | implementation 'com.android.support:preference-v7:25.4.0'
55 | implementation 'com.android.support:preference-v14:25.4.0'
56 | implementation 'com.jenzz:materialpreference:1.3'
57 | implementation 'com.github.clans:fab:1.6.2'
58 | implementation 'com.jakewharton:butterknife:8.8.1'
59 | implementation 'com.zzhoujay.richtext:richtext:2.3.7'
60 | implementation 'com.github.mthli:Knife:v1.1'
61 | implementation 'com.afollestad.material-dialogs:core:0.9.4.5'
62 | implementation 'org.apache.commons:commons-lang3:3.5'
63 | implementation 'me.gujun.android.taggroup:library:1.4@aar'
64 | implementation 'com.miguelcatalan:materialsearchview:1.4.0'
65 | implementation 'com.github.pavlospt:roundedletterview:1.2'
66 | implementation 'com.github.Slyce-Inc:SlyceMessaging:1.1.2'
67 | implementation 'com.github.arimorty:floatingsearchview:2.1.1'
68 | annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
69 | }
70 |
--------------------------------------------------------------------------------
/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 C:\Program Files\adt-bundle-windows-x86_64-20140702\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 |
19 | -keep public class com.zjut.material_wecenter.models.**
20 | -keep class butterknife.** { *; }
21 | -dontwarn butterknife.internal.**
22 | -keep class **$$ViewBinder { *; }
23 | -keepclasseswithmembernames class * {
24 | @butterknife.* ;
25 | }
26 | -keepclasseswithmembernames class * {
27 | @butterknife.* ;
28 | }
29 | -keepattributes Signature
30 | -keepattributes *Annotation*
31 | -keep class com.squareup.okhttp.** { *; }
32 | -keep interface com.squareup.okhttp.** { *; }
33 | -dontwarn com.squareup.okhttp.**
34 | -keep public class org.codehaus.**
35 | -keep public class java.nio.**
36 | -dontwarn rx.**
37 | -dontwarn okio.**
38 | -dontwarn com.squareup.okhttp.**
--------------------------------------------------------------------------------
/app/src/androidTest/java/com/sine_x/material_wecenter/ApplicationTest.java:
--------------------------------------------------------------------------------
1 | package com.sine_x.material_wecenter;
2 |
3 | import android.app.Application;
4 | import android.test.ApplicationTestCase;
5 |
6 | /**
7 | * Testing Fundamentals
8 | */
9 | public class ApplicationTest extends ApplicationTestCase {
10 | public ApplicationTest() {
11 | super(Application.class);
12 | }
13 | }
--------------------------------------------------------------------------------
/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
8 |
9 |
10 |
11 |
12 |
17 |
21 |
25 |
29 |
33 |
36 |
40 |
41 |
42 |
43 |
44 |
45 |
50 |
55 |
59 |
63 |
64 |
68 |
72 |
73 |
74 |
75 |
--------------------------------------------------------------------------------
/app/src/main/assets/background.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/assets/background.jpg
--------------------------------------------------------------------------------
/app/src/main/java/com/sine_x/material_wecenter/Util.java:
--------------------------------------------------------------------------------
1 | package com.sine_x.material_wecenter;
2 |
3 |
4 | import org.apache.commons.lang3.StringEscapeUtils;
5 |
6 | public class Util {
7 |
8 | /**
9 | * 将HTML转换为BBCode
10 | * @param html: HTML字符串
11 | * @return BBCode字符串
12 | */
13 | public static String htmlToBBcode(String html) {
14 | html = html.replace("
", "\n");
15 | html = html.replace("", "[i]");
16 | html = html.replace("", "[/i]");
17 | html = html.replace("", "[b]");
18 | html = html.replace("", "[/b]");
19 | html = html.replace("", "[u]");
20 | html = html.replace("", "[/u]");
21 | html = html.replace("", "[quote]");
22 | html = html.replace("
", "[/quote]");
23 | html = html.replace("", "[list]");
24 | html = html.replace("
", "[/list]");
25 | html = html.replace("", "[*]");
26 | html = html.replace("", "[/*]");
27 | html = html.replaceAll("", "[url=$1]");
28 | html = html.replace("", "[/url]");
29 | html = StringEscapeUtils.unescapeHtml4(html);
30 | return html;
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/app/src/main/java/com/sine_x/material_wecenter/controller/activity/LaunchActivity.java:
--------------------------------------------------------------------------------
1 | package com.sine_x.material_wecenter.controller.activity;
2 |
3 | import android.content.Intent;
4 | import android.content.SharedPreferences;
5 | import android.os.AsyncTask;
6 | import android.os.Bundle;
7 | import android.support.v7.app.AppCompatActivity;
8 |
9 | import com.sine_x.material_wecenter.Client;
10 | import com.sine_x.material_wecenter.Config;
11 | import com.sine_x.material_wecenter.R;
12 | import com.sine_x.material_wecenter.models.LoginProcess;
13 | import com.sine_x.material_wecenter.models.Response;
14 |
15 | public class LaunchActivity extends AppCompatActivity {
16 |
17 | private String userName;
18 | private String password;
19 |
20 | @Override
21 | protected void onCreate(Bundle savedInstanceState) {
22 | super.onCreate(savedInstanceState);
23 | setContentView(R.layout.activity_launch);
24 |
25 | // 验证用户保存的登录信息
26 | SharedPreferences preferences = getSharedPreferences("account", MODE_PRIVATE);
27 | userName = preferences.getString(Config.PRE_USER_NAME, "");
28 | password = preferences.getString(Config.PRE_PASSWORD, "");
29 | new UserLoginTask().execute();
30 | }
31 |
32 |
33 | // 用户登录验证
34 | private class UserLoginTask extends AsyncTask {
35 |
36 | @Override
37 | protected Void doInBackground(Void... params) {
38 | Response response = Client.getInstance().loginProcess(userName, password);
39 | if (response.getErrno() != 1) { // 验证失败,要求用户重新输入登录信息
40 | Intent intent = new Intent(LaunchActivity.this, LoginActivity.class);
41 | startActivity(intent);
42 | finish();
43 | } else { // 验证成功,进入应用程序
44 | SharedPreferences preferences = getSharedPreferences("account", MODE_PRIVATE);
45 | SharedPreferences.Editor editor = preferences.edit();
46 | editor.putString(Config.PRE_AVATAR_FILE, response.getRsm().getAvatar_file());
47 | editor.putString(Config.PRE_EMAIL, response.getRsm().getEmail());
48 | editor.apply();
49 | Intent intent = new Intent(LaunchActivity.this, DrawerActivity.class);
50 | startActivity(intent);
51 | finish();
52 | }
53 | return null;
54 | }
55 | }
56 |
57 | }
58 |
--------------------------------------------------------------------------------
/app/src/main/java/com/sine_x/material_wecenter/controller/activity/LoginActivity.java:
--------------------------------------------------------------------------------
1 | package com.sine_x.material_wecenter.controller.activity;
2 |
3 | import android.content.Intent;
4 | import android.content.SharedPreferences;
5 | import android.os.AsyncTask;
6 | import android.os.Bundle;
7 | import android.support.v7.app.AppCompatActivity;
8 | import android.widget.Button;
9 | import android.widget.EditText;
10 | import android.widget.TextView;
11 |
12 | import com.nispok.snackbar.Snackbar;
13 | import com.sine_x.material_wecenter.Client;
14 | import com.sine_x.material_wecenter.Config;
15 | import com.sine_x.material_wecenter.R;
16 | import com.sine_x.material_wecenter.models.LoginProcess;
17 | import com.sine_x.material_wecenter.models.Response;
18 |
19 | import butterknife.BindView;
20 | import butterknife.ButterKnife;
21 | import butterknife.OnClick;
22 |
23 | public class LoginActivity extends AppCompatActivity {
24 |
25 | @BindView(R.id.edit_username)
26 | EditText editUsername;
27 | @BindView(R.id.edit_password)
28 | EditText editPassword;
29 | @BindView(R.id.button_login)
30 | Button btnLogin;
31 | @BindView(R.id.button_sign_up)
32 | TextView btnSignUp;
33 |
34 | @Override
35 | protected void onCreate(Bundle savedInstanceState) {
36 | super.onCreate(savedInstanceState);
37 | setContentView(R.layout.activity_login);
38 | ButterKnife.bind(this);
39 | }
40 |
41 | @OnClick(R.id.button_login)
42 | void login() {
43 | // 点击用户登录按钮
44 | new UserLoginTask().execute();
45 | }
46 |
47 | @OnClick(R.id.button_sign_up)
48 | void signUp() {
49 | Intent intent = new Intent(this, SignUpActivity.class);
50 | startActivity(intent);
51 | finish();
52 | }
53 |
54 | // 用户登录验证异步任务
55 | private class UserLoginTask extends AsyncTask {
56 | private String user_name;
57 | private String password;
58 | private Response response;
59 |
60 | // 获取用户输入的用户名和密码
61 | @Override
62 | protected void onPreExecute() {
63 | super.onPreExecute();
64 | // 从输入框获取用户名和密码
65 | user_name = editUsername.getText().toString();
66 | password = editPassword.getText().toString();
67 | }
68 |
69 | // 验证登录信息
70 | @Override
71 | protected Void doInBackground(Void... params) {
72 | response = Client.getInstance().loginProcess(user_name, password);
73 | if (response.getErrno() == 1) {
74 | // 保存用户名和密码
75 | SharedPreferences preferences = getSharedPreferences("account", MODE_PRIVATE);
76 | SharedPreferences.Editor editor = preferences.edit();
77 | editor.putInt(Config.PRE_UID, response.getRsm().getUid());
78 | editor.putString(Config.PRE_PASSWORD, password);
79 | editor.putString(Config.PRE_USER_NAME, response.getRsm().getUser_name());
80 | editor.putString(Config.PRE_AVATAR_FILE, response.getRsm().getAvatar_file());
81 | editor.apply();
82 | // 加载主页
83 | Intent intent = new Intent(LoginActivity.this, DrawerActivity.class);
84 | startActivity(intent);
85 | finish();
86 | }
87 | return null;
88 | }
89 |
90 | // 通知用户登录结果
91 | @Override
92 | protected void onPostExecute(Void aVoid) {
93 | super.onPostExecute(aVoid);
94 | // 显示登陆错误原因
95 | String errmsg;
96 | if (response == null)
97 | errmsg = "登录时发生错误";
98 | else
99 | errmsg = response.getErr();
100 | Snackbar.with(getApplicationContext())
101 | .text(errmsg)
102 | .show(LoginActivity.this);
103 | }
104 | }
105 | }
106 |
--------------------------------------------------------------------------------
/app/src/main/java/com/sine_x/material_wecenter/controller/activity/PostCommentActivity.java:
--------------------------------------------------------------------------------
1 | package com.sine_x.material_wecenter.controller.activity;
2 |
3 | import android.content.Intent;
4 | import android.os.AsyncTask;
5 | import android.os.Bundle;
6 | import android.support.v7.app.ActionBar;
7 | import android.support.v7.app.AppCompatActivity;
8 | import android.support.v7.widget.Toolbar;
9 | import android.view.View;
10 | import android.widget.TextView;
11 |
12 | import com.nispok.snackbar.Snackbar;
13 | import com.sine_x.material_wecenter.Client;
14 | import com.sine_x.material_wecenter.Config;
15 | import com.sine_x.material_wecenter.R;
16 | import com.sine_x.material_wecenter.models.Response;
17 |
18 | import org.apache.commons.lang3.StringEscapeUtils;
19 |
20 | import butterknife.BindView;
21 | import butterknife.ButterKnife;
22 | import butterknife.OnClick;
23 | import io.github.mthli.knife.KnifeText;
24 |
25 | public class PostCommentActivity extends AppCompatActivity {
26 |
27 | public static final int POST_COMMENT_POS = 1;
28 | public static final int POST_COMMENT_NEG = 0;
29 |
30 | int articleID;
31 | String artiicleTitle;
32 |
33 | @BindView(R.id.question_title)
34 | TextView title;
35 | @BindView(R.id.editText_answerContent)
36 | KnifeText editContent;
37 |
38 | @Override
39 | protected void onCreate(Bundle savedInstanceState) {
40 | super.onCreate(savedInstanceState);
41 | setContentView(R.layout.activity_post_answer);
42 | ButterKnife.bind(this);
43 |
44 | //获取intent
45 | Intent mIntent = getIntent();
46 | articleID = mIntent.getIntExtra(Config.INT_ARTICLE_ID, -1);
47 | artiicleTitle = mIntent.getStringExtra(Config.INT_ARTICLE_TITLE);
48 |
49 | //init toolbar
50 | Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar_publishAnswer);
51 | setSupportActionBar(toolbar);
52 | title.setText("评论 " + artiicleTitle);
53 | toolbar.setNavigationOnClickListener(new View.OnClickListener() {
54 | @Override
55 | public void onClick(View v) {
56 | setResult(POST_COMMENT_NEG);
57 | finish();
58 | }
59 | });
60 | ActionBar ab = getSupportActionBar();
61 | if (ab != null)
62 | ab.setDisplayHomeAsUpEnabled(true);
63 | }
64 |
65 | @OnClick(R.id.imageButton_publishAnswer)
66 | void comment() {
67 | if (!editContent.toHtml().isEmpty())
68 | new CommentTask().execute();
69 | }
70 |
71 | class CommentTask extends AsyncTask {
72 | Response response;
73 | String message;
74 |
75 | @Override
76 | protected void onPreExecute() {
77 | super.onPreExecute();
78 | message = editContent.toHtml();
79 | message = StringEscapeUtils.unescapeHtml4(message);
80 | }
81 |
82 | @Override
83 | protected Void doInBackground(Void... params) {
84 | response = Client.getInstance().articleSaveComment(articleID, message);
85 | return null;
86 | }
87 |
88 | @Override
89 | protected void onPostExecute(Void aVoid) {
90 | super.onPostExecute(aVoid);
91 | if (response.getErrno() == 1) { // 发布成功
92 | PostCommentActivity.this.setResult(POST_COMMENT_POS);
93 | PostCommentActivity.this.finish();
94 | } else // 显示错误
95 | Snackbar.with(PostCommentActivity.this).text(response.getErr()).show(PostCommentActivity.this);
96 | }
97 | }
98 | }
99 |
--------------------------------------------------------------------------------
/app/src/main/java/com/sine_x/material_wecenter/controller/activity/SignUpActivity.java:
--------------------------------------------------------------------------------
1 | package com.sine_x.material_wecenter.controller.activity;
2 |
3 | import android.content.Intent;
4 | import android.content.SharedPreferences;
5 | import android.os.AsyncTask;
6 | import android.os.Bundle;
7 | import android.support.v7.app.AppCompatActivity;
8 | import android.widget.Button;
9 | import android.widget.EditText;
10 | import android.widget.TextView;
11 |
12 | import com.sine_x.material_wecenter.Client;
13 | import com.sine_x.material_wecenter.Config;
14 | import com.sine_x.material_wecenter.R;
15 | import com.sine_x.material_wecenter.models.LoginProcess;
16 | import com.sine_x.material_wecenter.models.Response;
17 |
18 | import butterknife.BindView;
19 | import butterknife.ButterKnife;
20 | import butterknife.OnClick;
21 |
22 | public class SignUpActivity extends AppCompatActivity {
23 |
24 | @BindView(R.id.edit_username)
25 | EditText editUsername;
26 | @BindView(R.id.edit_email)
27 | EditText editEmail;
28 | @BindView(R.id.edit_password)
29 | EditText editPassword;
30 | @BindView(R.id.button_login)
31 | TextView buttonLogin;
32 | @BindView(R.id.button_sign_up)
33 | Button buttonSignUp;
34 |
35 | @Override
36 | protected void onCreate(Bundle savedInstanceState) {
37 | super.onCreate(savedInstanceState);
38 | setContentView(R.layout.activity_sign_up);
39 | ButterKnife.bind(this);
40 | }
41 |
42 | @OnClick(R.id.button_login)
43 | void login() {
44 | Intent intent = new Intent(this, LoginActivity.class);
45 | startActivity(intent);
46 | finish();
47 | }
48 |
49 | @OnClick(R.id.button_sign_up)
50 | void signUp() {
51 | new SignUpTask().execute();
52 | }
53 |
54 | public class SignUpTask extends AsyncTask {
55 | String userName, password, email;
56 | Response response;
57 |
58 | @Override
59 | protected void onPreExecute() {
60 | super.onPreExecute();
61 | userName = editUsername.getText().toString();
62 | password = editPassword.getText().toString();
63 | email = editEmail.getText().toString();
64 | }
65 |
66 | @Override
67 | protected Void doInBackground(Void... params) {
68 | response = Client.getInstance().registerProcess(userName, password, email, "");
69 | return null;
70 | }
71 |
72 | @Override
73 | protected void onPostExecute(Void aVoid) {
74 | super.onPostExecute(aVoid);
75 | if (response.getErrno() == 1) {
76 | // 保存用户名和密码
77 | SharedPreferences preferences = getSharedPreferences("account", MODE_PRIVATE);
78 | SharedPreferences.Editor editor = preferences.edit();
79 | editor.putInt(Config.PRE_UID, response.getRsm().getUid());
80 | editor.putString(Config.PRE_PASSWORD, password);
81 | editor.putString(Config.PRE_USER_NAME, response.getRsm().getUser_name());
82 | editor.putString(Config.PRE_AVATAR_FILE, Config.DEFAULT_AVATAR);
83 | editor.putString(Config.PRE_EMAIL, response.getRsm().getEmail());
84 | editor.apply();
85 | // 加载主页
86 | Intent intent = new Intent(SignUpActivity.this, DrawerActivity.class);
87 | startActivity(intent);
88 | finish();
89 | } else {
90 | com.nispok.snackbar.Snackbar.with(getApplicationContext())
91 | .text(response.getErr())
92 | .show(SignUpActivity.this);
93 | }
94 | }
95 | }
96 | }
97 |
--------------------------------------------------------------------------------
/app/src/main/java/com/sine_x/material_wecenter/controller/activity/TopicActivity.java:
--------------------------------------------------------------------------------
1 | package com.sine_x.material_wecenter.controller.activity;
2 |
3 | import android.content.Intent;
4 | import android.os.AsyncTask;
5 | import android.os.Bundle;
6 | import android.support.v7.app.ActionBar;
7 | import android.support.v7.app.AppCompatActivity;
8 | import android.support.v7.widget.DefaultItemAnimator;
9 | import android.support.v7.widget.LinearLayoutManager;
10 | import android.support.v7.widget.RecyclerView;
11 | import android.support.v7.widget.Toolbar;
12 | import android.view.View;
13 |
14 | import com.sine_x.material_wecenter.Client;
15 | import com.sine_x.material_wecenter.Config;
16 | import com.sine_x.material_wecenter.R;
17 | import com.sine_x.material_wecenter.controller.adapter.ExploreViewAdapter;
18 | import com.sine_x.material_wecenter.models.ExploreItem;
19 | import com.sine_x.material_wecenter.models.Responses;
20 |
21 | import java.util.ArrayList;
22 | import java.util.List;
23 |
24 | import butterknife.BindView;
25 | import butterknife.ButterKnife;
26 |
27 | public class TopicActivity extends AppCompatActivity {
28 |
29 | List mList = new ArrayList<>();
30 | ExploreViewAdapter mAdapter;
31 | @BindView(R.id.post_list)
32 | RecyclerView mRecyclerView;
33 |
34 | @Override
35 | protected void onCreate(Bundle savedInstanceState) {
36 | super.onCreate(savedInstanceState);
37 | setContentView(R.layout.activity_topic);
38 | ButterKnife.bind(this);
39 | Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
40 | setSupportActionBar(toolbar);
41 | toolbar.setNavigationOnClickListener(new View.OnClickListener() {
42 | @Override
43 | public void onClick(View v) {
44 | finish();
45 | }
46 | });
47 | ActionBar ab = getSupportActionBar();
48 | if (ab != null)
49 | ab.setDisplayHomeAsUpEnabled(true);
50 |
51 | Intent intent = getIntent();
52 | setTitle(intent.getStringExtra(Config.INT_TOPIC_NAME));
53 | int id = intent.getIntExtra(Config.INT_TOPIC_ID, -1);
54 |
55 | final LinearLayoutManager mLayoutManager = new LinearLayoutManager(this);
56 | mRecyclerView.setLayoutManager(mLayoutManager);
57 | mAdapter = new ExploreViewAdapter(this, mList);
58 | mRecyclerView.setAdapter(mAdapter);
59 | mRecyclerView.setItemAnimator(new DefaultItemAnimator());
60 |
61 | // FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab);
62 | // fab.setOnClickListener(new View.OnClickListener() {
63 | // @Override
64 | // public void onClick(View view) {
65 | // Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG)
66 | // .setAction("Action", null).show();
67 | // }
68 | // });
69 |
70 | new LoadPostsTask(id).execute();
71 | }
72 |
73 | class LoadPostsTask extends AsyncTask {
74 |
75 | int topicID;
76 | Responses responses;
77 |
78 | LoadPostsTask(int id) {
79 | topicID = id;
80 | }
81 |
82 | @Override
83 | protected Void doInBackground(Void... voids) {
84 | responses = Client.getInstance().posts(topicID);
85 | return null;
86 | }
87 |
88 | @Override
89 | protected void onPostExecute(Void aVoid) {
90 | super.onPostExecute(aVoid);
91 | if (responses.getErrno() == 1) {
92 | mList.clear();
93 | mList.addAll(responses.getRsm());
94 | }
95 | mAdapter.notifyDataSetChanged();
96 | }
97 | }
98 | }
99 |
--------------------------------------------------------------------------------
/app/src/main/java/com/sine_x/material_wecenter/controller/adapter/ConversationViewAdapter.java:
--------------------------------------------------------------------------------
1 | package com.sine_x.material_wecenter.controller.adapter;
2 |
3 | import android.content.Context;
4 | import android.content.Intent;
5 | import android.graphics.Color;
6 | import android.graphics.Typeface;
7 | import android.support.v7.widget.CardView;
8 | import android.support.v7.widget.RecyclerView;
9 | import android.view.LayoutInflater;
10 | import android.view.View;
11 | import android.view.ViewGroup;
12 | import android.widget.TextView;
13 |
14 | import com.sine_x.material_wecenter.Config;
15 | import com.sine_x.material_wecenter.R;
16 | import com.sine_x.material_wecenter.controller.activity.ChatActivity;
17 | import com.sine_x.material_wecenter.models.Conversation;
18 | import com.squareup.picasso.Picasso;
19 |
20 | import java.util.List;
21 |
22 | import butterknife.BindView;
23 | import butterknife.ButterKnife;
24 | import de.hdodenhof.circleimageview.CircleImageView;
25 |
26 | public class ConversationViewAdapter extends RecyclerView.Adapter {
27 |
28 | private List mList;
29 | private Context mContext;
30 |
31 | public ConversationViewAdapter(Context context, List list) {
32 | this.mContext = context;
33 | this.mList = list;
34 | }
35 |
36 | @Override
37 | public void onBindViewHolder(ViewHolder holder, int position) {
38 | final Conversation conversation = mList.get(position);
39 | Picasso.with(mContext).load(conversation.getAvatar_file()).into(holder.conversationImage);
40 | holder.conversationUser.setText(conversation.getUser_name());
41 | holder.conversationLast.setText(conversation.getLast_message());
42 | if (conversation.getUnread() > 0) {
43 | holder.conversationUser.setTypeface(null, Typeface.BOLD);
44 | holder.conversationLast.setTypeface(null, Typeface.BOLD);
45 | holder.conversationLast.setTextColor(Color.BLACK);
46 | } else {
47 | holder.conversationUser.setTypeface(null, Typeface.NORMAL);
48 | holder.conversationLast.setTypeface(null, Typeface.NORMAL);
49 | holder.conversationLast.setTextColor(mContext.getResources().getColor(R.color.tertiary_text_light));
50 | }
51 | holder.card.setOnClickListener(new View.OnClickListener() {
52 | @Override
53 | public void onClick(View v) {
54 | Intent intent = new Intent(mContext, ChatActivity.class);
55 | intent.putExtra(Config.INT_CHAT_USERNAME, conversation.getUser_name());
56 | intent.putExtra(Config.INT_CHAT_ID, conversation.getId());
57 | mContext.startActivity(intent);
58 | }
59 | });
60 | }
61 |
62 | @Override
63 | public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int i) {
64 | View v = LayoutInflater.from(viewGroup.getContext()).inflate(R.layout.item_conversation, viewGroup, false);
65 | return new ViewHolder(v);
66 | }
67 |
68 | @Override
69 | public int getItemCount() {
70 | return mList == null ? 0 : mList.size();
71 | }
72 |
73 | public class ViewHolder extends RecyclerView.ViewHolder {
74 |
75 | @BindView(R.id.card)
76 | CardView card;
77 | @BindView(R.id.conversation_img)
78 | CircleImageView conversationImage;
79 | @BindView(R.id.conversation_user_name)
80 | TextView conversationUser;
81 | @BindView(R.id.conversation_last_msg)
82 | TextView conversationLast;
83 |
84 | public ViewHolder(View itemView) {
85 | super(itemView);
86 | ButterKnife.bind(this, itemView);
87 | }
88 | }
89 | }
90 |
--------------------------------------------------------------------------------
/app/src/main/java/com/sine_x/material_wecenter/controller/adapter/TopicViewAdapter.java:
--------------------------------------------------------------------------------
1 | package com.sine_x.material_wecenter.controller.adapter;
2 |
3 | import android.content.Context;
4 | import android.content.Intent;
5 | import android.support.v7.widget.CardView;
6 | import android.support.v7.widget.RecyclerView;
7 | import android.text.Html;
8 | import android.view.LayoutInflater;
9 | import android.view.View;
10 | import android.view.ViewGroup;
11 | import android.widget.ImageView;
12 | import android.widget.TextView;
13 |
14 | import com.sine_x.material_wecenter.Config;
15 | import com.sine_x.material_wecenter.R;
16 | import com.sine_x.material_wecenter.controller.activity.TopicActivity;
17 | import com.sine_x.material_wecenter.models.Topic;
18 | import com.squareup.picasso.Picasso;
19 |
20 | import java.util.List;
21 |
22 | import butterknife.BindView;
23 | import butterknife.ButterKnife;
24 |
25 | public class TopicViewAdapter extends RecyclerView.Adapter {
26 |
27 | private List mList;
28 | private Context mContext;
29 |
30 | public TopicViewAdapter(Context context, List list) {
31 | this.mContext = context;
32 | this.mList = list;
33 | }
34 |
35 | @Override
36 | public void onBindViewHolder(ViewHolder holder, int position) {
37 | final Topic topic = mList.get(position);
38 | if (topic.getTopic_pic() != null)
39 | Picasso.with(mContext).load(topic.getTopic_pic()).into(holder.topicImg);
40 | holder.topicTitle.setText(topic.getTopic_title());
41 | holder.topicDescription.setText(Html.fromHtml(topic.getTopic_description()));
42 | holder.cardView.setOnClickListener(new View.OnClickListener() {
43 | @Override
44 | public void onClick(View v) {
45 | Intent intent = new Intent(mContext, TopicActivity.class);
46 | intent.putExtra(Config.INT_TOPIC_NAME, topic.getTopic_title());
47 | intent.putExtra(Config.INT_TOPIC_ID, topic.getTopic_id());
48 | mContext.startActivity(intent);
49 | }
50 | });
51 | }
52 |
53 | @Override
54 | public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int i) {
55 | View v = LayoutInflater.from(viewGroup.getContext()).inflate(R.layout.item_topic, viewGroup, false);
56 | return new ViewHolder(v);
57 | }
58 |
59 | @Override
60 | public int getItemCount() {
61 | return mList == null ? 0 : mList.size();
62 | }
63 |
64 | public class ViewHolder extends RecyclerView.ViewHolder {
65 |
66 | @BindView(R.id.card_view)
67 | CardView cardView;
68 | @BindView(R.id.topic_img)
69 | ImageView topicImg;
70 | @BindView(R.id.topic_title)
71 | TextView topicTitle;
72 | @BindView(R.id.topic_description)
73 | TextView topicDescription;
74 |
75 | public ViewHolder(View itemView) {
76 | super(itemView);
77 | ButterKnife.bind(this, itemView);
78 | }
79 | }
80 | }
81 |
--------------------------------------------------------------------------------
/app/src/main/java/com/sine_x/material_wecenter/controller/fragment/SearchFragment.java:
--------------------------------------------------------------------------------
1 | package com.sine_x.material_wecenter.controller.fragment;
2 |
3 |
4 | import android.os.AsyncTask;
5 | import android.os.Bundle;
6 | import android.support.annotation.Nullable;
7 | import android.support.v4.app.Fragment;
8 | import android.support.v4.widget.DrawerLayout;
9 | import android.support.v7.widget.DefaultItemAnimator;
10 | import android.support.v7.widget.LinearLayoutManager;
11 | import android.support.v7.widget.RecyclerView;
12 | import android.view.LayoutInflater;
13 | import android.view.View;
14 | import android.view.ViewGroup;
15 |
16 | import com.arlib.floatingsearchview.FloatingSearchView;
17 | import com.sine_x.material_wecenter.Client;
18 | import com.sine_x.material_wecenter.R;
19 | import com.sine_x.material_wecenter.controller.adapter.SearchViewAdapter;
20 | import com.sine_x.material_wecenter.models.Responses;
21 | import com.sine_x.material_wecenter.models.SearchResult;
22 |
23 | import java.util.ArrayList;
24 | import java.util.List;
25 |
26 | import butterknife.BindView;
27 | import butterknife.ButterKnife;
28 |
29 | /**
30 | * A simple {@link Fragment} subclass.
31 | */
32 | public class SearchFragment extends Fragment {
33 |
34 | private List mList = new ArrayList<>();
35 | private SearchViewAdapter mAdapter;
36 | private String q;
37 | private DrawerLayout drawerLayout;
38 |
39 | @BindView(R.id.floating_search_view)
40 | FloatingSearchView searchView;
41 | @BindView(R.id.search_list)
42 | RecyclerView mRecyclerView;
43 |
44 | public SearchFragment() {
45 | // Required empty public constructor
46 | }
47 |
48 |
49 | public void setDrawer(DrawerLayout drawerLayout) {
50 | this.drawerLayout = drawerLayout;
51 | }
52 |
53 | @Override
54 | public View onCreateView(LayoutInflater inflater, ViewGroup container,
55 | Bundle savedInstanceState) {
56 | // Inflate the layout for this fragment
57 | return inflater.inflate(R.layout.fragment_search, container, false);
58 | }
59 |
60 | @Override
61 | public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
62 | super.onViewCreated(view, savedInstanceState);
63 | ButterKnife.bind(this, view);
64 | mAdapter = new SearchViewAdapter(getActivity(), mList);
65 | mRecyclerView.setAdapter(mAdapter);
66 | final LinearLayoutManager mLayoutManager = new LinearLayoutManager(getActivity());
67 | mRecyclerView.setLayoutManager(mLayoutManager);
68 | mRecyclerView.setItemAnimator(new DefaultItemAnimator());
69 | searchView.setOnQueryChangeListener(new FloatingSearchView.OnQueryChangeListener() {
70 | @Override
71 | public void onSearchTextChanged(String oldQuery, String newQuery) {
72 | q = newQuery;
73 | new SearchTask().execute();
74 | }
75 | });
76 | searchView.setOnLeftMenuClickListener(new FloatingSearchView.OnLeftMenuClickListener() {
77 | @Override
78 | public void onMenuOpened() {
79 |
80 | }
81 |
82 | @Override
83 | public void onMenuClosed() {
84 |
85 | }
86 | });
87 | if (drawerLayout != null)
88 | searchView.attachNavigationDrawerToMenuButton(drawerLayout);
89 | }
90 |
91 | class SearchTask extends AsyncTask {
92 |
93 | Responses responses;
94 |
95 | @Override
96 | protected Void doInBackground(Void... voids) {
97 | responses = Client.getInstance().search(q);
98 | if (responses.getErrno() == 1) {
99 | mList.clear();
100 | mList.addAll(responses.getRsm());
101 | }
102 | return null;
103 | }
104 |
105 | @Override
106 | protected void onPostExecute(Void aVoid) {
107 | super.onPostExecute(aVoid);
108 | mAdapter.notifyDataSetChanged();
109 | }
110 | }
111 | }
112 |
--------------------------------------------------------------------------------
/app/src/main/java/com/sine_x/material_wecenter/controller/fragment/SettingsFragment.java:
--------------------------------------------------------------------------------
1 | package com.sine_x.material_wecenter.controller.fragment;
2 |
3 | import android.content.Intent;
4 | import android.net.Uri;
5 | import android.os.Bundle;
6 | import android.support.v7.preference.Preference;
7 | import android.support.v7.preference.PreferenceFragmentCompat;
8 | import android.view.View;
9 |
10 | import com.sine_x.material_wecenter.BuildConfig;
11 | import com.sine_x.material_wecenter.R;
12 |
13 | public class SettingsFragment extends PreferenceFragmentCompat {
14 |
15 | @Override
16 | public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {
17 | // 指定配置
18 | addPreferencesFromResource(R.xml.settings);
19 | }
20 |
21 | @Override
22 | public void onViewCreated(View view, Bundle savedInstanceState) {
23 | super.onViewCreated(view, savedInstanceState);
24 | // 显示版本号
25 | Preference version = findPreference("version");
26 | version.setSummary(BuildConfig.VERSION_NAME);
27 | // 打开GitHub项目地址
28 | Preference github = findPreference("github_repo");
29 | github.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {
30 | @Override
31 | public boolean onPreferenceClick(Preference preference) {
32 | Intent intent = new Intent(Intent.ACTION_VIEW);
33 | intent.setData(Uri.parse(getString(R.string.github_url)));
34 | startActivity(intent);
35 | return false;
36 | }
37 | });
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/app/src/main/java/com/sine_x/material_wecenter/controller/fragment/UserInfoFragment.java:
--------------------------------------------------------------------------------
1 | package com.sine_x.material_wecenter.controller.fragment;
2 |
3 | import android.os.AsyncTask;
4 | import android.os.Bundle;
5 | import android.support.annotation.Nullable;
6 | import android.support.v4.app.Fragment;
7 | import android.view.LayoutInflater;
8 | import android.view.View;
9 | import android.view.ViewGroup;
10 | import android.widget.TextView;
11 |
12 | import com.github.florent37.materialviewpager.MaterialViewPagerHelper;
13 | import com.github.ksoichiro.android.observablescrollview.ObservableScrollView;
14 | import com.sine_x.material_wecenter.Client;
15 | import com.sine_x.material_wecenter.R;
16 | import com.sine_x.material_wecenter.models.Response;
17 | import com.sine_x.material_wecenter.models.UserInfo;
18 |
19 | public class UserInfoFragment extends Fragment {
20 |
21 | private ObservableScrollView mScrollView;
22 |
23 | private TextView fans, agree, thanks, signature, city;
24 |
25 | private long uid;
26 |
27 | public static UserInfoFragment newInstance(long uid) {
28 | Bundle args = new Bundle();
29 | args.putLong("uid", uid);
30 | UserInfoFragment fragment = new UserInfoFragment();
31 | fragment.setArguments(args);
32 | return fragment;
33 | }
34 |
35 | @Override
36 | public void setArguments(Bundle args) {
37 | super.setArguments(args);
38 | uid = args.getLong("uid");
39 | }
40 |
41 | @Override
42 | public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
43 | return inflater.inflate(R.layout.fragment_scroll, container, false);
44 | }
45 |
46 | @Override
47 | public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
48 | super.onViewCreated(view, savedInstanceState);
49 | mScrollView = (ObservableScrollView) view.findViewById(R.id.scrollView);
50 | fans = (TextView) view.findViewById(R.id.fans);
51 | agree = (TextView) view.findViewById(R.id.agree);
52 | thanks = (TextView) view.findViewById(R.id.thanks);
53 | signature = (TextView) view.findViewById(R.id.signature);
54 | city = (TextView) view.findViewById(R.id.city);
55 | MaterialViewPagerHelper.registerScrollView(getActivity(), mScrollView, null);
56 | new LoadUserInfo().execute();
57 | }
58 |
59 | /**
60 | * 获取用户信息的异步任务
61 | */
62 | class LoadUserInfo extends AsyncTask {
63 |
64 | Response response;
65 |
66 | @Override
67 | protected Void doInBackground(Void... params) {
68 | Client client = Client.getInstance();
69 | response = client.getUserInfo(uid);
70 | return null;
71 | }
72 |
73 | @Override
74 | protected void onPostExecute(Void aVoid) {
75 | super.onPostExecute(aVoid);
76 | if (response.getRsm() != null) {
77 | // 显示用户个人信息
78 | UserInfo info = response.getRsm();
79 | fans.setText(String.valueOf(info.getFans_count()));
80 | agree.setText(String.valueOf(info.getAgree_count()));
81 | thanks.setText(String.valueOf(info.getThanks_count()));
82 | signature.setText(info.getSignature());
83 | String pc = info.getProvince() + info.getCity();
84 | city.setText(pc);
85 | }
86 | }
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/app/src/main/java/com/sine_x/material_wecenter/models/Ajax.java:
--------------------------------------------------------------------------------
1 | package com.sine_x.material_wecenter.models;
2 |
3 | public class Ajax {
4 |
5 | private String type;
6 |
7 | public void setType(String type) {
8 | this.type = type;
9 | }
10 |
11 | public String getType() {
12 | return type;
13 | }
14 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/sine_x/material_wecenter/models/AnswerComment.java:
--------------------------------------------------------------------------------
1 | package com.sine_x.material_wecenter.models;
2 |
3 | public class AnswerComment {
4 |
5 | private int id;
6 | private int answer_id;
7 | private long uid;
8 | private String message;
9 | private long time;
10 |
11 | private UserInfoEntity user_info;
12 |
13 | public void setId(int id) {
14 | this.id = id;
15 | }
16 |
17 | public void setAnswer_id(int answer_id) {
18 | this.answer_id = answer_id;
19 | }
20 |
21 | public void setUid(long uid) {
22 | this.uid = uid;
23 | }
24 |
25 | public void setMessage(String message) {
26 | this.message = message;
27 | }
28 |
29 | public void setTime(long time) {
30 | this.time = time;
31 | }
32 |
33 | public void setUser_info(UserInfoEntity user_info) {
34 | this.user_info = user_info;
35 | }
36 |
37 | public int getId() {
38 | return id;
39 | }
40 |
41 | public int getAnswer_id() {
42 | return answer_id;
43 | }
44 |
45 | public long getUid() {
46 | return uid;
47 | }
48 |
49 | public String getMessage() {
50 | return message;
51 | }
52 |
53 | public long getTime() {
54 | return time;
55 | }
56 |
57 | public UserInfoEntity getUser_info() {
58 | return user_info;
59 | }
60 |
61 | public static class UserInfoEntity {
62 | private int uid;
63 | private String user_name;
64 | private String avatar_file;
65 |
66 | public void setUid(int uid) {
67 | this.uid = uid;
68 | }
69 |
70 | public void setUser_name(String user_name) {
71 | this.user_name = user_name;
72 | }
73 |
74 | public void setAvatar_file(String avatar_file) {
75 | this.avatar_file = avatar_file;
76 | }
77 |
78 | public int getUid() {
79 | return uid;
80 | }
81 |
82 | public String getUser_name() {
83 | return user_name;
84 | }
85 |
86 | public String getAvatar_file() {
87 | return avatar_file;
88 | }
89 | }
90 | }
91 |
--------------------------------------------------------------------------------
/app/src/main/java/com/sine_x/material_wecenter/models/Chat.java:
--------------------------------------------------------------------------------
1 | package com.sine_x.material_wecenter.models;
2 |
3 | public class Chat {
4 |
5 | /**
6 | * id : 1
7 | * uid : 1
8 | * dialog_id : 1
9 | * message : Hello
10 | * add_time : 1507700672
11 | * sender_remove : 0
12 | * recipient_remove : 0
13 | * receipt : 1507796239
14 | * user_name : DUPREEH
15 | * url_token : DUPREEH
16 | * local : true
17 | */
18 |
19 | private int id;
20 | private int uid;
21 | private int dialog_id;
22 | private String message;
23 | private int add_time;
24 | private int sender_remove;
25 | private int recipient_remove;
26 | private int receipt;
27 | private String user_name;
28 | private String url_token;
29 | private String avatar_file;
30 | private boolean local;
31 |
32 | public int getId() {
33 | return id;
34 | }
35 |
36 | public void setId(int id) {
37 | this.id = id;
38 | }
39 |
40 | public int getUid() {
41 | return uid;
42 | }
43 |
44 | public void setUid(int uid) {
45 | this.uid = uid;
46 | }
47 |
48 | public int getDialog_id() {
49 | return dialog_id;
50 | }
51 |
52 | public void setDialog_id(int dialog_id) {
53 | this.dialog_id = dialog_id;
54 | }
55 |
56 | public String getMessage() {
57 | return message;
58 | }
59 |
60 | public void setMessage(String message) {
61 | this.message = message;
62 | }
63 |
64 | public int getAdd_time() {
65 | return add_time;
66 | }
67 |
68 | public void setAdd_time(int add_time) {
69 | this.add_time = add_time;
70 | }
71 |
72 | public int getSender_remove() {
73 | return sender_remove;
74 | }
75 |
76 | public void setSender_remove(int sender_remove) {
77 | this.sender_remove = sender_remove;
78 | }
79 |
80 | public int getRecipient_remove() {
81 | return recipient_remove;
82 | }
83 |
84 | public void setRecipient_remove(int recipient_remove) {
85 | this.recipient_remove = recipient_remove;
86 | }
87 |
88 | public int getReceipt() {
89 | return receipt;
90 | }
91 |
92 | public void setReceipt(int receipt) {
93 | this.receipt = receipt;
94 | }
95 |
96 | public String getUser_name() {
97 | return user_name;
98 | }
99 |
100 | public void setUser_name(String user_name) {
101 | this.user_name = user_name;
102 | }
103 |
104 | public String getUrl_token() {
105 | return url_token;
106 | }
107 |
108 | public void setUrl_token(String url_token) {
109 | this.url_token = url_token;
110 | }
111 |
112 | public boolean isLocal() {
113 | return local;
114 | }
115 |
116 | public void setLocal(boolean local) {
117 | this.local = local;
118 | }
119 |
120 | public String getAvatar_file() {
121 | return avatar_file;
122 | }
123 | }
124 |
--------------------------------------------------------------------------------
/app/src/main/java/com/sine_x/material_wecenter/models/Conversation.java:
--------------------------------------------------------------------------------
1 | package com.sine_x.material_wecenter.models;
2 |
3 |
4 | public class Conversation {
5 |
6 | /**
7 | * user_name : zzh
8 | * url_token : zzh
9 | * unread : 2
10 | * count : 2
11 | * uid : 1
12 | * last_message : World
13 | * update_time : 1507793309
14 | * id : 1
15 | */
16 |
17 | private String user_name;
18 | private String url_token;
19 | private int unread;
20 | private int count;
21 | private int uid;
22 | private String last_message;
23 | private int update_time;
24 | private int id;
25 | private String avatar_file;
26 |
27 | public String getUser_name() {
28 | return user_name;
29 | }
30 |
31 | public void setUser_name(String user_name) {
32 | this.user_name = user_name;
33 | }
34 |
35 | public String getUrl_token() {
36 | return url_token;
37 | }
38 |
39 | public void setUrl_token(String url_token) {
40 | this.url_token = url_token;
41 | }
42 |
43 | public int getUnread() {
44 | return unread;
45 | }
46 |
47 | public void setUnread(int unread) {
48 | this.unread = unread;
49 | }
50 |
51 | public int getCount() {
52 | return count;
53 | }
54 |
55 | public void setCount(int count) {
56 | this.count = count;
57 | }
58 |
59 | public int getUid() {
60 | return uid;
61 | }
62 |
63 | public void setUid(int uid) {
64 | this.uid = uid;
65 | }
66 |
67 | public String getLast_message() {
68 | return last_message;
69 | }
70 |
71 | public void setLast_message(String last_message) {
72 | this.last_message = last_message;
73 | }
74 |
75 | public int getUpdate_time() {
76 | return update_time;
77 | }
78 |
79 | public void setUpdate_time(int update_time) {
80 | this.update_time = update_time;
81 | }
82 |
83 | public int getId() {
84 | return id;
85 | }
86 |
87 | public void setId(int id) {
88 | this.id = id;
89 | }
90 |
91 | public String getAvatar_file() {
92 | return avatar_file;
93 | }
94 | }
95 |
--------------------------------------------------------------------------------
/app/src/main/java/com/sine_x/material_wecenter/models/Courses.java:
--------------------------------------------------------------------------------
1 | package com.sine_x.material_wecenter.models;
2 |
3 | import java.util.List;
4 |
5 | /**
6 | * Created by Administrator on 2016/3/20.
7 | */
8 | public class Courses {
9 | private String status;
10 |
11 | private List msg;
12 |
13 | public void setStatus(String status) {
14 | this.status = status;
15 | }
16 |
17 | public void setMsg(List msg) {
18 | this.msg = msg;
19 | }
20 |
21 | public String getStatus() {
22 | return status;
23 | }
24 |
25 | public List getMsg() {
26 | return msg;
27 | }
28 |
29 | public static class MsgEntity {
30 | private String name;
31 | private String collage;
32 | private String classscore;
33 | private String classhuor;
34 | private String classinfo;
35 | private String classtype;
36 |
37 | public void setName(String name) {
38 | this.name = name;
39 | }
40 |
41 | public void setCollage(String collage) {
42 | this.collage = collage;
43 | }
44 |
45 | public void setClassscore(String classscore) {
46 | this.classscore = classscore;
47 | }
48 |
49 | public void setClasshuor(String classhuor) {
50 | this.classhuor = classhuor;
51 | }
52 |
53 | public void setClassinfo(String classinfo) {
54 | this.classinfo = classinfo;
55 | }
56 |
57 | public void setClasstype(String classtype) {
58 | this.classtype = classtype;
59 | }
60 |
61 | public String getName() {
62 | return name;
63 | }
64 |
65 | public String getCollage() {
66 | return collage;
67 | }
68 |
69 | public String getClassscore() {
70 | return classscore;
71 | }
72 |
73 | public String getClasshuor() {
74 | return classhuor;
75 | }
76 |
77 | public String getClassinfo() {
78 | return classinfo;
79 | }
80 |
81 | public String getClasstype() {
82 | return classtype;
83 | }
84 | }
85 | }
86 |
--------------------------------------------------------------------------------
/app/src/main/java/com/sine_x/material_wecenter/models/LoginProcess.java:
--------------------------------------------------------------------------------
1 | package com.sine_x.material_wecenter.models;
2 |
3 | public class LoginProcess {
4 |
5 | private int uid;
6 | private String user_name;
7 | private String avatar_file;
8 | private String email;
9 |
10 | public int getUid() {
11 | return uid;
12 | }
13 |
14 | public void setUid(int uid) {
15 | this.uid = uid;
16 | }
17 |
18 | public String getUser_name() {
19 | return user_name;
20 | }
21 |
22 | public String getAvatar_file() {
23 | return avatar_file;
24 | }
25 |
26 | public String getEmail() {
27 | return email;
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/app/src/main/java/com/sine_x/material_wecenter/models/PublishAnswer.java:
--------------------------------------------------------------------------------
1 | package com.sine_x.material_wecenter.models;
2 |
3 | /**
4 | * Created by Administrator on 2016/1/27.
5 | */
6 | public class PublishAnswer {
7 |
8 | private int answer_id;
9 | private int question_id;
10 | private String answer_content;
11 | private long add_time;
12 | private int against_count;
13 | private int agree_count;
14 | private long uid;
15 | private int comment_count;
16 | private int uninterested_count;
17 | private int thanks_count;
18 | private int category_id;
19 | private int has_attach;
20 | private long ip;
21 | private int force_fold;
22 | private int anonymous;
23 | private String publish_source;
24 |
25 | public void setAnswer_id(int answer_id) {
26 | this.answer_id = answer_id;
27 | }
28 |
29 | public void setQuestion_id(int question_id) {
30 | this.question_id = question_id;
31 | }
32 |
33 | public void setAnswer_content(String answer_content) {
34 | this.answer_content = answer_content;
35 | }
36 |
37 | public void setAdd_time(long add_time) {
38 | this.add_time = add_time;
39 | }
40 |
41 | public void setAgainst_count(int against_count) {
42 | this.against_count = against_count;
43 | }
44 |
45 | public void setAgree_count(int agree_count) {
46 | this.agree_count = agree_count;
47 | }
48 |
49 | public void setUid(long uid) {
50 | this.uid = uid;
51 | }
52 |
53 | public void setComment_count(int comment_count) {
54 | this.comment_count = comment_count;
55 | }
56 |
57 | public void setUninterested_count(int uninterested_count) {
58 | this.uninterested_count = uninterested_count;
59 | }
60 |
61 | public void setThanks_count(int thanks_count) {
62 | this.thanks_count = thanks_count;
63 | }
64 |
65 | public void setCategory_id(int category_id) {
66 | this.category_id = category_id;
67 | }
68 |
69 | public void setHas_attach(int has_attach) {
70 | this.has_attach = has_attach;
71 | }
72 |
73 | public void setIp(long ip) {
74 | this.ip = ip;
75 | }
76 |
77 | public void setForce_fold(int force_fold) {
78 | this.force_fold = force_fold;
79 | }
80 |
81 | public void setAnonymous(int anonymous) {
82 | this.anonymous = anonymous;
83 | }
84 |
85 | public void setPublish_source(String publish_source) {
86 | this.publish_source = publish_source;
87 | }
88 |
89 | public int getAnswer_id() {
90 | return answer_id;
91 | }
92 |
93 | public int getQuestion_id() {
94 | return question_id;
95 | }
96 |
97 | public String getAnswer_content() {
98 | return answer_content;
99 | }
100 |
101 | public long getAdd_time() {
102 | return add_time;
103 | }
104 |
105 | public int getAgainst_count() {
106 | return against_count;
107 | }
108 |
109 | public int getAgree_count() {
110 | return agree_count;
111 | }
112 |
113 | public long getUid() {
114 | return uid;
115 | }
116 |
117 | public int getComment_count() {
118 | return comment_count;
119 | }
120 |
121 | public int getUninterested_count() {
122 | return uninterested_count;
123 | }
124 |
125 | public int getThanks_count() {
126 | return thanks_count;
127 | }
128 |
129 | public int getCategory_id() {
130 | return category_id;
131 | }
132 |
133 | public int getHas_attach() {
134 | return has_attach;
135 | }
136 |
137 | public long getIp() {
138 | return ip;
139 | }
140 |
141 | public int getForce_fold() {
142 | return force_fold;
143 | }
144 |
145 | public int getAnonymous() {
146 | return anonymous;
147 | }
148 |
149 | public String getPublish_source() {
150 | return publish_source;
151 | }
152 | }
153 |
--------------------------------------------------------------------------------
/app/src/main/java/com/sine_x/material_wecenter/models/PublishQuestion.java:
--------------------------------------------------------------------------------
1 | package com.sine_x.material_wecenter.models;
2 |
3 | /**
4 | * Copyright (C) 2015 Jinghong Union of ZJUT
5 | *
6 | * Licensed under the Apache License, Version 2.0 (the "License");
7 | * you may not use this file except in compliance with the License.
8 | * You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | public class PublishQuestion {
20 |
21 | private String question_id;
22 |
23 | public String getQuestion_id() {
24 | return question_id;
25 | }
26 |
27 | public void setQuestion_id(String question_id) {
28 | this.question_id = question_id;
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/app/src/main/java/com/sine_x/material_wecenter/models/Response.java:
--------------------------------------------------------------------------------
1 | package com.sine_x.material_wecenter.models;
2 |
3 | public class Response {
4 |
5 | private T rsm;
6 | private String err;
7 | private int errno;
8 |
9 | public void setRsm(T rsm) {
10 | this.rsm = rsm;
11 | }
12 |
13 | public void setErrno(int errno) {
14 | this.errno = errno;
15 | }
16 |
17 | public void setErr(String err) {
18 | this.err = err;
19 | }
20 |
21 | public T getRsm() {
22 | return rsm;
23 | }
24 |
25 | public int getErrno() {
26 | return errno;
27 | }
28 |
29 | public String getErr() {
30 | return err;
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/app/src/main/java/com/sine_x/material_wecenter/models/Responses.java:
--------------------------------------------------------------------------------
1 | package com.sine_x.material_wecenter.models;
2 |
3 | import java.util.List;
4 |
5 | public class Responses {
6 |
7 | List rsm;
8 | private int errno;
9 | private String err;
10 |
11 | public void setRsm(List rsm) {
12 | this.rsm = rsm;
13 | }
14 |
15 | public void setErrno(int errno) {
16 | this.errno = errno;
17 | }
18 |
19 | public void setErr(String err) {
20 | this.err = err;
21 | }
22 |
23 | public List getRsm() {
24 | return rsm;
25 | }
26 |
27 | public int getErrno() {
28 | return errno;
29 | }
30 |
31 | public String getErr() {
32 | return err;
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/app/src/main/java/com/sine_x/material_wecenter/models/WebData.java:
--------------------------------------------------------------------------------
1 | package com.sine_x.material_wecenter.models;
2 |
3 | /**
4 | * Created by Administrator on 2016/2/5.
5 | */
6 | public class WebData {
7 | private Type type;
8 | private String data;
9 | private Gravity gravity;
10 |
11 | public WebData(Type type, String data, Gravity gravity) {
12 | this.type = type;
13 | this.gravity = gravity;
14 | this.data = data;
15 | }
16 |
17 | public Gravity getGravity() {
18 | return gravity;
19 | }
20 |
21 | public void setGravity(Gravity gravity) {
22 | this.gravity = gravity;
23 | }
24 |
25 | public String getData() {
26 | return data;
27 | }
28 |
29 | public void setData(String data) {
30 | this.data = data;
31 | }
32 |
33 | public Type getType() {
34 | return type;
35 | }
36 |
37 | public void setType(Type type) {
38 | this.type = type;
39 | }
40 |
41 | public enum Type {
42 | TEXT,
43 | IMAGE
44 | }
45 |
46 | public enum Gravity {
47 | LEFT,
48 | CENTER,
49 | RIGHT
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/hide_to_bottom.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/show_from_bottom.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/avatar_max_img.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/avatar_max_img.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/background.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/background.jpg
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_agree_gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_agree_gray.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_agree_red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_agree_red.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_chat_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_chat_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_comment_grey_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_comment_grey_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_email.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_email.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_exit_to_app_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_exit_to_app_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_favorite_blue_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_favorite_blue_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_favorite_border_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_favorite_border_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_favorite_grey_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_favorite_grey_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_favorite_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_favorite_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_format_bold_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_format_bold_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_format_italic_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_format_italic_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_format_list_bulleted_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_format_list_bulleted_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_format_quote_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_format_quote_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_insert_link_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_insert_link_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_red_heart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_red_heart.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_redo_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_redo_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_refresh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_refresh.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_search_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_search_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_send.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_send.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_send_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_send_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_share.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_thumb_down_blue_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_thumb_down_blue_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_thumb_down_grey_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_thumb_down_grey_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_thumb_up_blue_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_thumb_up_blue_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_thumb_up_grey_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_thumb_up_grey_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_top.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_top.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_undo_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_undo_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_whatshot_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/ic_whatshot_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/launch.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-hdpi/launch.jpg
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_agree_gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_agree_gray.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_agree_red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_agree_red.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_chat_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_chat_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_comment_grey_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_comment_grey_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_email.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_email.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_exit_to_app_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_exit_to_app_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_favorite_blue_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_favorite_blue_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_favorite_border_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_favorite_border_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_favorite_grey_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_favorite_grey_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_favorite_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_favorite_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_format_bold_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_format_bold_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_format_italic_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_format_italic_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_format_list_bulleted_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_format_list_bulleted_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_format_quote_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_format_quote_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_insert_link_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_insert_link_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_red_heart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_red_heart.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_redo_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_redo_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_refresh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_refresh.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_search_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_search_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_send.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_send.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_send_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_send_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_share.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_thumb_down_blue_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_thumb_down_blue_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_thumb_down_grey_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_thumb_down_grey_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_thumb_up_blue_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_thumb_up_blue_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_thumb_up_grey_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_thumb_up_grey_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_top.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_top.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_undo_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_undo_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_whatshot_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-mdpi/ic_whatshot_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_agree_gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_agree_gray.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_agree_red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_agree_red.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_chat_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_chat_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_comment_grey_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_comment_grey_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_email.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_email.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_exit_to_app_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_exit_to_app_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_favorite_blue_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_favorite_blue_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_favorite_border_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_favorite_border_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_favorite_grey_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_favorite_grey_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_favorite_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_favorite_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_format_bold_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_format_bold_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_format_italic_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_format_italic_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_format_list_bulleted_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_format_list_bulleted_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_format_quote_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_format_quote_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_insert_link_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_insert_link_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_red_heart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_red_heart.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_redo_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_redo_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_refresh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_refresh.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_search_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_search_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_send.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_send.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_send_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_send_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_share.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_thumb_down_blue_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_thumb_down_blue_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_thumb_down_grey_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_thumb_down_grey_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_thumb_up_blue_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_thumb_up_blue_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_thumb_up_grey_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_thumb_up_grey_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_top.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_top.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_undo_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_undo_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_whatshot_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xhdpi/ic_whatshot_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_agree_gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_agree_gray.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_agree_red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_agree_red.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_chat_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_chat_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_comment_grey_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_comment_grey_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_email.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_email.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_exit_to_app_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_exit_to_app_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_favorite_blue_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_favorite_blue_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_favorite_border_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_favorite_border_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_favorite_grey_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_favorite_grey_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_favorite_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_favorite_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_format_bold_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_format_bold_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_format_italic_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_format_italic_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_format_list_bulleted_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_format_list_bulleted_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_format_quote_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_format_quote_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_insert_link_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_insert_link_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_red_heart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_red_heart.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_redo_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_redo_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_refresh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_refresh.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_search_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_search_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_send.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_send.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_send_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_send_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_share.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_thumb_down_blue_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_thumb_down_blue_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_thumb_down_grey_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_thumb_down_grey_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_thumb_up_blue_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_thumb_up_blue_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_thumb_up_grey_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_thumb_up_grey_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_top.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_top.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_undo_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_undo_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_whatshot_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxhdpi/ic_whatshot_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_agree_gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_agree_gray.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_agree_red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_agree_red.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_chat_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_chat_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_comment_grey_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_comment_grey_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_email.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_email.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_exit_to_app_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_exit_to_app_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_favorite_blue_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_favorite_blue_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_favorite_border_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_favorite_border_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_favorite_grey_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_favorite_grey_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_favorite_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_favorite_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_format_bold_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_format_bold_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_format_italic_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_format_italic_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_format_list_bulleted_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_format_list_bulleted_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_format_quote_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_format_quote_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_insert_link_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_insert_link_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_red_heart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_red_heart.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_redo_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_redo_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_refresh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_refresh.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_search_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_search_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_send.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_send.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_send_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_send_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_share.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_thumb_down_blue_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_thumb_down_blue_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_thumb_down_grey_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_thumb_down_grey_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_thumb_up_blue_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_thumb_up_blue_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_thumb_up_grey_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_thumb_up_grey_36dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_top.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_top.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_undo_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_undo_white_24dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_whatshot_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable-xxxhdpi/ic_whatshot_grey600_48dp.png
--------------------------------------------------------------------------------
/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/ripple.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 | -
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/side_nav_bar.xml:
--------------------------------------------------------------------------------
1 |
3 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/stroker.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/topic_mid_img.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/drawable/topic_mid_img.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/un_follow_shape.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_answer.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
16 |
21 |
22 |
26 |
27 |
33 |
42 |
52 |
53 |
54 |
55 |
56 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_chat.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
16 |
17 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_drawer.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
15 |
16 |
20 |
21 |
27 |
28 |
29 |
30 |
34 |
35 |
36 |
37 |
45 |
46 |
47 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_launch.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_post_answer.xml:
--------------------------------------------------------------------------------
1 |
9 |
15 |
16 |
17 |
28 |
29 |
35 |
36 |
47 |
48 |
57 |
58 |
59 |
60 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_topic.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
15 |
16 |
24 |
25 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_user.xml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/app_bar_drawer.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
13 |
14 |
20 |
21 |
22 |
23 |
24 |
25 |
32 |
33 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/content_drawer.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/content_topic.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_explore.xml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
12 |
13 |
18 |
19 |
20 |
21 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_home.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
10 |
11 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_inbox.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_recyclerview.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_search.xml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
14 |
15 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/header_logo.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/item_action.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
19 |
20 |
26 |
27 |
28 |
35 |
36 |
37 |
44 |
45 |
46 |
53 |
54 |
55 |
56 |
57 |
58 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/item_answer_comment.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
11 |
12 |
19 |
27 |
28 |
32 |
41 |
48 |
57 |
58 |
59 |
60 |
61 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/item_answer_detail.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
13 |
14 |
20 |
21 |
27 |
28 |
38 |
39 |
44 |
45 |
55 |
56 |
62 |
63 |
73 |
74 |
75 |
76 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/item_artilce_info.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
12 |
13 |
17 |
18 |
25 |
26 |
32 |
33 |
43 |
44 |
51 |
52 |
62 |
63 |
70 |
71 |
72 |
73 |
77 |
78 |
82 |
83 |
84 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/item_conversation.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
17 |
22 |
23 |
29 |
30 |
38 |
39 |
46 |
47 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/item_dynamic.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
16 |
22 |
23 |
28 |
29 |
35 |
36 |
43 |
44 |
54 |
55 |
62 |
63 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
80 |
81 |
82 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/item_question.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
17 |
23 |
24 |
31 |
32 |
39 |
40 |
48 |
49 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/item_question_footer.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/item_question_info.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
12 |
13 |
17 |
18 |
25 |
26 |
32 |
33 |
43 |
44 |
50 |
51 |
61 |
62 |
68 |
69 |
76 |
77 |
78 |
79 |
80 |
81 |
85 |
86 |
90 |
91 |
92 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/item_question_title.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
15 |
16 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/item_rich_text.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
15 |
16 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/item_search.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
18 |
24 |
25 |
33 |
34 |
39 |
40 |
48 |
49 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/item_tags.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
18 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/item_topic.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
18 |
24 |
25 |
31 |
32 |
39 |
40 |
47 |
48 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/nav_header_drawer.xml:
--------------------------------------------------------------------------------
1 |
2 |
14 |
15 |
22 |
23 |
30 |
31 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/activity_drawer_drawer.xml:
--------------------------------------------------------------------------------
1 |
2 |
44 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/menu_post.xml:
--------------------------------------------------------------------------------
1 |
5 |
9 |
13 |
17 |
21 |
25 |
29 |
33 |
34 |
35 |
36 |
37 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/menu_post_answer.xml:
--------------------------------------------------------------------------------
1 |
5 |
9 |
13 |
17 |
21 |
25 |
29 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/menu_question.xml:
--------------------------------------------------------------------------------
1 |
5 |
10 |
15 |
20 |
21 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/menu_user.xml:
--------------------------------------------------------------------------------
1 |
5 |
8 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-hdpi/ic_edit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/mipmap-hdpi/ic_edit.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-hdpi/ic_explore_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/mipmap-hdpi/ic_explore_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/ic_edit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/mipmap-mdpi/ic_edit.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/ic_explore_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/mipmap-mdpi/ic_explore_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_edit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/mipmap-xhdpi/ic_edit.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_explore_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/mipmap-xhdpi/ic_explore_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_perm_identity_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/mipmap-xhdpi/ic_perm_identity_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_security_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/mipmap-xhdpi/ic_security_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_edit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/mipmap-xxhdpi/ic_edit.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_explore_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/mipmap-xxhdpi/ic_explore_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_notifications_on_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/mipmap-xxhdpi/ic_notifications_on_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_perm_identity_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/mipmap-xxhdpi/ic_perm_identity_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_security_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/mipmap-xxhdpi/ic_security_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_explore_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/mipmap-xxxhdpi/ic_explore_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_format_quote_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/mipmap-xxxhdpi/ic_format_quote_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_location_city_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/mipmap-xxxhdpi/ic_location_city_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_perm_identity_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/mipmap-xxxhdpi/ic_perm_identity_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_security_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/mipmap-xxxhdpi/ic_security_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_settings_grey600_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/app/src/main/res/mipmap-xxxhdpi/ic_settings_grey600_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/values-v21/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/app/src/main/res/values/color.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | @android:color/tertiary_text_light
4 | #2196F3
5 | #1976D2
6 | #03A9F4
7 |
--------------------------------------------------------------------------------
/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 | 8dp
7 | 180dp
8 | 8dp
9 | 176dp
10 | 16dp
11 |
12 |
13 |
--------------------------------------------------------------------------------
/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Material WeCenter
5 |
6 |
7 |
8 |
9 | 标题
10 | 话题
11 | 添加话题
12 |
13 |
14 | 动态
15 | 发现
16 | 话题
17 | 私信
18 | 搜索
19 | 设置
20 | 注销
21 | UserActivity
22 | LoginActivity
23 |
24 |
25 |
26 |
27 | 关于
28 | 版本号
29 | GitHub项目地址
30 | https://github.com/ZhangZhenghao/Material-WeCenter
31 |
32 |
33 |
34 | ╮(╯3╰)╭再也找不到更多的了
35 |
36 | SignUpActivity
37 |
38 | 登录
39 | 注册
40 | 输入用户名或邮箱
41 | 输入用户名
42 | 输入邮箱
43 | 输入密码
44 | ArticleActivity
45 |
46 |
47 | TopicActivity
48 | DrawerActivity
49 | Open navigation drawer
50 | Close navigation drawer
51 | Android Studio
52 | android.studio@android.com
53 | Navigation header
54 | Settings
55 |
56 | 其它
57 |
58 |
--------------------------------------------------------------------------------
/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 |
22 |
23 |
26 |
27 |
30 |
31 |
32 |
33 |
44 |
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
9 |
13 |
14 |
--------------------------------------------------------------------------------
/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 | google()
7 | }
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:3.1.3'
10 |
11 | // NOTE: Do not place your application dependencies here; they belong
12 | // in the individual module build.gradle files
13 | }
14 | }
15 |
16 | allprojects {
17 | repositories {
18 | jcenter()
19 | google()
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/gradle.properties:
--------------------------------------------------------------------------------
1 | ## Project-wide Gradle settings.
2 | #
3 | # For more details on how to configure your build environment visit
4 | # http://www.gradle.org/docs/current/userguide/build_environment.html
5 | #
6 | # Specifies the JVM arguments used for the daemon process.
7 | # The setting is particularly useful for tweaking memory settings.
8 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
9 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
10 | #
11 | # When configured, Gradle will run in incubating parallel mode.
12 | # This option should only be used with decoupled projects. More details, visit
13 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
14 | # org.gradle.parallel=true
15 | #Fri Oct 30 15:15:32 CST 2015
16 |
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Mon Jul 09 16:49:44 CST 2018
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-4.4-all.zip
7 |
--------------------------------------------------------------------------------
/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 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12 | set DEFAULT_JVM_OPTS=
13 |
14 | set DIRNAME=%~dp0
15 | if "%DIRNAME%" == "" set DIRNAME=.
16 | set APP_BASE_NAME=%~n0
17 | set APP_HOME=%DIRNAME%
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 Windowz variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 | if "%@eval[2+2]" == "4" goto 4NT_args
53 |
54 | :win9xME_args
55 | @rem Slurp the command line arguments.
56 | set CMD_LINE_ARGS=
57 | set _SKIP=2
58 |
59 | :win9xME_args_slurp
60 | if "x%~1" == "x" goto execute
61 |
62 | set CMD_LINE_ARGS=%*
63 | goto execute
64 |
65 | :4NT_args
66 | @rem Get arguments from the 4NT Shell from JP Software
67 | set CMD_LINE_ARGS=%$
68 |
69 | :execute
70 | @rem Setup the command line
71 |
72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73 |
74 | @rem Execute Gradle
75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
76 |
77 | :end
78 | @rem End local scope for the variables with windows NT shell
79 | if "%ERRORLEVEL%"=="0" goto mainEnd
80 |
81 | :fail
82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83 | rem the _cmd.exe /c_ return code!
84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
85 | exit /b 1
86 |
87 | :mainEnd
88 | if "%OS%"=="Windows_NT" endlocal
89 |
90 | :omega
91 |
--------------------------------------------------------------------------------
/screenshot/Screenshot_20170613-111048.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/screenshot/Screenshot_20170613-111048.png
--------------------------------------------------------------------------------
/screenshot/Screenshot_20170613-111055.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/screenshot/Screenshot_20170613-111055.png
--------------------------------------------------------------------------------
/screenshot/Screenshot_20170613-111122.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/screenshot/Screenshot_20170613-111122.png
--------------------------------------------------------------------------------
/screenshot/Screenshot_20170613-111138.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/screenshot/Screenshot_20170613-111138.png
--------------------------------------------------------------------------------
/screenshot/Screenshot_20170613-111432.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/screenshot/Screenshot_20170613-111432.png
--------------------------------------------------------------------------------
/screenshot/Screenshot_20170613-111756.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/screenshot/Screenshot_20170613-111756.png
--------------------------------------------------------------------------------
/screenshot/Screenshot_20170613-111803.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/screenshot/Screenshot_20170613-111803.png
--------------------------------------------------------------------------------
/screenshot/Screenshot_20170613-111832.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/screenshot/Screenshot_20170613-111832.png
--------------------------------------------------------------------------------
/screenshot/Screenshot_20170613-112219.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/screenshot/Screenshot_20170613-112219.png
--------------------------------------------------------------------------------
/screenshot/Screenshot_20170613-112432.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/screenshot/Screenshot_20170613-112432.png
--------------------------------------------------------------------------------
/screenshot/Screenshot_20170613-112532.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/screenshot/Screenshot_20170613-112532.png
--------------------------------------------------------------------------------
/screenshot/Screenshot_20170613-112541.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/screenshot/Screenshot_20170613-112541.png
--------------------------------------------------------------------------------
/screenshot/Screenshot_20170613-112616.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/screenshot/Screenshot_20170613-112616.png
--------------------------------------------------------------------------------
/screenshot/Screenshot_20170613-112628.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/screenshot/Screenshot_20170613-112628.png
--------------------------------------------------------------------------------
/screenshot/Screenshot_20170613-121101.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhenghaoz/MaterialWeCenter/1dc9b11436d5264f9cb178dbee1473259198c60b/screenshot/Screenshot_20170613-121101.png
--------------------------------------------------------------------------------
/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------