主页UI
This commit is contained in:
@ -79,19 +79,19 @@ public class MainActivity extends AppCompatActivity implements View.OnClickListe
|
|||||||
tv_pro = findViewById(R.id.moudle_main_activity_tv_pro);
|
tv_pro = findViewById(R.id.moudle_main_activity_tv_pro);
|
||||||
tv_self = findViewById(R.id.moudle_main_activity_tv_self);
|
tv_self = findViewById(R.id.moudle_main_activity_tv_self);
|
||||||
changeTab(tv_main);
|
changeTab(tv_main);
|
||||||
iv_main.setImageResource(R.mipmap.moudle_tab_main_full);
|
iv_main.setImageResource(R.drawable.ic_tab_main_full);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void changeTab(TextView tv) {
|
private void changeTab(TextView tv) {
|
||||||
iv_main.setImageResource(R.mipmap.moudle_tab_main_empty);
|
iv_main.setImageResource(R.drawable.ic_tab_main_empty);
|
||||||
iv_fault.setImageResource(R.mipmap.moudle_tab_fault_empty);
|
iv_fault.setImageResource(R.drawable.ic_tab_fault_empty);
|
||||||
iv_pro.setImageResource(R.mipmap.moudle_tab_pro_empty);
|
iv_pro.setImageResource(R.drawable.ic_tab_pro_empty);
|
||||||
iv_self.setImageResource(R.mipmap.moudle_tab_self_empty);
|
iv_self.setImageResource(R.drawable.ic_tab_self_empty);
|
||||||
tv_main.setTextColor(getResources().getColor(R.color.tab_text_gray));
|
tv_main.setTextColor(getResources().getColor(R.color.tab_text_gray));
|
||||||
tv_fault.setTextColor(getResources().getColor(R.color.tab_text_gray));
|
tv_fault.setTextColor(getResources().getColor(R.color.tab_text_gray));
|
||||||
tv_pro.setTextColor(getResources().getColor(R.color.tab_text_gray));
|
tv_pro.setTextColor(getResources().getColor(R.color.tab_text_gray));
|
||||||
tv_self.setTextColor(getResources().getColor(R.color.tab_text_gray));
|
tv_self.setTextColor(getResources().getColor(R.color.tab_text_gray));
|
||||||
tv.setTextColor(getResources().getColor(R.color.black));
|
tv.setTextColor(getResources().getColor(R.color.main_theme_color));
|
||||||
}
|
}
|
||||||
|
|
||||||
private void replaceFragment(Fragment fragment){
|
private void replaceFragment(Fragment fragment){
|
||||||
@ -107,22 +107,22 @@ public class MainActivity extends AppCompatActivity implements View.OnClickListe
|
|||||||
case R.id.moudle_main_activity_rl_main:
|
case R.id.moudle_main_activity_rl_main:
|
||||||
replaceFragment(new MainFragment());
|
replaceFragment(new MainFragment());
|
||||||
changeTab(tv_main);
|
changeTab(tv_main);
|
||||||
iv_main.setImageResource(R.mipmap.moudle_tab_main_full);
|
iv_main.setImageResource(R.drawable.ic_tab_main_full);
|
||||||
break;
|
break;
|
||||||
case R.id.moudle_main_activity_rl_falut:
|
case R.id.moudle_main_activity_rl_falut:
|
||||||
replaceFragment(new FaultFragment());
|
replaceFragment(new FaultFragment());
|
||||||
changeTab(tv_fault);
|
changeTab(tv_fault);
|
||||||
iv_fault.setImageResource(R.mipmap.moudle_tab_fault_full);
|
iv_fault.setImageResource(R.drawable.ic_tab_fault_full);
|
||||||
break;
|
break;
|
||||||
case R.id.moudle_main_activity_rl_pro:
|
case R.id.moudle_main_activity_rl_pro:
|
||||||
replaceFragment(new ProMFragment());
|
replaceFragment(new ProMFragment());
|
||||||
changeTab(tv_pro);
|
changeTab(tv_pro);
|
||||||
iv_pro.setImageResource(R.mipmap.moudle_tab_pro_full);
|
iv_pro.setImageResource(R.drawable.ic_tab_pro_full);
|
||||||
break;
|
break;
|
||||||
case R.id.moudle_main_activity_rl_self:
|
case R.id.moudle_main_activity_rl_self:
|
||||||
replaceFragment(new FifthFragment());
|
replaceFragment(new FifthFragment());
|
||||||
changeTab(tv_self);
|
changeTab(tv_self);
|
||||||
iv_self.setImageResource(R.mipmap.moudle_tab_self_full);
|
iv_self.setImageResource(R.drawable.ic_tab_self_full);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
9
app/src/main/res/drawable/bg_main_header.xml
Normal file
9
app/src/main/res/drawable/bg_main_header.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<gradient
|
||||||
|
android:angle="135"
|
||||||
|
android:startColor="#009688"
|
||||||
|
android:endColor="#004D40"
|
||||||
|
android:type="linear" />
|
||||||
|
<corners android:bottomLeftRadius="20dp" android:bottomRightRadius="20dp"/>
|
||||||
|
</shape>
|
||||||
9
app/src/main/res/drawable/ic_home_curve_scheme.xml
Normal file
9
app/src/main/res/drawable/ic_home_curve_scheme.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="#009688"
|
||||||
|
android:pathData="M3,17v2h6v-2H3zM3,5v2h10V5H3zm10,16v-2h8v-2h-8v-2h-2v6h2zM7,9v2H3v2h4v2h2V9H7zm14,4v-2H11v2h10zm-6,-4h2V7h4V5h-4V3h-2v6z"/>
|
||||||
|
</vector>
|
||||||
9
app/src/main/res/drawable/ic_home_device_query.xml
Normal file
9
app/src/main/res/drawable/ic_home_device_query.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="#009688"
|
||||||
|
android:pathData="M15.5,14h-0.79l-0.28,-0.27C15.41,12.59 16,11.11 16,9.5 16,5.91 13.09,3 9.5,3S3,5.91 3,9.5 5.91,16 9.5,16c1.61,0 3.09,-0.59 4.23,-1.57l0.27,0.28v0.79l5,4.99L20.49,19l-4.99,-5zm-6,0C7.01,14 5,11.99 5,9.5S7.01,5 9.5,5 14,7.01 14,9.5 11.99,14 9.5,14z"/>
|
||||||
|
</vector>
|
||||||
9
app/src/main/res/drawable/ic_home_factory_report.xml
Normal file
9
app/src/main/res/drawable/ic_home_factory_report.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="#009688"
|
||||||
|
android:pathData="M19,3H5c-1.1,0 -2,0.9 -2,2v14c0,1.1 0.9,2 2,2h14c1.1,0 2,-0.9 2,-2V5c0,-1.1 -0.9,-2 -2,-2zM9,17H7v-7h2v7zm4,0h-2V7h2v10zm4,0h-2v-4h2v4z"/>
|
||||||
|
</vector>
|
||||||
9
app/src/main/res/drawable/ic_home_fault_report.xml
Normal file
9
app/src/main/res/drawable/ic_home_fault_report.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="#009688"
|
||||||
|
android:pathData="M1,21h22L12,2 1,21zm12,-3h-2v-2h2v2zm0,-4h-2v-4h2v4z"/>
|
||||||
|
</vector>
|
||||||
9
app/src/main/res/drawable/ic_home_history_alarm.xml
Normal file
9
app/src/main/res/drawable/ic_home_history_alarm.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="#009688"
|
||||||
|
android:pathData="M12,22c1.1,0 2,-0.9 2,-2h-4c0,1.1 0.9,2 2,2zm6,-6v-5c0,-3.07 -1.63,-5.64 -4.5,-6.32V4c0,-0.83 -0.67,-1.5 -1.5,-1.5s-1.5,0.67 -1.5,1.5v0.68C7.64,5.36 6,7.92 6,11v5l-2,2v1h16v-1l-2,-2zm-2,1H8v-6c0,-2.48 1.51,-4.5 4,-4.5s4,2.02 4,4.5v6z"/>
|
||||||
|
</vector>
|
||||||
9
app/src/main/res/drawable/ic_home_monitor_screen.xml
Normal file
9
app/src/main/res/drawable/ic_home_monitor_screen.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="#009688"
|
||||||
|
android:pathData="M20,3H4c-1.1,0 -2,0.9 -2,2v10c0,1.1 0.9,2 2,2h6v2H8v2h8v-2h-2v-2h6c1.1,0 2,-0.9 2,-2V5c0,-1.1 -0.9,-2 -2,-2zm0,12H4V5h16v10z"/>
|
||||||
|
</vector>
|
||||||
9
app/src/main/res/drawable/ic_home_multi_curve.xml
Normal file
9
app/src/main/res/drawable/ic_home_multi_curve.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="#009688"
|
||||||
|
android:pathData="M3.5,18.49l6,-6.01 4,4L22,6.92l-1.41,-1.41 -7.09,7.97 -4,-4L2,16.99z"/>
|
||||||
|
</vector>
|
||||||
9
app/src/main/res/drawable/ic_home_patrol.xml
Normal file
9
app/src/main/res/drawable/ic_home_patrol.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="#009688"
|
||||||
|
android:pathData="M12,2C8.13,2 5,5.13 5,9c0,5.25 7,13 7,13s7-7.75 7-13c0-3.87-3.13-7-7-7z M12,11.5c-1.38,0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5,1.12 2.5,2.5-1.12,2.5-2.5,2.5z"/>
|
||||||
|
</vector>
|
||||||
9
app/src/main/res/drawable/ic_home_task_all.xml
Normal file
9
app/src/main/res/drawable/ic_home_task_all.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="#FFFFFF"
|
||||||
|
android:pathData="M19,3h-4.18C14.4,1.84,13.3,1,12,1c-1.3,0-2.4,0.84-2.82,2H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V5C21,3.9,20.1,3,19,3z M12,3c0.55,0,1,0.45,1,1s-0.45,1-1,1s-1-0.45-1-1S11.45,3,12,3z M14,17H7v-2h7V17z M17,13H7v-2h10V13z M17,9H7V7h10V9z"/>
|
||||||
|
</vector>
|
||||||
9
app/src/main/res/drawable/ic_home_task_com.xml
Normal file
9
app/src/main/res/drawable/ic_home_task_com.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="#FFFFFF"
|
||||||
|
android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10-4.48 10-10S17.52,2 12,2z M10,17l-5-5 1.41-1.41L10,14.17l7.59-7.59L19,8l-9,9z"/>
|
||||||
|
</vector>
|
||||||
9
app/src/main/res/drawable/ic_home_task_uncom.xml
Normal file
9
app/src/main/res/drawable/ic_home_task_uncom.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="#FFFFFF"
|
||||||
|
android:pathData="M6,2v6h.01L6,8.01 10,12l-4,4 .01.01H6V22h12v-5.99h-.01L18,16l-4-4 4-3.99-.01-.01H18V2H6z M16,16.5V20H8v-3.5l4-4 4,4z"/>
|
||||||
|
</vector>
|
||||||
9
app/src/main/res/drawable/ic_tab_fault_empty.xml
Normal file
9
app/src/main/res/drawable/ic_tab_fault_empty.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="#757575"
|
||||||
|
android:pathData="M3,13h2v-2H3v2zm0,4h2v-2H3v2zm0,-8h2V7H3v2zm4,4h14v-2H7v2zm0,4h14v-2H7v2zM7,7v2h14V7H7z"/>
|
||||||
|
</vector>
|
||||||
9
app/src/main/res/drawable/ic_tab_fault_full.xml
Normal file
9
app/src/main/res/drawable/ic_tab_fault_full.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="#009688"
|
||||||
|
android:pathData="M3,13h2v-2H3v2zm0,4h2v-2H3v2zm0,-8h2V7H3v2zm4,4h14v-2H7v2zm0,4h14v-2H7v2zM7,7v2h14V7H7z"/>
|
||||||
|
</vector>
|
||||||
9
app/src/main/res/drawable/ic_tab_main_empty.xml
Normal file
9
app/src/main/res/drawable/ic_tab_main_empty.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="#757575"
|
||||||
|
android:pathData="M12,5.69l5,4.5V18h-2v-6H9v6H7v-7.81L12,5.69M12,3L2,12h3v8h6v-6h2v6h6v-8h3L12,3L12,3z"/>
|
||||||
|
</vector>
|
||||||
9
app/src/main/res/drawable/ic_tab_main_full.xml
Normal file
9
app/src/main/res/drawable/ic_tab_main_full.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="#009688"
|
||||||
|
android:pathData="M10,20v-6h4v6h5v-8h3L12,3 2,12h3v8z"/>
|
||||||
|
</vector>
|
||||||
9
app/src/main/res/drawable/ic_tab_pro_empty.xml
Normal file
9
app/src/main/res/drawable/ic_tab_pro_empty.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="#757575"
|
||||||
|
android:pathData="M19,3H5c-1.1,0 -2,0.9 -2,2v14c0,1.1 0.9,2 2,2h14c1.1,0 2,-0.9 2,-2V5c0,-1.1 -0.9,-2 -2,-2zM19,19H5V5h14v14zM7,10h2v7H7zm4,-3h2v10h-2zm4,6h2v4h-2z"/>
|
||||||
|
</vector>
|
||||||
9
app/src/main/res/drawable/ic_tab_pro_full.xml
Normal file
9
app/src/main/res/drawable/ic_tab_pro_full.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="#009688"
|
||||||
|
android:pathData="M19,3H5c-1.1,0 -2,0.9 -2,2v14c0,1.1 0.9,2 2,2h14c1.1,0 2,-0.9 2,-2V5c0,-1.1 -0.9,-2 -2,-2zM9,17H7v-7h2v7zm4,0h-2V7h2v10zm4,0h-2v-4h2v4z"/>
|
||||||
|
</vector>
|
||||||
9
app/src/main/res/drawable/ic_tab_self_empty.xml
Normal file
9
app/src/main/res/drawable/ic_tab_self_empty.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="#757575"
|
||||||
|
android:pathData="M12,6c1.1,0 2,0.9 2,2s-0.9,2 -2,2 -2,-0.9 -2,-2 0.9,-2 2,-2m0,10c2.7,0 5.8,1.29 6,2H6c0.23,-0.72 3.31,-2 6,-2m0,-12C9.79,4 8,5.79 8,8s1.79,4 4,4 4,-1.79 4,-4 -1.79,-4 -4,-4zm0,10c-2.67,0 -8,1.34 -8,4v2h16v-2c0,-2.66 -5.33,-4 -8,-4z"/>
|
||||||
|
</vector>
|
||||||
9
app/src/main/res/drawable/ic_tab_self_full.xml
Normal file
9
app/src/main/res/drawable/ic_tab_self_full.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="#009688"
|
||||||
|
android:pathData="M12,12c2.21,0 4,-1.79 4,-4s-1.79,-4 -4,-4 -4,1.79 -4,4 1.79,4 4,4zm0,2c-2.67,0 -8,1.34 -8,4v2h16v-2c0,-2.66 -5.33,-4 -8,-4z"/>
|
||||||
|
</vector>
|
||||||
7
app/src/main/res/drawable/shape_bg_little_green.xml
Normal file
7
app/src/main/res/drawable/shape_bg_little_green.xml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<!-- 设置按钮的四个角为弧形 -->
|
||||||
|
<!-- android:radius 弧形的半径 -->
|
||||||
|
<corners android:radius="22dp" />
|
||||||
|
<solid android:color="#E0F2F1"/>
|
||||||
|
</shape>
|
||||||
@ -16,8 +16,8 @@
|
|||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="160dp"
|
android:layout_height="180dp"
|
||||||
android:background="@mipmap/moudle_main_title_bg" />
|
android:background="@drawable/bg_main_header" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/moudle_fg_main_ll_top"
|
android:id="@+id/moudle_fg_main_ll_top"
|
||||||
@ -104,7 +104,7 @@
|
|||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="30dp"
|
android:layout_width="30dp"
|
||||||
android:layout_height="30dp"
|
android:layout_height="30dp"
|
||||||
android:src="@mipmap/moudle_all_count" />
|
android:src="@drawable/ic_home_task_all" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@ -149,7 +149,7 @@
|
|||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="30dp"
|
android:layout_width="30dp"
|
||||||
android:layout_height="30dp"
|
android:layout_height="30dp"
|
||||||
android:src="@mipmap/moudle_uncom_count" />
|
android:src="@drawable/ic_home_task_uncom" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@ -194,7 +194,7 @@
|
|||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="30dp"
|
android:layout_width="30dp"
|
||||||
android:layout_height="30dp"
|
android:layout_height="30dp"
|
||||||
android:src="@mipmap/moudle_com_count" />
|
android:src="@drawable/ic_home_task_com" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@ -244,10 +244,10 @@
|
|||||||
<TextView
|
<TextView
|
||||||
android:layout_width="73dp"
|
android:layout_width="73dp"
|
||||||
android:layout_height="38dp"
|
android:layout_height="38dp"
|
||||||
android:background="@drawable/shape_bg_little_blue"
|
android:background="@drawable/shape_bg_little_green"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="已接班"
|
android:text="已接班"
|
||||||
android:textColor="#325CFF"
|
android:textColor="@color/main_theme_color"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
@ -297,10 +297,10 @@
|
|||||||
<TextView
|
<TextView
|
||||||
android:layout_width="105dp"
|
android:layout_width="105dp"
|
||||||
android:layout_height="23dp"
|
android:layout_height="23dp"
|
||||||
android:background="@drawable/shape_bg_little_blue"
|
android:background="@drawable/shape_bg_little_green"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="查看交接内容"
|
android:text="查看交接内容"
|
||||||
android:textColor="#2748f1"
|
android:textColor="@color/main_theme_color"
|
||||||
android:textSize="12sp" />
|
android:textSize="12sp" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@ -386,7 +386,7 @@
|
|||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="0.6"
|
android:layout_weight="0.6"
|
||||||
android:padding="1dp"
|
android:padding="1dp"
|
||||||
android:src="@mipmap/moudle_fg_main_patrol" />
|
android:src="@drawable/ic_home_patrol" />
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -476,7 +476,7 @@
|
|||||||
android:paddingRight="4dp"
|
android:paddingRight="4dp"
|
||||||
android:paddingTop="5dp"
|
android:paddingTop="5dp"
|
||||||
android:paddingBottom="2dp"
|
android:paddingBottom="2dp"
|
||||||
android:src="@mipmap/moudle_fg_main_fault" />
|
android:src="@drawable/ic_home_fault_report" />
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -519,7 +519,7 @@
|
|||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="0.6"
|
android:layout_weight="0.6"
|
||||||
android:padding="2dp"
|
android:padding="2dp"
|
||||||
android:src="@mipmap/moudle_fg_main_statement" />
|
android:src="@drawable/ic_home_factory_report" />
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -565,7 +565,7 @@
|
|||||||
android:paddingRight="4dp"
|
android:paddingRight="4dp"
|
||||||
android:paddingTop="5dp"
|
android:paddingTop="5dp"
|
||||||
android:paddingBottom="2dp"
|
android:paddingBottom="2dp"
|
||||||
android:src="@mipmap/moudle_fg_main_equ_adj" />
|
android:src="@drawable/ic_home_monitor_screen" />
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -619,7 +619,7 @@
|
|||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="0.6"
|
android:layout_weight="0.6"
|
||||||
android:padding="2dp"
|
android:padding="2dp"
|
||||||
android:src="@mipmap/moudle_fg_main_alarm" />
|
android:src="@drawable/ic_home_history_alarm" />
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -662,7 +662,7 @@
|
|||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="0.6"
|
android:layout_weight="0.6"
|
||||||
android:padding="3dp"
|
android:padding="3dp"
|
||||||
android:src="@mipmap/moudle_fg_main_file" />
|
android:src="@drawable/ic_home_multi_curve" />
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -705,7 +705,7 @@
|
|||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="0.6"
|
android:layout_weight="0.6"
|
||||||
android:padding="3dp"
|
android:padding="3dp"
|
||||||
android:src="@mipmap/moudle_fg_main_com_adj" />
|
android:src="@drawable/ic_home_curve_scheme" />
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -748,7 +748,7 @@
|
|||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="0.6"
|
android:layout_weight="0.6"
|
||||||
android:padding="2dp"
|
android:padding="2dp"
|
||||||
android:src="@mipmap/moudle_fg_main_equsc" />
|
android:src="@drawable/ic_home_device_query" />
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -785,8 +785,8 @@
|
|||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:layout_marginLeft="12dp"
|
android:layout_marginLeft="12dp"
|
||||||
android:layout_marginRight="12dp"
|
android:layout_marginRight="12dp"
|
||||||
app:nts_active_color="@color/blue_text"
|
app:nts_active_color="@color/main_theme_color"
|
||||||
app:nts_color="@color/blue_text"
|
app:nts_color="@color/main_theme_color"
|
||||||
app:nts_corners_radius="2dp"
|
app:nts_corners_radius="2dp"
|
||||||
app:nts_gravity="bottom"
|
app:nts_gravity="bottom"
|
||||||
app:nts_inactive_color="#797979"
|
app:nts_inactive_color="#797979"
|
||||||
|
|||||||
@ -31,7 +31,7 @@
|
|||||||
android:layout_alignParentTop="true"
|
android:layout_alignParentTop="true"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:padding="4dp"
|
android:padding="4dp"
|
||||||
android:src="@mipmap/moudle_tab_main_full" />
|
android:src="@drawable/ic_tab_main_full" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/moudle_main_activity_tv_main"
|
android:id="@+id/moudle_main_activity_tv_main"
|
||||||
@ -57,7 +57,7 @@
|
|||||||
android:layout_alignParentTop="true"
|
android:layout_alignParentTop="true"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:padding="4dp"
|
android:padding="4dp"
|
||||||
android:src="@mipmap/moudle_tab_fault_empty" />
|
android:src="@drawable/ic_tab_fault_empty" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/moudle_main_activity_tv_falut"
|
android:id="@+id/moudle_main_activity_tv_falut"
|
||||||
@ -83,7 +83,7 @@
|
|||||||
android:layout_alignParentTop="true"
|
android:layout_alignParentTop="true"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:padding="4dp"
|
android:padding="4dp"
|
||||||
android:src="@mipmap/moudle_tab_pro_empty" />
|
android:src="@drawable/ic_tab_pro_empty" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/moudle_main_activity_tv_pro"
|
android:id="@+id/moudle_main_activity_tv_pro"
|
||||||
@ -109,7 +109,7 @@
|
|||||||
android:layout_alignParentTop="true"
|
android:layout_alignParentTop="true"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:padding="4dp"
|
android:padding="4dp"
|
||||||
android:src="@mipmap/moudle_tab_self_empty" />
|
android:src="@drawable/ic_tab_self_empty" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/moudle_main_activity_tv_self"
|
android:id="@+id/moudle_main_activity_tv_self"
|
||||||
|
|||||||
BIN
app/src/main/res/mipmap-xxhdpi/image.png
Normal file
BIN
app/src/main/res/mipmap-xxhdpi/image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 27 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/image_copy.png
Normal file
BIN
app/src/main/res/mipmap-xxhdpi/image_copy.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 27 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/image_copy_2.png
Normal file
BIN
app/src/main/res/mipmap-xxhdpi/image_copy_2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 27 KiB |
@ -88,4 +88,9 @@
|
|||||||
|
|
||||||
<color name="base_line">#E5E5E5</color>
|
<color name="base_line">#E5E5E5</color>
|
||||||
<color name="ac_bg">#F9F9F9</color>
|
<color name="ac_bg">#F9F9F9</color>
|
||||||
|
|
||||||
|
<!-- 主页专属主题色 (碳谷绿湾) -->
|
||||||
|
<color name="main_theme_color">#009688</color>
|
||||||
|
<color name="main_theme_color_dark">#00796B</color>
|
||||||
|
<color name="main_theme_bg_light">#E0F2F1</color>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
Reference in New Issue
Block a user