diff --git a/.idea/misc.xml b/.idea/misc.xml index 54207cd..7158618 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -37,10 +37,26 @@ - + + + + + + 1.8 + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml index efc9df2..f0a6a7c 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -2,10 +2,9 @@ - - + \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index cda7bde..08c90eb 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -27,33 +27,34 @@ dependencies { androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) - compile 'com.android.support:appcompat-v7:26.+' - testCompile 'junit:junit:4.12' ///< 黄油刀 - compile 'com.jakewharton:butterknife:8.4.0' - apt 'com.jakewharton:butterknife-compiler:8.4.0' ///< 图片加载 + ///< 广播 + ///< 友盟 + ///< 动态权限 + ///< 数据库 + ///< 二维码扫描 + ///< 轮播图 + compile project(':jsonrpc') + ///< 图表工具 + ///< 时间选择器 + compile 'com.android.support:appcompat-v7:26.+' + compile 'com.jakewharton:butterknife:8.4.0' compile 'com.github.bumptech.glide:glide:3.7.0' compile 'com.android.support:support-v4:26.0.0-alpha1' compile 'com.android.support:design:26.0.0-alpha1' - ///< 广播 compile 'org.greenrobot:eventbus:3.0.0' - ///< 友盟 compile 'com.umeng.analytics:analytics:latest.integration' - ///< 动态权限 compile 'pub.devrel:easypermissions:0.2.1' compile 'com.google.code.gson:gson:2.8.1' - ///< 数据库 compile 'org.litepal.android:core:1.3.0' - ///< 二维码扫描 compile 'com.journeyapps:zxing-android-embedded:3.5.0' compile 'com.google.zxing:core:3.3.0' - ///< 轮播图 compile 'com.youth.banner:banner:1.4.10' - compile project(':jsonrpc') compile 'com.android.support:cardview-v7:26.0.0-alpha1' - ///< 图表工具 compile 'com.github.lecho:hellocharts-library:1.5.8@aar' - ///< 时间选择器 compile 'com.prolificinteractive:material-calendarview:1.4.0' + compile 'com.android.support.constraint:constraint-layout:1.0.2' + testCompile 'junit:junit:4.12' + apt 'com.jakewharton:butterknife-compiler:8.4.0' } diff --git a/app/src/main/res/layout/act_carsmanage.xml b/app/src/main/res/layout/act_carsmanage.xml new file mode 100644 index 0000000..88929fe --- /dev/null +++ b/app/src/main/res/layout/act_carsmanage.xml @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/act_datanaly_s.xml b/app/src/main/res/layout/act_datanaly_s.xml new file mode 100644 index 0000000..915ef90 --- /dev/null +++ b/app/src/main/res/layout/act_datanaly_s.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/act_datanalysis.xml b/app/src/main/res/layout/act_datanalysis.xml new file mode 100644 index 0000000..d6cb79d --- /dev/null +++ b/app/src/main/res/layout/act_datanalysis.xml @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/act_scanresult.xml b/app/src/main/res/layout/act_scanresult.xml index f14841a..bf15292 100644 --- a/app/src/main/res/layout/act_scanresult.xml +++ b/app/src/main/res/layout/act_scanresult.xml @@ -1,8 +1,28 @@ + android:layout_height="match_parent" + android:background="@color/greyf4f4f4" + android:orientation="vertical"> + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/act_warning.xml b/app/src/main/res/layout/act_warning.xml new file mode 100644 index 0000000..b0d1105 --- /dev/null +++ b/app/src/main/res/layout/act_warning.xml @@ -0,0 +1,19 @@ + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/activity_mine_info.xml b/app/src/main/res/layout/activity_mine_info.xml new file mode 100644 index 0000000..3cf5b92 --- /dev/null +++ b/app/src/main/res/layout/activity_mine_info.xml @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/activity_setting.xml b/app/src/main/res/layout/activity_setting.xml new file mode 100644 index 0000000..5d306e0 --- /dev/null +++ b/app/src/main/res/layout/activity_setting.xml @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/calendar_dialog_basic.xml b/app/src/main/res/layout/calendar_dialog_basic.xml new file mode 100644 index 0000000..5ae1bce --- /dev/null +++ b/app/src/main/res/layout/calendar_dialog_basic.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/content_mine_info.xml b/app/src/main/res/layout/content_mine_info.xml new file mode 100644 index 0000000..7b812e2 --- /dev/null +++ b/app/src/main/res/layout/content_mine_info.xml @@ -0,0 +1,11 @@ + + + + diff --git a/app/src/main/res/layout/fragment_chicks.xml b/app/src/main/res/layout/fragment_chicks.xml new file mode 100644 index 0000000..03669bb --- /dev/null +++ b/app/src/main/res/layout/fragment_chicks.xml @@ -0,0 +1,14 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_feed.xml b/app/src/main/res/layout/fragment_feed.xml new file mode 100644 index 0000000..86d2066 --- /dev/null +++ b/app/src/main/res/layout/fragment_feed.xml @@ -0,0 +1,10 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_grosschicken.xml b/app/src/main/res/layout/fragment_grosschicken.xml new file mode 100644 index 0000000..166cabd --- /dev/null +++ b/app/src/main/res/layout/fragment_grosschicken.xml @@ -0,0 +1,14 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_work.xml b/app/src/main/res/layout/fragment_work.xml index bd6b3ef..a2718c2 100644 --- a/app/src/main/res/layout/fragment_work.xml +++ b/app/src/main/res/layout/fragment_work.xml @@ -13,9 +13,9 @@ + android:layout_height="50dp" + android:src="@drawable/rouqin_3x" /> + android:layout_marginTop="@dimen/dp_5" + android:text="@string/work_tablepoultry" + android:textSize="@dimen/text_size_14" /> diff --git a/app/src/main/res/layout/include_tool_bar_white.xml b/app/src/main/res/layout/include_tool_bar_white.xml new file mode 100644 index 0000000..9f1519a --- /dev/null +++ b/app/src/main/res/layout/include_tool_bar_white.xml @@ -0,0 +1,17 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/item_factry.xml b/app/src/main/res/layout/item_factry.xml new file mode 100644 index 0000000..ac4aa38 --- /dev/null +++ b/app/src/main/res/layout/item_factry.xml @@ -0,0 +1,18 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/item_infos.xml b/app/src/main/res/layout/item_infos.xml new file mode 100644 index 0000000..e15aeb4 --- /dev/null +++ b/app/src/main/res/layout/item_infos.xml @@ -0,0 +1,254 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/item_warning.xml b/app/src/main/res/layout/item_warning.xml new file mode 100644 index 0000000..c19d786 --- /dev/null +++ b/app/src/main/res/layout/item_warning.xml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index c75f07d..8ab6ebd 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -29,6 +29,7 @@ #303030 #d92828 #00000000 + #02aa3e diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 2bd9689..920115f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -10,6 +10,7 @@ 种禽 车辆管理 扫一扫 + 肉禽 功能区 日期: 供货商: @@ -17,7 +18,20 @@ 司机: 司机 数量: + 车牌号: + 联系方式: + 批次: + 厂址: + 时间: + 免疫: + 均匀度: + 起始时间: + 到达时间: 请给予应用打开摄像头权限 请给予应用获取手机状态权限 MineInfoActivity + 鸡苗 + 毛鸡 + 饲料 + diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 3ad354a..c5753b0 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -31,6 +31,13 @@ @dimen/text_size_20 + +