├── .gitignore ├── .idea ├── caches │ └── build_file_checksums.ser ├── encodings.xml ├── gradle.xml ├── misc.xml ├── modules.xml ├── runConfigurations.xml └── vcs.xml ├── app ├── .gitignore ├── build.gradle ├── libs │ └── achartengine-1.1.0.jar ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── example │ │ └── fr │ │ └── baimajidi │ │ └── ApplicationTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── fr │ │ │ └── baimajidi │ │ │ ├── AboutActivity.java │ │ │ ├── AutocmdActivity.java │ │ │ ├── ContactActivity.java │ │ │ ├── ControlActivity.java │ │ │ ├── CurveActivity.java │ │ │ ├── DatabaseHelper.java │ │ │ ├── FunctionActivity.java │ │ │ ├── GetPostUtil.java │ │ │ ├── HelpActivity.java │ │ │ ├── LineActivity.java │ │ │ ├── LineChart.java │ │ │ ├── LineChartData.java │ │ │ ├── LineChartDataInt.java │ │ │ ├── Login.java │ │ │ ├── MainActivity.java │ │ │ ├── MyActivity.java │ │ │ ├── Outdoor.java │ │ │ ├── PrivilegeHelper.java │ │ │ └── send_ToService.java │ └── res │ │ ├── anim │ │ ├── push_left_in.xml │ │ ├── push_left_out.xml │ │ ├── push_right_in.xml │ │ ├── push_right_out.xml │ │ ├── zoommin.xml │ │ └── zoomout.xml │ │ ├── drawable │ │ ├── a1.jpg │ │ ├── a2.jpg │ │ ├── a3.jpg │ │ ├── a4.jpg │ │ ├── add.png │ │ ├── agriculture1.jpg │ │ ├── agriculture2.jpg │ │ ├── agriculture3.jpg │ │ ├── agriculture4.jpg │ │ ├── anqi.png │ │ ├── app_bg.png │ │ ├── background.jpg │ │ ├── background2.jpg │ │ ├── bangzhu.png │ │ ├── bottom_bg.png │ │ ├── bottom_cam.png │ │ ├── bottom_cam_bn_style.xml │ │ ├── bottom_cam_d.png │ │ ├── bottom_home.png │ │ ├── bottom_home_bn_style.xml │ │ ├── bottom_home_d.png │ │ ├── bottom_select_bg.png │ │ ├── bottom_shopping.png │ │ ├── bottom_shopping_bn_style.xml │ │ ├── bottom_shopping_d.png │ │ ├── bottom_show.png │ │ ├── bottom_show_bn_style.xml │ │ ├── bottom_show_d.png │ │ ├── bottom_style_bn_style.xml │ │ ├── btn_check_off.png │ │ ├── btn_check_off_pressed.png │ │ ├── btn_check_off_selected.png │ │ ├── btn_check_on.png │ │ ├── btn_check_on_pressed.png │ │ ├── btn_check_on_selected.png │ │ ├── button3.gif │ │ ├── click_background.png │ │ ├── clock_list.9.png │ │ ├── clock_list_dddd.png │ │ ├── cloud.jpg │ │ ├── contact.png │ │ ├── contact2.png │ │ ├── contact_select_list_style.xml │ │ ├── contacts.png │ │ ├── control.png │ │ ├── control2.png │ │ ├── controlbackground1.jpg │ │ ├── decrease.png │ │ ├── default_pic_1.png │ │ ├── default_pic_2.png │ │ ├── default_pic_3.png │ │ ├── default_pic_4.png │ │ ├── donghuaji.png │ │ ├── edit_bg.xml │ │ ├── eryanghuatan.png │ │ ├── faceback.png │ │ ├── fengsu.png │ │ ├── fengxiang.png │ │ ├── gongneng.png │ │ ├── guangzhao.png │ │ ├── guanyu.png │ │ ├── home_bottom_style.xml │ │ ├── home_img_ratio.png │ │ ├── home_img_ratio_selected.png │ │ ├── home_img_ratio_selected1.png │ │ ├── home_index_arrow.png │ │ ├── home_index_btn.png │ │ ├── home_index_btn_d.png │ │ ├── home_regist_bn_style.xml │ │ ├── home_select_list_style.xml │ │ ├── home_user_login_bn_style.xml │ │ ├── index_browse.png │ │ ├── input_over.9.png │ │ ├── jiancha.png │ │ ├── jiangyu.png │ │ ├── jiangyu2.png │ │ ├── jijian.png │ │ ├── login_back.9.png │ │ ├── login_btn.png │ │ ├── login_btn_d.png │ │ ├── login_head.xml │ │ ├── login_input.9.png │ │ ├── loginpic1.jpg │ │ ├── logo2.png │ │ ├── njau2.png │ │ ├── njau3.png │ │ ├── paint1.png │ │ ├── paint2.png │ │ ├── pm25.png │ │ ├── qq_btn_check.xml │ │ ├── qq_edit_login.xml │ │ ├── queding.png │ │ ├── ratio_img_style.xml │ │ ├── register_btn.png │ │ ├── register_btn_d.png │ │ ├── returned.png │ │ ├── returned_d.png │ │ ├── school.jpg │ │ ├── school2.jpg │ │ ├── school3.jpg │ │ ├── set_bn_style.xml │ │ ├── set_title_btn.xml │ │ ├── shape_gradient1.xml │ │ ├── shape_gradient2.xml │ │ ├── shape_gradient3.xml │ │ ├── shape_rectangle.xml │ │ ├── shidu.png │ │ ├── shiwai.png │ │ ├── soil.png │ │ ├── sun.png │ │ ├── temp.png │ │ ├── top_bar_bg.png │ │ ├── top_bar_bg1.png │ │ ├── top_bar_set_btn.png │ │ ├── top_bar_set_btn_d.png │ │ ├── video1.png │ │ ├── video2.png │ │ ├── video_btn1.png │ │ ├── xinxichaxun.png │ │ ├── zhinengwenshi.jpg │ │ ├── zhinengwenshi4.jpg │ │ ├── zhinengwenshixin.jpg │ │ └── zidongkongzhi.png │ │ ├── layout │ │ ├── about.xml │ │ ├── about_foot_layout.xml │ │ ├── about_select_layout.xml │ │ ├── about_title_layout.xml │ │ ├── acitvity_layout.xml │ │ ├── activity_main.xml │ │ ├── autocmd_layout.xml │ │ ├── autocmd_select_layout.xml │ │ ├── autocmd_title_layout.xml │ │ ├── chart_listview_layout.xml │ │ ├── chart_select_layout.xml │ │ ├── chart_title_layout.xml │ │ ├── contact_layout.xml │ │ ├── contact_select_layout.xml │ │ ├── contact_title_layout.xml │ │ ├── control_chart_layout.xml │ │ ├── control_cmd.xml │ │ ├── control_layout.xml │ │ ├── control_title_layout.xml │ │ ├── curve_curveview_layout.xml │ │ ├── curve_layout.xml │ │ ├── curve_select_layout.xml │ │ ├── curve_title_layout.xml │ │ ├── function.xml │ │ ├── function_select_layout.xml │ │ ├── function_title_layout.xml │ │ ├── help.xml │ │ ├── help_select_layout.xml │ │ ├── help_title_layout.xml │ │ ├── home_bottom_menu_layout.xml │ │ ├── home_data_bar.xml │ │ ├── home_footbar_layout.xml │ │ ├── home_ratio_img.xml │ │ ├── home_select_layout.xml │ │ ├── home_select_list_layout.xml │ │ ├── home_title_layout.xml │ │ ├── home_user_layout.xml │ │ ├── line.xml │ │ ├── list_row.xml │ │ ├── login.xml │ │ ├── main.xml │ │ ├── values │ │ │ ├── bottom_menu_style.xml │ │ │ ├── colors.xml │ │ │ └── strings.xml │ │ ├── video_layout.xml │ │ ├── video_select_layout.xml │ │ ├── video_title_layout.xml │ │ └── viewflipper_layout.xml │ │ ├── mipmap-hdpi │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxxhdpi │ │ └── ic_launcher.png │ │ ├── values-w820dp │ │ └── dimens.xml │ │ └── values │ │ ├── area_data.xml │ │ ├── arrays.xml │ │ ├── attrs.xml │ │ ├── attrs1.xml │ │ ├── bottom_menu_style.xml │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── com │ └── example │ └── fr │ └── baimajidi │ └── ExampleUnitTest.java ├── build.gradle ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── libs ├── achartengine-1.1.0.jar └── achartengine-1.1.0 │ ├── achartengine-1.1.0-demo-source.zip │ ├── achartengine-1.1.0-javadocs.zip │ └── achartengine-1.1.0.jar ├── projectFilesBackup └── .idea │ └── workspace.xml └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | -------------------------------------------------------------------------------- /.idea/caches/build_file_checksums.ser: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/.idea/caches/build_file_checksums.ser -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 22 | 37 | 38 | 39 | 40 | 41 | 42 | 44 | -------------------------------------------------------------------------------- /.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 | -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 26 5 | 6 | defaultConfig { 7 | applicationId "com.example.fr.baimajidi" 8 | minSdkVersion 19 9 | targetSdkVersion 26 10 | versionCode 1 11 | versionName "1.0" 12 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 13 | } 14 | buildTypes { 15 | release { 16 | minifyEnabled false 17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 18 | } 19 | } 20 | } 21 | 22 | dependencies { 23 | implementation fileTree(include: ['*.jar'], dir: 'libs') 24 | implementation files('libs/achartengine-1.1.0.jar') 25 | 26 | implementation 'com.android.support:appcompat-v7:25.3.1' 27 | implementation 'com.google.android.gms:play-services-appindexing:8.1.0' 28 | implementation 'com.android.support.constraint:constraint-layout:1.0.2' 29 | testImplementation 'junit:junit:4.12' 30 | //这是我刚刚加入的 31 | // implementation 'com.google.android.material:material:1.0.0' 32 | //implementation'com.jaredrummler:material-spinner:1.3.1' 33 | //implementation 'com.android.support.constraint:constraint-layout:1.1.3' 34 | // androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' 35 | } 36 | -------------------------------------------------------------------------------- /app/libs/achartengine-1.1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/libs/achartengine-1.1.0.jar -------------------------------------------------------------------------------- /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 D:\xuexiruanjian\android\android-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 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/example/fr/baimajidi/ApplicationTest.java: -------------------------------------------------------------------------------- 1 | package com.example.fr.baimajidi; 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 | 7 | 8 | 9 | 10 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 38 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/fr/baimajidi/AboutActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.fr.baimajidi; 2 | 3 | import android.app.Activity; 4 | import android.os.Bundle; 5 | import android.text.method.ScrollingMovementMethod; 6 | import android.view.View; 7 | import android.view.Window; 8 | import android.widget.Button; 9 | import android.widget.TextView; 10 | 11 | public class AboutActivity extends Activity { 12 | 13 | 14 | protected void onCreate(Bundle savedInstanceState) { 15 | super.onCreate(savedInstanceState); 16 | requestWindowFeature(Window.FEATURE_NO_TITLE); 17 | setContentView(R.layout.about); 18 | TextView jieshao=(TextView)findViewById(R.id.jieshao); 19 | jieshao.setMovementMethod(ScrollingMovementMethod.getInstance()); 20 | Button title_set_bn=(Button)findViewById(R.id.title_set_bn); 21 | title_set_bn.setOnClickListener(new View.OnClickListener() { 22 | public void onClick(View v) { 23 | finish(); 24 | } 25 | }); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/fr/baimajidi/ContactActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.fr.baimajidi; 2 | 3 | import android.app.Activity; 4 | import android.app.AlertDialog; 5 | import android.app.Dialog; 6 | import android.content.DialogInterface; 7 | import android.content.Intent; 8 | import android.content.SharedPreferences; 9 | import android.os.Bundle; 10 | import android.view.GestureDetector; 11 | import android.view.KeyEvent; 12 | import android.view.MotionEvent; 13 | import android.view.View; 14 | import android.view.View.OnClickListener; 15 | import android.view.Window; 16 | import android.widget.Button; 17 | import android.widget.LinearLayout; 18 | import android.widget.RelativeLayout; 19 | import android.widget.Toast; 20 | 21 | public class ContactActivity extends Activity { 22 | private GestureDetector mGestureDetector; 23 | private static final int FLING_MIN_DISTANCE = 50; 24 | private static final int FLING_MIN_VELOCITY = 0; 25 | private SharedPreferences sp; 26 | Button ringagain1,ringagain2,ringagain3,ringagain4,ringagain5,ringagain6; 27 | int i=0; 28 | private LinearLayout home_img_bn_Layout, style_img_bn_layout, cam_img_bn_layout,shopping_img_bn_layout, show_img_bn_layout; 29 | private RelativeLayout con; 30 | @Override 31 | protected void onCreate(final Bundle savedInstanceState) { 32 | // TODO Auto-generated method stub 33 | super.onCreate(savedInstanceState); 34 | requestWindowFeature(Window.FEATURE_NO_TITLE); 35 | setContentView(R.layout.contact_layout); 36 | // sp = this.getSharedPreferences("setting", Context.MODE_WORLD_READABLE); 37 | // mGestureDetector = new GestureDetector(this); 38 | // con= (RelativeLayout)findViewById(R.id.con); 39 | // con.setOnTouchListener(this); 40 | // con.setLongClickable(true); 41 | //功能简介的工具 42 | ringagain1=(Button)findViewById(R.id.ringagain1); 43 | ringagain1.setOnClickListener(new OnClickListener() { 44 | 45 | @Override 46 | public void onClick(View v) { 47 | // TODO Auto-generated method stub 48 | Intent intent = new Intent(); 49 | intent.setClass(ContactActivity.this, FunctionActivity.class); 50 | startActivity(intent); 51 | } 52 | }); 53 | //更新当前版本的工具 54 | ringagain2=(Button)findViewById(R.id.ringagain2); 55 | ringagain2.setOnClickListener(new OnClickListener() { 56 | 57 | @Override 58 | public void onClick(View v) { 59 | // TODO Auto-generated method stub 60 | Toast.makeText(ContactActivity.this,"当前已是最新版本",Toast.LENGTH_SHORT).show(); 61 | } 62 | }); 63 | //帮助与反馈的工具 64 | ringagain3=(Button)findViewById(R.id.ringagain3); 65 | ringagain3.setOnClickListener(new OnClickListener() { 66 | 67 | @Override 68 | public void onClick(View v) { 69 | // TODO Auto-generated method stub 70 | Intent intent = new Intent(); 71 | intent.setClass(ContactActivity.this, HelpActivity.class); 72 | startActivity(intent); 73 | } 74 | }); 75 | //关于鸡舍终端的介绍工具 76 | ringagain4=(Button)findViewById(R.id.ringagain4); 77 | ringagain4.setOnClickListener(new OnClickListener() { 78 | 79 | @Override 80 | public void onClick(View v) { 81 | // TODO Auto-generated method stub 82 | Intent intent = new Intent(); 83 | intent.setClass(ContactActivity.this, AboutActivity.class); 84 | startActivity(intent); 85 | } 86 | }); 87 | //关于 88 | // ringagain5=(Button)findViewById(R.id.ringagain5); 89 | // ringagain5.setOnClickListener(new OnClickListener() { 90 | // 91 | // @Override 92 | // public void onClick(View v) { 93 | // // TODO Auto-generated method stub 94 | // Toast.makeText(ContactActivity.this,"联系我们",Toast.LENGTH_SHORT).show(); 95 | // } 96 | // }); 97 | // ringagain6 = (Button)findViewById(R.id.ringagain6); 98 | // ringagain6.setOnClickListener(new OnClickListener() { 99 | // @Override 100 | // public void onClick(View v) { 101 | //Intent intent = new Intent(); 102 | 103 | //Toast.makeText(ContactActivity.this,"联系我们",Toast.LENGTH_SHORT).show(); 104 | // startActivity(intent); 105 | // } 106 | // }); 107 | 108 | home_img_bn_Layout = (LinearLayout) findViewById(R.id.bottom_home_layout_ly); 109 | home_img_bn_Layout.setOnClickListener(clickListener_home); 110 | 111 | shopping_img_bn_layout = (LinearLayout) findViewById(R.id.bottom_shopping_layout_ly); 112 | shopping_img_bn_layout.setOnClickListener(clickListener_shopping); 113 | 114 | style_img_bn_layout = (LinearLayout) findViewById(R.id.bottom_style_layout_ly); 115 | style_img_bn_layout.setOnClickListener(clickListener_style); 116 | 117 | cam_img_bn_layout = (LinearLayout) findViewById(R.id.bottom_cam_layout_ly); 118 | cam_img_bn_layout.setOnClickListener(clickListener_cam); 119 | 120 | show_img_bn_layout = (LinearLayout) findViewById(R.id.bottom_show_layout_ly); 121 | show_img_bn_layout.setOnClickListener(clickListener_show); 122 | show_img_bn_layout.setSelected(true); 123 | } 124 | public boolean onTouch(View v, MotionEvent event) { 125 | return mGestureDetector.onTouchEvent(event); 126 | } 127 | // public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, 128 | // float velocityY) { 129 | // // TODO Auto-generated method stub 130 | // Log.e("view", "onFling"); 131 | // if (e2.getX() - e1.getX() > FLING_MIN_DISTANCE 132 | // && Math.abs(velocityX) > FLING_MIN_VELOCITY){ 133 | // Log.e("fling", "right"); 134 | // if(sp.getBoolean("IFHUADONG", true)) 135 | // { 136 | // Intent intent = new Intent(); 137 | // intent.setClass(ContactActivity.this, Login.class); 138 | // startActivity(intent); 139 | // overridePendingTransition(R.anim.push_right_in, R.anim.push_right_out); 140 | // finish(); 141 | // } 142 | // } 143 | // return false; 144 | // } 145 | public boolean onKeyDown(int keyCode,KeyEvent event) 146 | { 147 | if(keyCode== KeyEvent.KEYCODE_BACK) 148 | { 149 | dialog(); 150 | return true; 151 | } 152 | else 153 | { 154 | return super.onKeyDown(keyCode, event); 155 | } 156 | } 157 | protected void dialog() 158 | { 159 | Dialog dialog = new AlertDialog.Builder(this).setTitle("温室管理终端").setMessage( 160 | "确认退出应用程序?").setPositiveButton("退出",new DialogInterface.OnClickListener() { 161 | 162 | @Override 163 | public void onClick(DialogInterface dialog, int which) { 164 | // TODO Auto-generated method stub 165 | dialog.dismiss(); 166 | ContactActivity.this.finish(); 167 | } 168 | }).setNegativeButton("取消",new DialogInterface.OnClickListener() { 169 | 170 | @Override 171 | public void onClick(DialogInterface dialog, int which) { 172 | // TODO Auto-generated method stub 173 | dialog.dismiss(); 174 | } 175 | }).create(); 176 | dialog.show(); 177 | } 178 | protected void dialog1() 179 | { 180 | Dialog dialog = new AlertDialog.Builder(this).setTitle("温室管理终端").setMessage( 181 | "确认注销当前帐号?").setPositiveButton("确定",new DialogInterface.OnClickListener() { 182 | 183 | @Override 184 | public void onClick(DialogInterface dialog, int which) { 185 | // TODO Auto-generated method stub 186 | dialog.dismiss(); 187 | // Intent intent = new Intent(); 188 | // intent.setClass(ContactActivity.this, Login.class); 189 | // startActivity(intent); 190 | // overridePendingTransition(R.anim.push_right_in, R.anim.push_right_out); 191 | ContactActivity.this.finish(); 192 | } 193 | }).setNegativeButton("取消",new DialogInterface.OnClickListener() { 194 | 195 | @Override 196 | public void onClick(DialogInterface dialog, int which) { 197 | // TODO Auto-generated method stub 198 | dialog.dismiss(); 199 | } 200 | }).create(); 201 | dialog.show(); 202 | } 203 | private OnClickListener clickListener_home = new OnClickListener() { 204 | 205 | @Override 206 | public void onClick(View v) { 207 | // TODO Auto-generated method stub 208 | home_img_bn_Layout.setSelected(true); 209 | style_img_bn_layout.setSelected(false); 210 | cam_img_bn_layout.setSelected(false); 211 | shopping_img_bn_layout.setSelected(false); 212 | show_img_bn_layout.setSelected(false); 213 | Intent intent = new Intent(); 214 | intent.setClass(ContactActivity.this, MainActivity.class); 215 | startActivity(intent); 216 | //overridePendingTransition(R.anim.zoommin, R.anim.zoomout); 217 | finish(); 218 | } 219 | }; 220 | private OnClickListener clickListener_style = new OnClickListener() { 221 | 222 | @Override 223 | public void onClick(View v) { 224 | // TODO Auto-generated method stub 225 | home_img_bn_Layout.setSelected(false); 226 | style_img_bn_layout.setSelected(true); 227 | cam_img_bn_layout.setSelected(false); 228 | shopping_img_bn_layout.setSelected(false); 229 | show_img_bn_layout.setSelected(false); 230 | Intent intent = new Intent(); 231 | intent.setClass(ContactActivity.this, Outdoor.class); 232 | startActivity(intent); 233 | //overridePendingTransition(R.anim.zoommin, R.anim.zoomout); 234 | finish(); 235 | } 236 | }; 237 | private OnClickListener clickListener_cam = new OnClickListener() { 238 | 239 | @Override 240 | public void onClick(View v) { 241 | // TODO Auto-generated method stub 242 | home_img_bn_Layout.setSelected(false); 243 | style_img_bn_layout.setSelected(false); 244 | cam_img_bn_layout.setSelected(true); 245 | shopping_img_bn_layout.setSelected(false); 246 | show_img_bn_layout.setSelected(false); 247 | Intent intent = new Intent(); 248 | intent.setClass(ContactActivity.this, CurveActivity.class); 249 | startActivity(intent); 250 | //overridePendingTransition(R.anim.zoommin, R.anim.zoomout); 251 | finish(); 252 | } 253 | }; 254 | private OnClickListener clickListener_shopping = new OnClickListener() { 255 | 256 | @Override 257 | public void onClick(View v) { 258 | // TODO Auto-generated method stub 259 | home_img_bn_Layout.setSelected(false); 260 | style_img_bn_layout.setSelected(false); 261 | cam_img_bn_layout.setSelected(false); 262 | shopping_img_bn_layout.setSelected(true); 263 | show_img_bn_layout.setSelected(false); 264 | Intent intent = new Intent(); 265 | intent.setClass(ContactActivity.this, ControlActivity.class); 266 | startActivity(intent); 267 | //overridePendingTransition(R.anim.zoommin, R.anim.zoomout); 268 | finish(); 269 | } 270 | }; 271 | private OnClickListener clickListener_show = new OnClickListener() { 272 | 273 | @Override 274 | public void onClick(View v) { 275 | // TODO Auto-generated method stub 276 | home_img_bn_Layout.setSelected(false); 277 | style_img_bn_layout.setSelected(false); 278 | cam_img_bn_layout.setSelected(false); 279 | shopping_img_bn_layout.setSelected(false); 280 | show_img_bn_layout.setSelected(true); 281 | } 282 | }; 283 | 284 | } 285 | 286 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/fr/baimajidi/DatabaseHelper.java: -------------------------------------------------------------------------------- 1 | package com.example.fr.baimajidi; 2 | 3 | import android.content.Context; 4 | import android.database.sqlite.SQLiteDatabase; 5 | import android.database.sqlite.SQLiteDatabase.CursorFactory; 6 | import android.database.sqlite.SQLiteOpenHelper; 7 | 8 | public class DatabaseHelper extends SQLiteOpenHelper { 9 | 10 | private static final int VERSION=1; 11 | public DatabaseHelper(Context context, String name, CursorFactory factory, int version) 12 | { 13 | super(context,name,factory,version); 14 | } 15 | 16 | public DatabaseHelper(Context context, String name) 17 | { 18 | this(context,name,VERSION); 19 | } 20 | public DatabaseHelper(Context context, String name, int version) 21 | { 22 | this(context,name,null,version); 23 | } 24 | @Override 25 | public void onCreate(SQLiteDatabase db) { 26 | // TODO Auto-generated method stub 27 | System.out.println("cteate a Database"); 28 | db.execSQL("create table temp(id int,Temp varchar(20),time varchar(20))"); 29 | db.execSQL("create table humi(id int,Humi varchar(20),time varchar(20))"); 30 | db.execSQL("create table lumi(id int,Lumi varchar(20),time varchar(20))"); 31 | db.execSQL("create table co2(id int,Co2 varchar(20),time varchar(20))"); 32 | db.execSQL("create table NH3(id int,NH3 varchar(20),time varchar(20))"); 33 | db.execSQL("create table H2S(id int,H2S varchar(20),time varchar(20))"); 34 | db.execSQL("create table AirRate(id int,AirRate varchar(20),time varchar(20))"); 35 | // db.execSQL("create table co23(id int,Co22 varchar(20),time varchar(20))"); 36 | // db.execSQL("create table temp3(id int,Temp3 varchar(20),time varchar(20))"); 37 | // db.execSQL("create table humi3(id int,Humi3 varchar(20),time varchar(20))"); 38 | // db.execSQL("create table lumi3(id int,Lumi3 varchar(20),time varchar(20))"); 39 | // db.execSQL("create table co23(id int,Co23 varchar(20),time varchar(20))"); 40 | } 41 | 42 | @Override 43 | public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { 44 | // TODO Auto-generated method stub 45 | System.out.println("update a Database"); 46 | } 47 | 48 | } 49 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/fr/baimajidi/FunctionActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.fr.baimajidi; 2 | 3 | import android.app.Activity; 4 | import android.os.Bundle; 5 | import android.view.View; 6 | import android.view.Window; 7 | import android.widget.Button; 8 | 9 | public class FunctionActivity extends Activity { 10 | 11 | protected void onCreate(Bundle savedInstanceState) { 12 | super.onCreate(savedInstanceState); 13 | requestWindowFeature(Window.FEATURE_NO_TITLE); 14 | setContentView(R.layout.function); 15 | Button title_set_bn=(Button)findViewById(R.id.title_set_bn); 16 | title_set_bn.setOnClickListener(new View.OnClickListener() { 17 | public void onClick(View v) { 18 | finish(); 19 | } 20 | }); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/fr/baimajidi/GetPostUtil.java: -------------------------------------------------------------------------------- 1 | package com.example.fr.baimajidi; 2 | 3 | import android.util.Log; 4 | 5 | import java.io.BufferedReader; 6 | import java.io.IOException; 7 | import java.io.InputStream; 8 | import java.io.InputStreamReader; 9 | import java.io.PrintWriter; 10 | import java.net.URL; 11 | import java.net.URLConnection; 12 | import java.util.List; 13 | import java.util.Map; 14 | 15 | /** 16 | * Created by FR on 2017/4/14. 17 | */ 18 | public class GetPostUtil { 19 | /** 20 | * 向指定URL发送GET方法的请求 21 | * @param url 发送请求的URL 22 | * @param params 请求参数,请求参数应该是name1=value1&name2=value2的形式。 23 | * @return URL所代表远程资源的响应 24 | */ 25 | public static String sendGet(String url, String params) 26 | { 27 | String result = ""; 28 | BufferedReader in = null; 29 | 30 | try 31 | { 32 | String urlName = url + "?" + params; 33 | URL realUrl = new URL(urlName); 34 | // 打开和URL之间的连接 35 | URLConnection conn = realUrl.openConnection(); 36 | 37 | // 设置通用的请求属性 38 | conn.setRequestProperty("accept", "*/*"); 39 | conn.setRequestProperty("connection", "Keep-Alive"); 40 | conn.setRequestProperty("user-agent", 41 | "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"); 42 | /* 43 | * 建立实际的连接 44 | * 如果需要发送POST请求,则需要获取URLConnection的OutputStream 45 | * 然后再向网络中输出请求参数 46 | */ 47 | conn.connect(); 48 | 49 | // 获取所有响应头字段 50 | Map> map = conn.getHeaderFields(); 51 | // 遍历所有的响应头字段 52 | for (String key : map.keySet()) 53 | { 54 | System.out.println(key + "--->" + map.get(key)); 55 | } 56 | 57 | // 定义BufferedReader输入流来读取URL的响应 58 | in = new BufferedReader( 59 | new InputStreamReader(conn.getInputStream())); 60 | String line; 61 | while ((line = in.readLine()) != null) 62 | { 63 | result += "\n" + line; 64 | } 65 | } 66 | catch (Exception e) 67 | { 68 | System.out.println("发送GET请求出现异常!" + e); 69 | e.printStackTrace(); 70 | } 71 | // 使用finally块来关闭输入流 72 | finally 73 | { 74 | try 75 | { 76 | if (in != null) 77 | { 78 | in.close(); 79 | } 80 | } 81 | catch (IOException ex) 82 | { 83 | ex.printStackTrace(); 84 | } 85 | } 86 | return result; 87 | } 88 | 89 | /** 90 | * 向指定URL发送POST方法的请求 91 | * @param url 发送请求的URL 92 | * @param params 请求参数,请求参数应该是name1=value1&name2=value2的形式。 93 | * @return URL所代表远程资源的响应 94 | */ 95 | public static String sendPost(String url, String params) 96 | { 97 | PrintWriter out = null; 98 | InputStream in = null; 99 | String result = ""; 100 | 101 | try 102 | { 103 | URL realUrl = new URL(url); 104 | // 打开和URL之间的连接 105 | URLConnection conn = realUrl.openConnection(); 106 | 107 | // 设置通用的请求属性 108 | conn.setRequestProperty("accept", "*/*"); 109 | conn.setRequestProperty("connection", "Keep-Alive"); 110 | conn.setRequestProperty("user-agent", 111 | "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"); 112 | 113 | //向网络中输出请求参数 114 | conn.setDoOutput(true); 115 | conn.setDoInput(true); 116 | 117 | // 获取URLConnection对象对应的输出流 118 | out = new PrintWriter(conn.getOutputStream()); 119 | 120 | // 发送请求参数 121 | out.print(params); 122 | 123 | 124 | 125 | // flush输出流的缓冲 126 | out.flush(); 127 | 128 | 129 | in= conn.getInputStream(); 130 | byte[] bytes = new byte[1024]; 131 | int len = 0; 132 | try{ 133 | if(in.available()>0){ 134 | while((len=in.read(bytes))!=-1){ 135 | String str = new String(bytes,0,len); 136 | Log.i("main",str); 137 | } 138 | } 139 | }catch(Exception e){ 140 | 141 | } 142 | 143 | 144 | // 定义BufferedReader输入流来读取URL的响应 145 | //in = new BufferedReader( 146 | //new InputStreamReader(conn.getInputStream())); 147 | //String line; 148 | //while ((line = in.readLine()) != null) { 149 | //Log.i("main","访问"); 150 | //} 151 | } 152 | catch (Exception e) 153 | { 154 | System.out.println("发送POST请求出现异常!" + e); 155 | e.printStackTrace(); 156 | } 157 | // 使用finally块来关闭输出流、输入流 158 | finally 159 | { 160 | try 161 | { 162 | if (out != null) 163 | { 164 | out.close(); 165 | } 166 | if (in != null) 167 | { 168 | in.close(); 169 | } 170 | } 171 | catch (IOException ex) 172 | { 173 | ex.printStackTrace(); 174 | } 175 | } 176 | return result; 177 | } 178 | } 179 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/fr/baimajidi/HelpActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.fr.baimajidi; 2 | 3 | import android.app.Activity; 4 | import android.os.Bundle; 5 | import android.view.View; 6 | import android.view.Window; 7 | import android.widget.Button; 8 | 9 | public class HelpActivity extends Activity { 10 | 11 | protected void onCreate(Bundle savedInstanceState) { 12 | super.onCreate(savedInstanceState); 13 | requestWindowFeature(Window.FEATURE_NO_TITLE); 14 | setContentView(R.layout.help); 15 | Button title_set_bn=(Button)findViewById(R.id.title_set_bn); 16 | title_set_bn.setOnClickListener(new View.OnClickListener() { 17 | public void onClick(View v) { 18 | finish(); 19 | } 20 | }); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/fr/baimajidi/LineActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.fr.baimajidi; 2 | 3 | 4 | import android.app.Activity; 5 | import android.app.AlertDialog; 6 | import android.content.DialogInterface; 7 | import android.database.Cursor; 8 | import android.database.sqlite.SQLiteDatabase; 9 | import android.os.Bundle; 10 | import android.view.View; 11 | import android.view.Window; 12 | import android.widget.Button; 13 | import android.widget.ListView; 14 | import android.widget.SimpleAdapter; 15 | 16 | import java.util.ArrayList; 17 | import java.util.HashMap; 18 | import java.util.List; 19 | 20 | public class LineActivity extends Activity { 21 | 22 | private List> data; 23 | 24 | private ListView listView; 25 | private DatabaseHelper dbHelper; 26 | private SQLiteDatabase sdb; 27 | private Cursor cursor; 28 | 29 | protected void onCreate(Bundle savedInstanceState) { 30 | // TODO Auto-generated method stub 31 | super.onCreate(savedInstanceState); 32 | requestWindowFeature(Window.FEATURE_NO_TITLE); 33 | setContentView(R.layout.line); 34 | // 35 | listView = (ListView)this.findViewById(R.id.listview); 36 | data = new ArrayList>(); 37 | 38 | 39 | dbHelper=new DatabaseHelper(LineActivity.this,"information"); 40 | sdb = dbHelper.getReadableDatabase(); 41 | //��Ϣ��ѯ 42 | final Button btn1=(Button)findViewById(R.id.ringagain1); 43 | //���ذ�ť 44 | Button title_set_bn=(Button)findViewById(R.id.title_set_bn); 45 | title_set_bn.setOnClickListener(new View.OnClickListener() { 46 | public void onClick(View v) { 47 | finish(); 48 | } 49 | }); 50 | btn1.setOnClickListener(new View.OnClickListener() { 51 | 52 | public void onClick(View v) { 53 | final CharSequence[] items = 54 | { "空气温度", "空气湿度","光照","CO2浓度","硫化氢浓度","氨气浓度", "空气风速"}; 55 | AlertDialog dlg = new AlertDialog.Builder(LineActivity.this).setTitle("请选择").setItems(items, 56 | new DialogInterface.OnClickListener() 57 | { 58 | public void onClick (DialogInterface dialog , int item ) { 59 | if (item == 0) { 60 | showwendu(); 61 | btn1.setText(" 信息查询(历史空气温度信息)"); 62 | } else if (item == 1) { 63 | showhumi(); 64 | btn1.setText(" 信息查询(历史空气湿度信息)"); 65 | } else if (item == 2) { 66 | showlumi(); 67 | btn1.setText(" 信息查询(历史光照强度信息)"); 68 | } else if (item == 3) { 69 | showco2(); 70 | btn1.setText(" 信息查询(历史CO2浓度信息)"); 71 | } else if (item == 4) { 72 | shownh3(); 73 | btn1.setText(" 信息查询(历史NH3浓度信息)"); 74 | } else if (item == 5) { 75 | showh2s(); 76 | btn1.setText(" 信息查询(历史H2S浓度信息)"); 77 | } else if (item == 6) { 78 | showAirRate(); 79 | btn1.setText(" 信息查询(历史风速信息)"); 80 | } 81 | } 82 | }).create(); 83 | dlg.show(); 84 | } 85 | }); 86 | } 87 | 88 | private void showwendu() 89 | { 90 | data.clear(); 91 | dbHelper=new DatabaseHelper(LineActivity.this,"information"); 92 | sdb = dbHelper.getReadableDatabase(); 93 | cursor=sdb.rawQuery("select * from temp order by time desc", null); 94 | while(cursor.moveToNext()) 95 | { 96 | String id = cursor.getString(cursor.getColumnIndex("id")); 97 | String Temp = cursor.getString(cursor.getColumnIndex("Temp")); 98 | String time = cursor.getString(cursor.getColumnIndex("time")); 99 | HashMap map = new HashMap(); 100 | map.put("id", id); 101 | map.put("Temp", Temp); 102 | map.put("time", time); 103 | data.add(map); 104 | } 105 | SimpleAdapter simpleAdapter = new SimpleAdapter(LineActivity.this, data, R.layout.list_row, 106 | new String[]{ "id", "Temp", "time" } , new int[]{ R.id.dataid, R.id.datatemp, R.id.datatime}); 107 | listView.setAdapter(simpleAdapter); 108 | } 109 | private void showhumi() 110 | { 111 | data.clear(); 112 | dbHelper=new DatabaseHelper(LineActivity.this,"information"); 113 | sdb = dbHelper.getReadableDatabase(); 114 | cursor=sdb.rawQuery("select * from humi order by time desc", null); 115 | while(cursor.moveToNext()) 116 | { 117 | String id = cursor.getString(cursor.getColumnIndex("id")); 118 | String Temp = cursor.getString(cursor.getColumnIndex("Humi")); 119 | String time = cursor.getString(cursor.getColumnIndex("time")); 120 | 121 | HashMap map = new HashMap(); 122 | map.put("id", id); 123 | map.put("Humi", Temp); 124 | map.put("time", time); 125 | data.add(map); 126 | } 127 | SimpleAdapter simpleAdapter = new SimpleAdapter(LineActivity.this, data, R.layout.list_row, 128 | new String[]{ "id", "Humi", "time" } , new int[]{ R.id.dataid, R.id.datatemp, R.id.datatime}); 129 | listView.setAdapter(simpleAdapter); 130 | } 131 | private void showlumi() 132 | { 133 | data.clear(); 134 | dbHelper=new DatabaseHelper(LineActivity.this,"information"); 135 | sdb = dbHelper.getReadableDatabase(); 136 | cursor=sdb.rawQuery("select * from lumi order by time desc", null); 137 | while(cursor.moveToNext()) 138 | { 139 | String id = cursor.getString(cursor.getColumnIndex("id")); 140 | String Temp = cursor.getString(cursor.getColumnIndex("Lumi")); 141 | String time = cursor.getString(cursor.getColumnIndex("time")); 142 | 143 | HashMap map = new HashMap(); 144 | map.put("id", id); 145 | map.put("Lumi", Temp); 146 | map.put("time", time); 147 | data.add(map); 148 | } 149 | SimpleAdapter simpleAdapter = new SimpleAdapter(LineActivity.this, data, R.layout.list_row, 150 | new String[]{ "id", "Lumi", "time" } , new int[]{ R.id.dataid, R.id.datatemp, R.id.datatime}); 151 | listView.setAdapter(simpleAdapter); 152 | } 153 | private void showco2() 154 | { 155 | data.clear(); 156 | dbHelper=new DatabaseHelper(LineActivity.this,"information"); 157 | sdb = dbHelper.getReadableDatabase(); 158 | cursor=sdb.rawQuery("select * from co2 order by time desc", null); 159 | while(cursor.moveToNext()) 160 | { 161 | String id = cursor.getString(cursor.getColumnIndex("id")); 162 | String Temp = cursor.getString(cursor.getColumnIndex("Co2")); 163 | String time = cursor.getString(cursor.getColumnIndex("time")); 164 | HashMap map = new HashMap(); 165 | map.put("id", id); 166 | map.put("Co2", Temp); 167 | map.put("time", time); 168 | data.add(map); 169 | } 170 | SimpleAdapter simpleAdapter = new SimpleAdapter(LineActivity.this, data, R.layout.list_row, 171 | new String[]{ "id", "Co2", "time" } , new int[]{ R.id.dataid, R.id.datatemp, R.id.datatime}); 172 | listView.setAdapter(simpleAdapter); 173 | } 174 | private void shownh3() 175 | { 176 | data.clear(); 177 | dbHelper=new DatabaseHelper(LineActivity.this,"information"); 178 | sdb = dbHelper.getReadableDatabase(); 179 | cursor=sdb.rawQuery("select * from NH3 order by time desc", null); 180 | while(cursor.moveToNext()) 181 | { 182 | String id = cursor.getString(cursor.getColumnIndex("id")); 183 | String Temp = cursor.getString(cursor.getColumnIndex("NH3")); 184 | String time = cursor.getString(cursor.getColumnIndex("time")); 185 | HashMap map = new HashMap(); 186 | map.put("id", id); 187 | map.put("NH3", Temp); 188 | map.put("time", time); 189 | data.add(map); 190 | } 191 | SimpleAdapter simpleAdapter = new SimpleAdapter(LineActivity.this, data, R.layout.list_row, 192 | new String[]{ "id", "NH3", "time" } , new int[]{ R.id.dataid, R.id.datatemp, R.id.datatime}); 193 | listView.setAdapter(simpleAdapter); 194 | } 195 | private void showh2s() 196 | { 197 | data.clear(); 198 | dbHelper=new DatabaseHelper(LineActivity.this,"information"); 199 | sdb = dbHelper.getReadableDatabase(); 200 | cursor=sdb.rawQuery("select * from H2S order by time desc", null); 201 | while(cursor.moveToNext()) 202 | { 203 | String id = cursor.getString(cursor.getColumnIndex("id")); 204 | String Temp = cursor.getString(cursor.getColumnIndex("H2S")); 205 | String time = cursor.getString(cursor.getColumnIndex("time")); 206 | 207 | HashMap map = new HashMap(); 208 | map.put("id", id); 209 | map.put("H2S", Temp); 210 | map.put("time", time); 211 | data.add(map); 212 | } 213 | SimpleAdapter simpleAdapter = new SimpleAdapter(LineActivity.this, data, R.layout.list_row, 214 | new String[]{ "id", "H2S", "time" } , new int[]{ R.id.dataid, R.id.datatemp, R.id.datatime}); 215 | listView.setAdapter(simpleAdapter); 216 | } 217 | private void showAirRate() 218 | { 219 | data.clear(); 220 | dbHelper=new DatabaseHelper(LineActivity.this,"information"); 221 | sdb = dbHelper.getReadableDatabase(); 222 | cursor=sdb.rawQuery("select * from AirRate order by time desc", null); 223 | while(cursor.moveToNext()) 224 | { 225 | String id = cursor.getString(cursor.getColumnIndex("id")); 226 | String Temp = cursor.getString(cursor.getColumnIndex("AirRate")); 227 | String time = cursor.getString(cursor.getColumnIndex("time")); 228 | 229 | HashMap map = new HashMap(); 230 | map.put("id", id); 231 | map.put("AirRate", Temp); 232 | map.put("time", time); 233 | data.add(map); 234 | } 235 | SimpleAdapter simpleAdapter = new SimpleAdapter(LineActivity.this, data, R.layout.list_row, 236 | new String[]{ "id", "AirRate", "time" } , new int[]{ R.id.dataid, R.id.datatemp, R.id.datatime}); 237 | listView.setAdapter(simpleAdapter); 238 | } 239 | } 240 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/fr/baimajidi/LineChart.java: -------------------------------------------------------------------------------- 1 | package com.example.fr.baimajidi; 2 | 3 | import android.content.Context; 4 | import android.content.res.TypedArray; 5 | import android.graphics.Canvas; 6 | import android.graphics.Color; 7 | import android.graphics.Paint; 8 | import android.graphics.Path; 9 | import android.util.AttributeSet; 10 | import android.util.TypedValue; 11 | import android.view.View; 12 | 13 | import java.util.List; 14 | 15 | /** 16 | * Created by kn on 2016/11/1. 17 | *

18 | * 折线图 19 | */ 20 | public class LineChart extends View { 21 | 22 | private int mWidth, mHeight;//View 的宽和高 23 | 24 | private float mFontSize = 12;//字体的大小 25 | private float mStrokeWidth = 1.5f;//线条的宽度 26 | private float mPointRadius = 2;//点的半径 27 | private int mDateTextColor = Color.parseColor("#cfcfcf");//日期字体颜色 28 | private int mDarkColor = Color.parseColor("#5b7fdf");//点、线的颜色(深色) 29 | private int mLightColor = Color.parseColor("#d5d8f7");//点、线的颜色(浅色) 30 | private int mShapeColor = Color.parseColor("#f3f6fd");//阴影的颜色 31 | 32 | private String[] mXItems;//X轴的文字 33 | private float[] mPoints;//点的数组,-1表示该日还没到 34 | private int mLength = 7;//最大比例 35 | 36 | private Paint mDatePaint = new Paint();//日期画笔 37 | private Paint mPointPaint = new Paint();//点画笔 38 | private Paint mLinePaint = new Paint();//线条画笔 39 | private Paint mShapePaint = new Paint();//阴影部分画笔 40 | 41 | private float max =13; 42 | private Context mContext; 43 | 44 | public LineChart(Context context) { 45 | this(context, null); 46 | } 47 | 48 | public LineChart(Context context, AttributeSet attrs) { 49 | this(context, attrs, 0); 50 | } 51 | 52 | public LineChart(Context context, AttributeSet attrs, int defStyleAttr) { 53 | super(context, attrs, defStyleAttr); 54 | mContext = context; 55 | TypedArray typedArray = mContext.getTheme().obtainStyledAttributes(attrs, R.styleable.LineChart, 0, 0); 56 | try { 57 | mDateTextColor = typedArray.getColor(R.styleable.LineChart_DateTextColor, mDateTextColor); 58 | mDarkColor = typedArray.getColor(R.styleable.LineChart_DarkColor, mDarkColor); 59 | mLightColor = typedArray.getColor(R.styleable.LineChart_LightColor, mLightColor); 60 | mShapeColor = typedArray.getColor(R.styleable.LineChart_ShapeColor, mShapeColor); 61 | mFontSize = typedArray.getDimensionPixelSize(R.styleable.LineChart_FontSize, 62 | (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, mFontSize, mContext.getResources().getDisplayMetrics())); 63 | mStrokeWidth = typedArray.getDimensionPixelSize(R.styleable.LineChart_StrokeWidth, 64 | (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, mStrokeWidth, mContext.getResources().getDisplayMetrics())); 65 | mPointRadius = typedArray.getDimensionPixelSize(R.styleable.LineChart_PointRadius, 66 | (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, mPointRadius, mContext.getResources().getDisplayMetrics())); 67 | } finally { 68 | typedArray.recycle(); 69 | } 70 | 71 | initPaint(); 72 | } 73 | 74 | private void initPaint() { 75 | //日期画笔 76 | mDatePaint.setTextSize(mFontSize); 77 | mDatePaint.setColor(mDateTextColor); 78 | //点画笔 79 | mPointPaint.setTextSize(mFontSize); 80 | mPointPaint.setColor(mDarkColor); 81 | //线画笔 82 | mLinePaint.setAntiAlias(true); 83 | mLinePaint.setStrokeWidth(mStrokeWidth);//设置线条宽度 84 | mLinePaint.setStyle(Paint.Style.FILL); 85 | mLinePaint.setColor(mDarkColor); 86 | //阴影部分画笔 87 | mShapePaint.setAntiAlias(true); 88 | mShapePaint.setStyle(Paint.Style.FILL); 89 | mShapePaint.setColor(mShapeColor); 90 | } 91 | 92 | @Override 93 | protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 94 | int widthMode = MeasureSpec.getMode(widthMeasureSpec); 95 | int heightMode = MeasureSpec.getMode(heightMeasureSpec); 96 | int widthSize = MeasureSpec.getSize(widthMeasureSpec); 97 | int heightSize = MeasureSpec.getSize(heightMeasureSpec); 98 | mWidth = widthSize; 99 | mHeight = heightSize; 100 | if (heightMode == MeasureSpec.AT_MOST) { 101 | mHeight = mWidth / 7 * 7; 102 | } 103 | setMeasuredDimension(mWidth, mHeight); 104 | } 105 | 106 | @Override 107 | protected void onDraw(Canvas canvas) { 108 | 109 | if (mXItems == null) { 110 | mXItems = new String[]{"1", "2", "3", "4", "5", "6", "7"}; 111 | mPoints = new float[]{0, -1, -1, -1, -1, -1, -1}; 112 | mLength = mXItems.length; 113 | } 114 | 115 | //最大比例 116 | for (int i = 0; i < mLength; i++) { 117 | if (mPoints[i] > max) { 118 | max = mPoints[i]; 119 | } 120 | } 121 | //原点坐标 122 | int xOrigin = (int) (0.25 * mWidth / mLength); 123 | int yOrigin = (int) (mHeight - 3 * mFontSize); 124 | // X轴 125 | canvas.drawLine(xOrigin, yOrigin, mWidth - xOrigin, yOrigin, mLinePaint); 126 | Path xpath = new Path(); 127 | xpath.moveTo(mWidth - xOrigin - mFontSize / 3, yOrigin + mFontSize / 3); 128 | xpath.lineTo(mWidth - xOrigin, yOrigin); 129 | xpath.lineTo(mWidth - xOrigin - mFontSize / 3, yOrigin - mFontSize / 3); 130 | xpath.close(); 131 | canvas.drawPath(xpath, mLinePaint); 132 | // Y轴 133 | canvas.drawLine(xOrigin, yOrigin, xOrigin, mFontSize, mLinePaint); 134 | Path ypath = new Path(); 135 | ypath.moveTo(xOrigin - mFontSize / 3, mFontSize + mFontSize / 3); 136 | ypath.lineTo(xOrigin, mFontSize); 137 | ypath.lineTo(xOrigin + mFontSize / 3, mFontSize + mFontSize / 3); 138 | ypath.close(); 139 | canvas.drawPath(ypath, mLinePaint); 140 | 141 | 142 | int[] xPoints = new int[mLength];//x轴的刻度集合 143 | int[] yPoints = new int[mLength];//y轴的刻度集合 144 | 145 | for (int i = 0; i < mLength; i++) { 146 | //获取点的坐标 147 | xPoints[i] = (int) ((i + 0.5) * (mWidth / mLength)); 148 | yPoints[i] = (int) ((max - (mPoints[i] == -1 ? 0 : mPoints[i])) * ((mHeight - 6 * mFontSize) / max)); 149 | 150 | if (i > 0) { 151 | //画一个实心梯形,阴影部分 152 | Path path = new Path(); 153 | path.moveTo(xPoints[i - 1], yOrigin - mStrokeWidth); 154 | path.lineTo(xPoints[i - 1], yPoints[i - 1] + 3 * mFontSize - mStrokeWidth); 155 | path.lineTo(xPoints[i], yPoints[i] + 3 * mFontSize - mStrokeWidth); 156 | path.lineTo(xPoints[i], yOrigin - mStrokeWidth); 157 | path.close(); 158 | canvas.drawPath(path, mShapePaint); 159 | } 160 | //画出日期 161 | canvas.drawText(mXItems[i], (int) ((i + 0.5) * mWidth / mLength) - mFontSize / 2, mHeight - mFontSize, mDatePaint); 162 | } 163 | 164 | for (int i = 0; i < mLength; i++) { 165 | if (mPoints[i] == -1) { 166 | mLinePaint.setColor(mLightColor); 167 | mPointPaint.setColor(mLightColor); 168 | } else { 169 | mLinePaint.setColor(mDarkColor); 170 | mPointPaint.setColor(mDarkColor); 171 | } 172 | if (i > 0) { 173 | //画连线 174 | canvas.drawLine(xPoints[i - 1], yPoints[i - 1] + 3 * mFontSize, xPoints[i], yPoints[i] + 3 * mFontSize, mLinePaint); 175 | } 176 | //画点的数值 177 | canvas.drawText(String.valueOf(mPoints[i]).equals("-1") ? " " : String.valueOf(mPoints[i]), xPoints[i] - mFontSize / 2, yPoints[i] + 2 * mFontSize, mPointPaint); 178 | } 179 | 180 | for (int i = 0; i < mLength; i++) { 181 | if (mPoints[i] == -1) { 182 | mLinePaint.setColor(mLightColor); 183 | mPointPaint.setColor(mLightColor); 184 | } else { 185 | mLinePaint.setColor(mDarkColor); 186 | mPointPaint.setColor(mDarkColor); 187 | } 188 | //画点 189 | if (!(yOrigin ==( 3 * mFontSize + yPoints[i]))) 190 | canvas.drawCircle(xPoints[i], yPoints[i] + 3 * mFontSize, mPointRadius, mPointPaint); 191 | } 192 | } 193 | 194 | public void setData(List dataList) { 195 | mLength = dataList.size(); 196 | if (mLength > 0) { 197 | mXItems = new String[mLength]; 198 | mPoints = new float[mLength]; 199 | for (int i = 0; i < mLength; i++) { 200 | mPoints[i] = Float.parseFloat(String.valueOf(dataList.get(i).getPoint())); 201 | mXItems[i] = dataList.get(i).getItem(); 202 | } 203 | } 204 | invalidate(); 205 | } 206 | } 207 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/fr/baimajidi/LineChartData.java: -------------------------------------------------------------------------------- 1 | package com.example.fr.baimajidi; 2 | 3 | /** 4 | * Created by kn on 2016/11/5. 5 | */ 6 | public class LineChartData { 7 | 8 | private float point; 9 | private String item; 10 | 11 | public float getPoint() { 12 | return point; 13 | } 14 | 15 | public void setPoint(float point) { 16 | this.point = point; 17 | } 18 | 19 | public String getItem() { 20 | return item; 21 | } 22 | 23 | public void setItem(String item) { 24 | this.item = item; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/fr/baimajidi/LineChartDataInt.java: -------------------------------------------------------------------------------- 1 | package com.example.fr.baimajidi; 2 | 3 | /** 4 | * Created by FR on 2017/7/13. 5 | */ 6 | public class LineChartDataInt { 7 | private int point; 8 | private String item; 9 | 10 | public int getPoint() { 11 | return point; 12 | } 13 | 14 | public void setPoint(int point) { 15 | this.point = point; 16 | } 17 | 18 | public String getItem() { 19 | return item; 20 | } 21 | 22 | public void setItem(String item) { 23 | this.item = item; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/fr/baimajidi/Login.java: -------------------------------------------------------------------------------- 1 | package com.example.fr.baimajidi; 2 | 3 | import android.content.ContentValues; 4 | import android.content.Context; 5 | import android.content.Intent; 6 | import android.content.SharedPreferences; 7 | import android.database.sqlite.SQLiteDatabase; 8 | import android.os.Bundle; 9 | import android.support.v7.app.AppCompatActivity; 10 | import android.text.TextUtils; 11 | import android.view.View; 12 | import android.widget.Button; 13 | import android.widget.CheckBox; 14 | import android.widget.CompoundButton; 15 | import android.widget.EditText; 16 | import android.widget.Toast; 17 | 18 | /** 19 | * Created by FR on 2017/5/3. 20 | */ 21 | public class Login extends AppCompatActivity { 22 | 23 | private Button login; 24 | private Button quit; 25 | private EditText UserName,PassWord; 26 | private String mResponse; 27 | private CheckBox checkbox1; 28 | private SharedPreferences sp; 29 | private String service_LoginMessage; 30 | private String username; 31 | public static String admin; 32 | private PrivilegeHelper dbHelper; 33 | private SQLiteDatabase db; 34 | private ContentValues values; 35 | private String str; 36 | private String[] strs; 37 | 38 | // public String getService_LoginMessage() { 39 | // return service_LoginMessage; 40 | //} 41 | //public void setService_LoginMessage(String service_LoginMessage) { 42 | // this.service_LoginMessage = service_LoginMessage; 43 | // } 44 | // public static final int CREATE_V = 1; 45 | 46 | // private Handler handler = new Handler(){ 47 | // public void handlerMessage(Message msg){ 48 | // switch (msg.what){ 49 | // case CREATE_V: 50 | // String un = strs[2]; 51 | // values.put("user",un); 52 | // values.put("privilege",str); 53 | // db.insert("privilege_table",null,values); 54 | // values.clear(); 55 | // Toast.makeText(Login.this,un+"weisha",Toast.LENGTH_SHORT).show(); 56 | // break; 57 | // default: 58 | // break; 59 | // } 60 | // } 61 | // }; 62 | 63 | public void onCreate(Bundle savedInstanceState) { 64 | super.onCreate(savedInstanceState); 65 | setContentView(R.layout.login); 66 | login = (Button) findViewById(R.id.login_btn_login); 67 | 68 | login.setOnClickListener(new View.OnClickListener() { 69 | @Override 70 | public void onClick(View v) { 71 | Intent intent = new Intent(); 72 | intent.setClass(Login.this,MainActivity.class); 73 | startActivity(intent); 74 | Login.this.finish(); 75 | 76 | } 77 | }); 78 | // this.setTitle("白马基地温室智能管理"); 79 | // // sp = this.getSharedPreferences("userInfo", Context.MODE_PRIVATE); 80 | // login = (Button) findViewById(R.id.login_btn_login); 81 | // UserName = (EditText) findViewById(R.id.login_edit_account); 82 | // PassWord = (EditText) findViewById(R.id.login_edit_pwd); 83 | // checkbox1 = (CheckBox) findViewById(R.id.login_cb_savepwd); 84 | // quit = (Button) findViewById(R.id.login_btn_quit); 85 | // if (sp.getBoolean("ISCHECK", true)) { 86 | //记录密码的状态 87 | // checkbox1.setChecked(true); 88 | // UserName.setText(sp.getString("USER_NAME", "")); 89 | // PassWord.setText(sp.getString("PASSWORD", "")); 90 | 91 | // if (sp.getBoolean("AUTO_ISCHECK", true)) { 92 | // //设置界面为自动登陆 93 | // // 94 | // checkbox1.setChecked(true); 95 | // String a = UserName.getText().toString(); 96 | // String b = PassWord.getText().toString(); 97 | // } 98 | // quit.setOnClickListener(new MyListener2()); 99 | // checkbox1.setOnCheckedChangeListener(new MyListener3()); 100 | // } 101 | // dbHelper = new PrivilegeHelper(this,"Privilege.db",null,1); 102 | // db = dbHelper.getWritableDatabase(); 103 | // values = new ContentValues(); 104 | // } 105 | 106 | 107 | 108 | //public void click(View view){ 109 | // SharedPreferences.Editor editor=sp.edit(); 110 | // final String username=UserName.getText().toString().trim(); 111 | //final String password=PassWord.getText().toString().trim(); 112 | // if(checkbox1.isChecked()){ 113 | // editor.putString("USER_NAME", username); 114 | // editor.putString("PASSWORD", password); 115 | // editor.commit(); 116 | // } 117 | // 118 | // final String sendMessage="login"+"@"+UserName.getText()+"@"+PassWord.getText();//login@OK@username@password+"@" 119 | 120 | // Toast.makeText(Login.this, "正在连接服务器", Toast.LENGTH_SHORT ).show(); 121 | // if(TextUtils.isEmpty(username)|| TextUtils.isEmpty(password)){ 122 | // Toast.makeText(Login.this,"用户名和密码不能为空", Toast.LENGTH_SHORT).show(); 123 | // } 124 | // else{ 125 | // new Thread(){ 126 | // public void run(){ 127 | // final String result=GetPostUtil.sendPost("http://192.168.43.222:8888/myApps",sendMessage); 128 | // final String result=send_ToService.send_Message(sendMessage); 129 | // if(result!=null){ 130 | // runOnUiThread(new Runnable(){ 131 | // @Override 132 | // public void run() { 133 | // Toast.makeText(Login.this, result, Toast.LENGTH_LONG).show(); 134 | // setService_LoginMessage(result); 135 | // check_Login(); 136 | // } 137 | 138 | // }); 139 | // }else{ 140 | // runOnUiThread(new Runnable(){ 141 | // @Override 142 | // public void run() { 143 | // Toast.makeText(Login.this, "服务器连接超时,用户请求失败", Toast.LENGTH_LONG).show(); 144 | // Intent intent = new Intent(); 145 | // intent.putExtra("str", "NO"); 146 | // intent.setClass(Login.this,MainActivity.class); 147 | // startActivity(intent); 148 | // Login.this.finish(); 149 | // } 150 | // }); 151 | // } 152 | // }; 153 | // }.start(); 154 | //} 155 | 156 | // } 157 | 158 | // public void check_Login(){ 159 | // //str=getService_LoginMessage();//login@OK@username@password 160 | // strs=str.split("@"); 161 | // //数据库操作 162 | // String enter=strs[1]; 163 | // String un = strs[2]; 164 | // values.put("user",un); 165 | // values.put("privilege",str); 166 | // db.insert("privilege_table",null,values); 167 | // values.clear(); 168 | // new Thread(new Runnable() { 169 | // @Override 170 | // public void run() { 171 | // Message message = new Message(); 172 | // message.what = CREATE_V; 173 | // handler.sendMessage(message); 174 | // } 175 | // }).start(); 176 | 177 | // if("OK".equals(enter)){ 178 | // Toast.makeText(Login.this,un+ "登录成功", Toast.LENGTH_SHORT).show();; 179 | // username=strs[2]; 180 | // Intent intent=new Intent(); 181 | // intent.putExtra("str", str); 182 | // intent.setClass(Login.this,MainActivity.class); 183 | // startActivity(intent); 184 | // }else{ 185 | // Toast.makeText(Login.this, "您输入的用户名或密码有误,请重新输入", Toast.LENGTH_LONG).show(); 186 | // } 187 | //} 188 | 189 | //class MyListener2 implements View.OnClickListener { 190 | //@Override 191 | // public void onClick(View v) { 192 | // Login.this.finish(); 193 | // } 194 | 195 | } 196 | // class MyListener3 implements CompoundButton.OnCheckedChangeListener { 197 | // 198 | // @Override 199 | // public void onCheckedChanged(CompoundButton buttonView, 200 | // boolean isChecked) { 201 | // if(checkbox1.isChecked()){ 202 | // sp.edit().putBoolean("ISCHECK", true).commit(); 203 | // }else { 204 | // sp.edit().putBoolean("ISCHECK", false).commit(); 205 | // } 206 | // 207 | // } 208 | // } 209 | } 210 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/fr/baimajidi/MyActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.fr.baimajidi; 2 | 3 | import android.app.Activity; 4 | import android.content.Intent; 5 | import android.os.Bundle; 6 | import android.os.Handler; 7 | import android.view.Window; 8 | import android.view.WindowManager; 9 | 10 | public class MyActivity extends Activity { 11 | 12 | private final int SPLASH_DISPLAY_LENGHT = 4000; // �ӳ�4�� 13 | @Override 14 | protected void onCreate(Bundle savedInstanceState) { 15 | super.onCreate(savedInstanceState); 16 | requestWindowFeature(Window.FEATURE_NO_TITLE); 17 | getWindow().setFlags(WindowManager.LayoutParams. FLAG_FULLSCREEN , 18 | WindowManager.LayoutParams. FLAG_FULLSCREEN); 19 | setContentView(R.layout.acitvity_layout); 20 | 21 | new Handler().postDelayed(new Runnable() { 22 | public void run() { 23 | Intent mainIntent = new Intent(MyActivity.this,Login.class); 24 | MyActivity.this.startActivity(mainIntent); 25 | overridePendingTransition(R.anim.zoommin, R.anim.zoomout); 26 | MyActivity.this.finish(); 27 | } 28 | }, SPLASH_DISPLAY_LENGHT); 29 | 30 | } 31 | } 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/fr/baimajidi/PrivilegeHelper.java: -------------------------------------------------------------------------------- 1 | package com.example.fr.baimajidi; 2 | 3 | import android.content.Context; 4 | import android.database.sqlite.SQLiteDatabase; 5 | import android.database.sqlite.SQLiteOpenHelper; 6 | import android.widget.Toast; 7 | 8 | /** 9 | * Created by Administrator on 2017/9/27 0027. 10 | */ 11 | 12 | public class PrivilegeHelper extends SQLiteOpenHelper { 13 | public static final int VERSION = 1; 14 | private Context mContext; 15 | 16 | public PrivilegeHelper(Context context, String name, SQLiteDatabase.CursorFactory factory, int version) { 17 | super(context, name, factory, version); 18 | mContext = context; 19 | } 20 | 21 | 22 | 23 | @Override 24 | public void onCreate(SQLiteDatabase db) { 25 | String sql = "create table privilege_table(id integer primary key autoincrement,user varchar(40),privilege text)"; 26 | db.execSQL(sql); 27 | // Toast.makeText(mContext,"数据库创建成功",Toast.LENGTH_LONG).show(); 28 | } 29 | 30 | @Override 31 | public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { 32 | 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/fr/baimajidi/send_ToService.java: -------------------------------------------------------------------------------- 1 | package com.example.fr.baimajidi; 2 | 3 | import java.io.ByteArrayOutputStream; 4 | import java.io.IOException; 5 | import java.io.InputStream; 6 | import java.io.OutputStream; 7 | import java.net.HttpURLConnection; 8 | import java.net.URL; 9 | 10 | 11 | public class send_ToService { 12 | 13 | public static String send_Message(String str){ 14 | // String path="http://192.168.43.134:8888/myApps"; 15 | // String path="http://192.168.127.200:8888/myApps"; 16 | String path="http://121.196.198.106:8888/myApps"; 17 | // String path="http://172.20.10.2:8888/myApps"; 18 | // String path="http://192.168.43.232:8888/myApps"; 19 | // String path="http://192.168.43.222:8888/myApps"; 20 | try { 21 | URL url =new URL(path); 22 | HttpURLConnection urlConn=(HttpURLConnection) url.openConnection(); 23 | urlConn.setConnectTimeout(5000); 24 | urlConn.setDoOutput(true); 25 | urlConn.setDoInput(true); 26 | urlConn.setRequestMethod("GET"); 27 | 28 | urlConn.setRequestProperty("Content-Type", "application/x-www-form-urlencoded"); 29 | //测试包内容����� 30 | String teststr=str; 31 | OutputStream out =urlConn.getOutputStream(); 32 | out.write(teststr.getBytes()); 33 | out.flush(); 34 | while(urlConn.getContentLength()!=-1){ 35 | int code=urlConn.getResponseCode(); 36 | if(code==200) //http状态返回码 为200,表示请求成功 37 | { 38 | //请求成功 39 | InputStream is=urlConn.getInputStream(); 40 | String text=readInputStream(is); 41 | 42 | is.close(); 43 | urlConn.disconnect(); 44 | return text; 45 | }else 46 | { 47 | return null; 48 | } 49 | } 50 | 51 | } catch (Exception e) { 52 | e.printStackTrace(); 53 | } 54 | return null; 55 | 56 | } 57 | 58 | 59 | public static String readInputStream(InputStream is) 60 | { 61 | try { 62 | ByteArrayOutputStream baos=new ByteArrayOutputStream();//声明缓冲区 63 | int len=0; 64 | byte []buffer =new byte[1024];// 定义读取默认长度 65 | if((len=is.read(buffer))!=-1) 66 | { 67 | baos.write(buffer,0,len);// 把缓冲区中输出到内存中 68 | } 69 | is.close(); 70 | baos.close(); 71 | byte[]result=baos.toByteArray(); // 返回这个输出流的字节数组 72 | String temp=new String(result); 73 | return temp; 74 | } catch (IOException e) { 75 | // TODO Auto-generated catch block 76 | e.printStackTrace(); 77 | return("服务器信息获取失败"); 78 | } 79 | } 80 | 81 | 82 | } 83 | -------------------------------------------------------------------------------- /app/src/main/res/anim/push_left_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/anim/push_left_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/anim/push_right_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/anim/push_right_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/anim/zoommin.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/anim/zoomout.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 14 | 15 | 19 | 20 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/a1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/a1.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/a2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/a2.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/a3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/a3.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/a4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/a4.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/add.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/agriculture1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/agriculture1.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/agriculture2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/agriculture2.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/agriculture3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/agriculture3.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/agriculture4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/agriculture4.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/anqi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/anqi.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/app_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/app_bg.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/background.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/background2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/background2.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/bangzhu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/bangzhu.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/bottom_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/bottom_bg.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/bottom_cam.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/bottom_cam.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/bottom_cam_bn_style.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/bottom_cam_d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/bottom_cam_d.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/bottom_home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/bottom_home.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/bottom_home_bn_style.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/bottom_home_d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/bottom_home_d.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/bottom_select_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/bottom_select_bg.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/bottom_shopping.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/bottom_shopping.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/bottom_shopping_bn_style.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/bottom_shopping_d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/bottom_shopping_d.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/bottom_show.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/bottom_show.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/bottom_show_bn_style.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/bottom_show_d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/bottom_show_d.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/bottom_style_bn_style.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/btn_check_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/btn_check_off.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/btn_check_off_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/btn_check_off_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/btn_check_off_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/btn_check_off_selected.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/btn_check_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/btn_check_on.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/btn_check_on_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/btn_check_on_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/btn_check_on_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/btn_check_on_selected.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/button3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/button3.gif -------------------------------------------------------------------------------- /app/src/main/res/drawable/click_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/click_background.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/clock_list.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/clock_list.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/clock_list_dddd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/clock_list_dddd.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/cloud.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/cloud.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/contact.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/contact.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/contact2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/contact2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/contact_select_list_style.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/contacts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/contacts.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/control.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/control.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/control2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/control2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/controlbackground1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/controlbackground1.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/decrease.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/decrease.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/default_pic_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/default_pic_1.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/default_pic_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/default_pic_2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/default_pic_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/default_pic_3.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/default_pic_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/default_pic_4.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/donghuaji.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/donghuaji.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/edit_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | xmlns:android="http://schemas.android.com/apk/res/android"> 4 | 5 | 8 | 10 | 13 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/eryanghuatan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/eryanghuatan.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/faceback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/faceback.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/fengsu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/fengsu.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/fengxiang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/fengxiang.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/gongneng.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/gongneng.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/guangzhao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/guangzhao.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/guanyu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/guanyu.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/home_bottom_style.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/home_img_ratio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/home_img_ratio.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/home_img_ratio_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/home_img_ratio_selected.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/home_img_ratio_selected1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/home_img_ratio_selected1.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/home_index_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/home_index_arrow.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/home_index_btn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/home_index_btn.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/home_index_btn_d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/home_index_btn_d.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/home_regist_bn_style.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/home_select_list_style.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/home_user_login_bn_style.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/index_browse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/index_browse.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/input_over.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/input_over.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/jiancha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/jiancha.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/jiangyu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/jiangyu.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/jiangyu2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/jiangyu2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/jijian.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/jijian.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/login_back.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/login_back.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/login_btn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/login_btn.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/login_btn_d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/login_btn_d.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/login_head.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/login_input.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/login_input.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/loginpic1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/loginpic1.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/logo2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/logo2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/njau2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/njau2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/njau3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/njau3.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/paint1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/paint1.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/paint2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/paint2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/pm25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/pm25.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/qq_btn_check.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/qq_edit_login.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/queding.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/queding.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ratio_img_style.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/register_btn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/register_btn.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/register_btn_d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/register_btn_d.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/returned.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/returned.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/returned_d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/returned_d.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/school.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/school.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/school2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/school2.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/school3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/school3.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/set_bn_style.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/set_title_btn.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_gradient1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_gradient2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_gradient3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_rectangle.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 18 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shidu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/shidu.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/shiwai.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/shiwai.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/soil.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/soil.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/sun.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/sun.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/temp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/temp.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/top_bar_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/top_bar_bg.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/top_bar_bg1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/top_bar_bg1.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/top_bar_set_btn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/top_bar_set_btn.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/top_bar_set_btn_d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/top_bar_set_btn_d.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/video1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/video1.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/video2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/video2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/video_btn1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/video_btn1.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/xinxichaxun.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/xinxichaxun.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/zhinengwenshi.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/zhinengwenshi.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/zhinengwenshi4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/zhinengwenshi4.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/zhinengwenshixin.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/zhinengwenshixin.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/zidongkongzhi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xhx503/jishe/fa2f75abe8e54bb28c9902e8de6d3f27ed642595/app/src/main/res/drawable/zidongkongzhi.png -------------------------------------------------------------------------------- /app/src/main/res/layout/about.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | 15 | 16 | 17 | 22 | 23 | 24 | 25 | " 26 | 27 | 28 | 29 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /app/src/main/res/layout/about_foot_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 12 | 13 | 20 | 21 | 22 | 28 | 29 | 36 | 37 | 38 | 44 | 45 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /app/src/main/res/layout/about_select_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 13 | 14 | 19 | 20 | 21 | 26 | 27 | 33 | 34 | 35 | 44 | 45 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /app/src/main/res/layout/about_title_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 |