diff --git a/app/src/main/java/com/bonait/bnframework/modules/home/fragment/GongnengFragment.java b/app/src/main/java/com/bonait/bnframework/modules/home/fragment/GongnengFragment.java index 43fbb6a1..5e7b84a4 100644 --- a/app/src/main/java/com/bonait/bnframework/modules/home/fragment/GongnengFragment.java +++ b/app/src/main/java/com/bonait/bnframework/modules/home/fragment/GongnengFragment.java @@ -19,6 +19,8 @@ import com.bonait.bnframework.common.message.MessageManager; import com.bonait.bnframework.common.utils.ToastUtils; import com.bonait.bnframework.modules.home.fragment.from.GoodPeiFangActivity; import com.bonait.bnframework.modules.home.fragment.from.JcsjglActivity; +import com.bonait.bnframework.modules.home.fragment.from.LogActivity; +import com.bonait.bnframework.modules.home.fragment.from.RealTimeActivity; import com.bonait.bnframework.modules.home.fragment.from.SilosActivity; import com.bonait.bnframework.modules.home.fragment.mode.caidan_control; import com.orhanobut.logger.Logger; @@ -58,7 +60,7 @@ public class GongnengFragment extends BaseFragment { private void initTopBar() { mTopBar.setTitle("功能菜单"); } - @OnClick({R.id.jcsjgl,R.id.lcgl,R.id.yfpf}) + @OnClick({R.id.jcsjgl,R.id.lcgl,R.id.yfpf,R.id.log,R.id.ssjk}) public void onViewClicked(View view) { switch (view.getId()) { case R.id.jcsjgl:// @@ -73,6 +75,14 @@ public class GongnengFragment extends BaseFragment { skipToActivity(GoodPeiFangActivity.class); //ConfigName.getInstance().fragmentAdapter.replaceFragment(0,new GoodPeiFangActivity()); break; + case R.id.log:// + skipToActivity(LogActivity.class); + //ConfigName.getInstance().fragmentAdapter.replaceFragment(0,new GoodPeiFangActivity()); + break; + case R.id.ssjk:// + skipToActivity(RealTimeActivity.class); + //ConfigName.getInstance().fragmentAdapter.replaceFragment(0,new GoodPeiFangActivity()); + break; } } diff --git a/app/src/main/java/com/bonait/bnframework/modules/home/fragment/SheZhifragment.java b/app/src/main/java/com/bonait/bnframework/modules/home/fragment/SheZhifragment.java index f970153a..9a2d5974 100644 --- a/app/src/main/java/com/bonait/bnframework/modules/home/fragment/SheZhifragment.java +++ b/app/src/main/java/com/bonait/bnframework/modules/home/fragment/SheZhifragment.java @@ -56,9 +56,12 @@ public class SheZhifragment extends BaseFragment { mTopBar.setTitle("订单管理"); } - @OnClick({R.id.xtcs,R.id.imagegl,R.id.shebeixinxi}) + @OnClick({R.id.plckz,R.id.xtcs,R.id.imagegl,R.id.shebeixinxi}) public void onViewClicked(View view) { switch (view.getId()) { + case R.id.plckz:// + skipToActivity(PlcControlActivity.class); + break; case R.id.xtcs:// skipToActivity(SystemParameterActivity.class); break; diff --git a/app/src/main/res/drawable/goodpf_bj.xml b/app/src/main/res/drawable/goodpf_bj.xml new file mode 100644 index 00000000..61518654 --- /dev/null +++ b/app/src/main/res/drawable/goodpf_bj.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/jcsjgl_bj.xml b/app/src/main/res/drawable/jcsjgl_bj.xml new file mode 100644 index 00000000..db6c7ca2 --- /dev/null +++ b/app/src/main/res/drawable/jcsjgl_bj.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/log_bj.xml b/app/src/main/res/drawable/log_bj.xml new file mode 100644 index 00000000..1e727544 --- /dev/null +++ b/app/src/main/res/drawable/log_bj.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/silos_bj.xml b/app/src/main/res/drawable/silos_bj.xml new file mode 100644 index 00000000..7049fabe --- /dev/null +++ b/app/src/main/res/drawable/silos_bj.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/spinner_border.xml b/app/src/main/res/drawable/spinner_border.xml index 1b1c2115..161f284e 100644 --- a/app/src/main/res/drawable/spinner_border.xml +++ b/app/src/main/res/drawable/spinner_border.xml @@ -1,9 +1,14 @@ - - + + @@ -18,6 +23,8 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/activity_log.xml b/app/src/main/res/layout/activity_log.xml index 02218580..219f0479 100644 --- a/app/src/main/res/layout/activity_log.xml +++ b/app/src/main/res/layout/activity_log.xml @@ -15,6 +15,7 @@ android:layout_height="match_parent" > @@ -24,7 +25,7 @@ android:orientation="vertical"> + android:layout_height="30dp"> @@ -111,8 +112,8 @@ android:orientation="vertical"> + android:background="@color/datatab_tab" + android:layout_height="36dp"> + android:textAlignment="center" + android:textStyle="bold" + android:textColor="@color/white" /> + android:layout_weight="1"> + android:textAlignment="center" + android:textStyle="bold" + android:textColor="@color/white"/> + android:textAlignment="center" + android:textStyle="bold" + android:textColor="@color/white"/> @@ -175,9 +179,6 @@ android:id="@+id/datatab" android:layout_width="match_parent" android:layout_height="match_parent" - android:divider="#00000000" - android:dividerHeight="3dp" - android:layout_marginTop="3dp" /> diff --git a/app/src/main/res/layout/activity_orderlist.xml b/app/src/main/res/layout/activity_orderlist.xml index 77fa62f0..90a33f74 100644 --- a/app/src/main/res/layout/activity_orderlist.xml +++ b/app/src/main/res/layout/activity_orderlist.xml @@ -16,7 +16,8 @@ > + android:layout_height="match_parent" + android:layout_margin="10dp"> + android:layout_height="30dp"> + android:layout_height="26dp" /> + android:layout_height="36dp" + android:background="@color/datatab_tab"> + android:textAlignment="center" + android:textStyle="bold" + android:textColor="@color/white" /> + android:textAlignment="center" + android:textStyle="bold" + android:textColor="@color/white"/> + android:textAlignment="center" + android:textStyle="bold" + android:textColor="@color/white" /> + android:textAlignment="center" + android:textStyle="bold" + android:textColor="@color/white" /> + android:textAlignment="center" + android:textStyle="bold" + android:textColor="@color/white" /> @@ -224,10 +235,7 @@ + android:layout_height="match_parent"/> diff --git a/app/src/main/res/layout/activity_realtime.xml b/app/src/main/res/layout/activity_realtime.xml index 62b9f26e..2dfe13c8 100644 --- a/app/src/main/res/layout/activity_realtime.xml +++ b/app/src/main/res/layout/activity_realtime.xml @@ -21,6 +21,7 @@ tools:ignore="Suspicious0dp"> diff --git a/app/src/main/res/layout/activity_salesstatistics.xml b/app/src/main/res/layout/activity_salesstatistics.xml index 4a8a0bc5..e2ece6c1 100644 --- a/app/src/main/res/layout/activity_salesstatistics.xml +++ b/app/src/main/res/layout/activity_salesstatistics.xml @@ -16,7 +16,8 @@ > + android:layout_height="match_parent" + android:layout_margin="10dp"> + android:layout_height="30dp"> @@ -88,8 +89,8 @@ + android:layout_height="36dp" + android:background="@color/datatab_tab"> + android:textAlignment="center" + android:textStyle="bold" + android:textColor="@color/white"/> + android:textAlignment="center" + android:textStyle="bold" + android:textColor="@color/white" /> + android:textAlignment="center" + android:textStyle="bold" + android:textColor="@color/white" /> + android:textAlignment="center" + android:textStyle="bold" + android:textColor="@color/white" /> @@ -170,10 +179,7 @@ + android:layout_height="match_parent" /> diff --git a/app/src/main/res/layout/datatab/layout/ddgl_item.xml b/app/src/main/res/layout/datatab/layout/ddgl_item.xml index c2fdbd2a..3e9c9e65 100644 --- a/app/src/main/res/layout/datatab/layout/ddgl_item.xml +++ b/app/src/main/res/layout/datatab/layout/ddgl_item.xml @@ -5,7 +5,6 @@ android:layout_height="match_parent" android:orientation="horizontal"> + android:layout_centerInParent="true" + android:textAlignment="center" + android:textColor="@color/black" + android:textSize="12dp" /> + android:textAlignment="center" + android:textColor="@color/black" + android:textSize="12dp" /> diff --git a/app/src/main/res/layout/datatab/layout/ddtj_item.xml b/app/src/main/res/layout/datatab/layout/ddtj_item.xml index 0beb60aa..cc2ebae1 100644 --- a/app/src/main/res/layout/datatab/layout/ddtj_item.xml +++ b/app/src/main/res/layout/datatab/layout/ddtj_item.xml @@ -5,7 +5,6 @@ android:layout_height="match_parent" android:orientation="horizontal"> + android:textAlignment="center" + android:textColor="@color/black" + android:textSize="12dp" /> + android:textAlignment="center" + android:textColor="@color/black" + android:textSize="12dp" /> + android:textAlignment="center" + android:textColor="@color/black" + android:textSize="12dp" /> + android:textAlignment="center" + android:textColor="@color/black" + android:textSize="12dp" /> diff --git a/app/src/main/res/layout/datatab/layout/yjrz_item.xml b/app/src/main/res/layout/datatab/layout/yjrz_item.xml index af1e95f6..bac3ec4e 100644 --- a/app/src/main/res/layout/datatab/layout/yjrz_item.xml +++ b/app/src/main/res/layout/datatab/layout/yjrz_item.xml @@ -5,7 +5,6 @@ android:layout_height="match_parent" android:orientation="horizontal"> --> + + diff --git a/app/src/main/res/layout/fragment_gongneng.xml b/app/src/main/res/layout/fragment_gongneng.xml index 71e4b7f6..d59bab31 100644 --- a/app/src/main/res/layout/fragment_gongneng.xml +++ b/app/src/main/res/layout/fragment_gongneng.xml @@ -5,51 +5,242 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/app_color_blue"> - - + android:layout_height="match_parent" + android:layout_marginBottom="30dp"> - + android:layout_weight="1"> - + android:orientation="vertical"> - + + + + + + + + - + + + + + + + + + + + + - + android:orientation="vertical"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + android:background="@color/app_color_blue" /> \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_jcsjgl_sxgl.xml b/app/src/main/res/layout/fragment_jcsjgl_sxgl.xml index a4af8ea9..4492b59f 100644 --- a/app/src/main/res/layout/fragment_jcsjgl_sxgl.xml +++ b/app/src/main/res/layout/fragment_jcsjgl_sxgl.xml @@ -48,9 +48,8 @@ android:layout_marginLeft="@dimen/dp_10" android:background="@drawable/bg_btn_login_selected" android:text="+增加属性" - android:textSize="14dp" android:textColor="@color/white" - /> + android:textSize="14dp" /> +