页面UI
This commit is contained in:
@ -464,7 +464,7 @@ public class DoingFaultDetailActivity extends AppCompatActivity implements View.
|
||||
}
|
||||
});
|
||||
pDialog = new SweetAlertDialog(this, SweetAlertDialog.PROGRESS_TYPE);
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#419DE4"));
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#009688"));
|
||||
pDialog.setTitleText("数据上传中...");
|
||||
pDialog.setCancelable(true);
|
||||
pDialog.setCanceledOnTouchOutside(true);
|
||||
|
||||
@ -306,7 +306,7 @@ public class NewFaultDetailActivity extends AppCompatActivity implements View.On
|
||||
}
|
||||
});
|
||||
pDialog = new SweetAlertDialog(this, SweetAlertDialog.PROGRESS_TYPE);
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#419DE4"));
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#009688"));
|
||||
pDialog.setTitleText("数据上传中...");
|
||||
pDialog.setCancelable(true);
|
||||
pDialog.setCanceledOnTouchOutside(true);
|
||||
|
||||
@ -418,7 +418,7 @@ public class MainFragment extends BaseFragmentView<MainFragmentPresenter, MainFr
|
||||
|
||||
private void initView(View view) {
|
||||
pDialog = new SweetAlertDialog(getActivity(), SweetAlertDialog.PROGRESS_TYPE);
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#419DE4"));
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#009688"));
|
||||
pDialog.setCancelable(true);
|
||||
pDialog.setCanceledOnTouchOutside(true);
|
||||
tab = view.findViewById(R.id.moudle_fg_main_tab);
|
||||
|
||||
@ -181,7 +181,7 @@ public class ProMFragment extends BaseFragmentView<ProMFragmentPresenter, ProMFr
|
||||
|
||||
private void initView(View view) {
|
||||
pDialog = new SweetAlertDialog(getActivity(), SweetAlertDialog.PROGRESS_TYPE);
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#419DE4"));
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#009688"));
|
||||
pDialog.setTitleText("搜索中...");
|
||||
pDialog.setCancelable(false);
|
||||
pDialog.setCanceledOnTouchOutside(false);
|
||||
|
||||
@ -77,7 +77,7 @@ public class NFCEquListActivity extends Activity {
|
||||
}
|
||||
});
|
||||
pDialog = new SweetAlertDialog(this, SweetAlertDialog.PROGRESS_TYPE);
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#419DE4"));
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#009688"));
|
||||
pDialog.setTitleText("数据加载中...");
|
||||
pDialog.setCancelable(true);
|
||||
pDialog.setCanceledOnTouchOutside(true);
|
||||
|
||||
@ -247,7 +247,7 @@ public class PatrolDetailActivity extends AppCompatActivity implements View.OnCl
|
||||
|
||||
private void initView() {
|
||||
pDialog = new SweetAlertDialog(this, SweetAlertDialog.PROGRESS_TYPE);
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#419DE4"));
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#009688"));
|
||||
pDialog.setTitleText("数据上传中...");
|
||||
pDialog.setCancelable(false);
|
||||
pDialog.setCanceledOnTouchOutside(false);
|
||||
|
||||
@ -244,7 +244,7 @@ public class PatrolEquDetailActivity extends AppCompatActivity implements View.O
|
||||
});
|
||||
|
||||
pDialog = new SweetAlertDialog(this, SweetAlertDialog.PROGRESS_TYPE);
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#419DE4"));
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#009688"));
|
||||
pDialog.setTitleText("数据上传中...");
|
||||
pDialog.setCancelable(true);
|
||||
pDialog.setCanceledOnTouchOutside(true);
|
||||
|
||||
@ -596,7 +596,7 @@ public class PatrolPointDetailActivity extends AppCompatActivity implements Text
|
||||
}
|
||||
});
|
||||
pDialog = new SweetAlertDialog(this, SweetAlertDialog.PROGRESS_TYPE);
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#419DE4"));
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#009688"));
|
||||
pDialog.setTitleText("数据获取中...");
|
||||
pDialog.setCancelable(true);
|
||||
pDialog.setCanceledOnTouchOutside(true);
|
||||
|
||||
@ -45,7 +45,7 @@ public class PatrolListActivity extends BaseView<PatrolListPresenter, PatrolList
|
||||
|
||||
private void initView() {
|
||||
pDialog = new SweetAlertDialog(this, SweetAlertDialog.PROGRESS_TYPE);
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#419DE4"));
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#009688"));
|
||||
pDialog.setCancelable(true);
|
||||
pDialog.setCanceledOnTouchOutside(true);
|
||||
}
|
||||
|
||||
@ -86,7 +86,7 @@ public class GuideMenuActivity extends AppCompatActivity {
|
||||
}
|
||||
});
|
||||
pDialog = new SweetAlertDialog(this, SweetAlertDialog.PROGRESS_TYPE);
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#419DE4"));
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#009688"));
|
||||
pDialog.setCancelable(true);
|
||||
pDialog.setCanceledOnTouchOutside(true);
|
||||
progressDialog = new ProgressDialog(this);
|
||||
|
||||
@ -91,7 +91,7 @@ public class GuideMenuLandscapeActivity extends AppCompatActivity {
|
||||
}
|
||||
});
|
||||
pDialog = new SweetAlertDialog(this, SweetAlertDialog.PROGRESS_TYPE);
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#419DE4"));
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#009688"));
|
||||
pDialog.setCancelable(true);
|
||||
pDialog.setCanceledOnTouchOutside(true);
|
||||
progressDialog = new ProgressDialog(this);
|
||||
|
||||
@ -95,7 +95,7 @@ public class MonitorScreenActivity extends AppCompatActivity {
|
||||
}
|
||||
});
|
||||
pDialog = new SweetAlertDialog(this, SweetAlertDialog.PROGRESS_TYPE);
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#419DE4"));
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#009688"));
|
||||
pDialog.setCancelable(true);
|
||||
pDialog.setCanceledOnTouchOutside(true);
|
||||
progressDialog = new ProgressDialog(this);
|
||||
|
||||
@ -190,7 +190,7 @@ public class WebStatementActivity extends AppCompatActivity {
|
||||
}
|
||||
});
|
||||
pDialog = new SweetAlertDialog(this, SweetAlertDialog.PROGRESS_TYPE);
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#419DE4"));
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#009688"));
|
||||
pDialog.setCancelable(true);
|
||||
pDialog.setCanceledOnTouchOutside(true);
|
||||
progressDialog = new ProgressDialog(this);
|
||||
|
||||
@ -2,6 +2,6 @@
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<solid android:color="#FF2748F1"/>
|
||||
<solid android:color="@color/main_theme_color"/>
|
||||
<corners android:radius="3dp" />
|
||||
</shape>
|
||||
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#FF6179FF"/>
|
||||
<solid android:color="#009688"/>
|
||||
</shape>
|
||||
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<corners android:radius="25dp"/>
|
||||
<solid android:color="@color/color_luc_blue_btn"/>
|
||||
<stroke android:width="1px" android:color="@color/color_luc_blue_btn"/>
|
||||
<solid android:color="#419DE4"/>
|
||||
<stroke android:width="1px" android:color="#419DE4"/>
|
||||
</shape>
|
||||
|
||||
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<corners android:radius="25dp"/>
|
||||
<solid android:color="#419DE4"/>
|
||||
<stroke android:width="1px" android:color="#419DE4"/>
|
||||
</shape>
|
||||
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<gradient android:type="linear" android:useLevel="true" android:startColor="#FF4C76F8" android:endColor="#FF2541EF" />
|
||||
<gradient android:type="linear" android:useLevel="true" android:startColor="#009688" android:endColor="#00796B" />
|
||||
<item android:name="android:shadowDx">0</item>
|
||||
<item android:name="android:shadowDy">1</item>
|
||||
<item android:name="android:shadowRadius">0</item>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@mipmap/checkbox_pressed" android:state_checked="true"/>
|
||||
<item android:drawable="@mipmap/checkbox_normal" android:state_checked="false"/>
|
||||
<item android:drawable="@mipmap/checkbox_normal"/>
|
||||
<item android:drawable="@drawable/ic_checkbox_checked_teal" android:state_checked="true"/>
|
||||
<item android:drawable="@drawable/ic_checkbox_unchecked" android:state_checked="false"/>
|
||||
<item android:drawable="@drawable/ic_checkbox_unchecked"/>
|
||||
</selector>
|
||||
@ -11,6 +11,6 @@
|
||||
android:right="10dp"
|
||||
android:bottom="10dp"
|
||||
/>
|
||||
<solid android:color="#acd6ff"/>
|
||||
<solid android:color="#B2DFDB"/>
|
||||
|
||||
</shape>
|
||||
9
app/src/main/res/drawable/ic_checkbox_checked_teal.xml
Normal file
9
app/src/main/res/drawable/ic_checkbox_checked_teal.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.0"
|
||||
android:viewportHeight="24.0">
|
||||
<path
|
||||
android:fillColor="#009688"
|
||||
android:pathData="M19,3H5c-1.11,0 -2,0.9 -2,2v14c0,1.1 0.89,2 2,2h14c1.11,0 2,-0.9 2,-2V5c0,-1.1 -0.89,-2 -2,-2zM10,17l-5,-5 1.41,-1.41L10,14.17l7.59,-7.59L19,8l-9,9z"/>
|
||||
</vector>
|
||||
9
app/src/main/res/drawable/ic_checkbox_unchecked.xml
Normal file
9
app/src/main/res/drawable/ic_checkbox_unchecked.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.0"
|
||||
android:viewportHeight="24.0">
|
||||
<path
|
||||
android:fillColor="#757575"
|
||||
android:pathData="M19,5v14H5V5h14m0,-2H5c-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,-2z"/>
|
||||
</vector>
|
||||
@ -3,6 +3,6 @@
|
||||
<!-- 设置按钮的四个角为弧形 -->
|
||||
<!-- android:radius 弧形的半径 -->
|
||||
<corners android:radius="22dp" />
|
||||
<solid android:color="#eff5ff"/>
|
||||
<solid android:color="#E0F2F1"/>
|
||||
|
||||
</shape>
|
||||
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#FF2748F1"/>
|
||||
<solid android:color="@color/main_theme_color"/>
|
||||
<corners android:radius="4dp" />
|
||||
</shape>
|
||||
@ -99,7 +99,7 @@
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginRight="16dp"
|
||||
android:background="#6179FF"/>
|
||||
android:background="@color/main_theme_color"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="32dp"
|
||||
@ -109,7 +109,7 @@
|
||||
<View
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#6179FF"/>
|
||||
android:background="@color/main_theme_color"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_fg_fault_tv_all"
|
||||
android:background="@drawable/bg_blue_status_sel"
|
||||
@ -125,7 +125,7 @@
|
||||
android:layout_width="1dp"
|
||||
android:visibility="gone"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#6179FF"/>
|
||||
android:background="@color/main_theme_color"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_fg_fault_tv_subed"
|
||||
android:background="@drawable/bg_blue_status_sel"
|
||||
@ -139,7 +139,7 @@
|
||||
<View
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#6179FF"/>
|
||||
android:background="@color/main_theme_color"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_fg_fault_tv_doing"
|
||||
android:background="@drawable/bg_blue_status_unsel"
|
||||
@ -153,7 +153,7 @@
|
||||
<View
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#6179FF"/>
|
||||
android:background="@color/main_theme_color"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_fg_fault_tv_com"
|
||||
android:background="@drawable/bg_blue_status_unsel"
|
||||
@ -167,14 +167,14 @@
|
||||
<View
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#6179FF"/>
|
||||
android:background="@color/main_theme_color"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginRight="16dp"
|
||||
android:background="#6179FF"/>
|
||||
android:background="@color/main_theme_color"/>
|
||||
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
||||
android:id="@+id/moudle_fg_fault_refresh"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@ -58,8 +58,8 @@
|
||||
android:layout_marginRight="83dp"
|
||||
app:nts_type="line"
|
||||
android:duplicateParentState="true"
|
||||
app:nts_active_color="#FF2748F1"
|
||||
app:nts_color="#FF2748F1"
|
||||
app:nts_active_color="@color/main_theme_color"
|
||||
app:nts_color="@color/main_theme_color"
|
||||
app:nts_corners_radius="2dp"
|
||||
app:nts_weight="3dp" />
|
||||
</LinearLayout>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="colorPrimary">#419DE4</color>
|
||||
<color name="colorPrimary">#009688</color>
|
||||
<color name="colorPrimaryDark">#000000</color>
|
||||
<color name="colorAccent">#D81B60</color>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user