| | |
| | | public class AppConfigManage { |
| | | |
| | | /*********是否正式服务器*********/ |
| | | private static final boolean isOnlineServer = false; |
| | | private static final boolean isOnlineServer = true; |
| | | /*********正式环境*********/ |
| | | private static final String APP_KEY_ONLINE = "CSZEMDJL"; |
| | | private static final String APP_SECRET_ONLINE = "CSZEMDKBCSZEMDKR"; |
| | |
| | | .name(tipSuspendName) |
| | | // .colorByPoint(true) |
| | | .color(AARgba(56, 196, 148, 1.0f))//猩红色, alpha 透明度 1 |
| | | // .lineWidth(1.5) |
| | | .lineWidth(1.5) |
| | | // .borderColor(AARgba(255,255,255,1.0f)) |
| | | .fillColor(linearGradientColor) |
| | | // .fillOpacity(0.5)//区域背景透明度,设置0的话看不到区域背景 |
| | |
| | | layoutParams.gravity = Gravity.START | Gravity.TOP; |
| | | layoutParams.width = (int) UnitConversionUtils.dpToPx(mContext, 375 - 32); |
| | | layoutParams.x = (int) UnitConversionUtils.dpToPx(mContext, 16); |
| | | layoutParams.y = (int) UnitConversionUtils.dpToPx(mContext, 200-5); |
| | | layoutParams.y = (int) UnitConversionUtils.dpToPx(mContext, 137+44); |
| | | window.setAttributes(layoutParams); |
| | | } |
| | | viewBinding = DialogTypeTitleListBBinding.inflate(getLayoutInflater()); |
New file |
| | |
| | | <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="#FFFFFF" |
| | | android:pathData="M12,3.5c-5.3,0 -9.5,4.2 -9.5,9.5 0,5.3 4.2,9.5 9.5,9.5 5.3,0 9.5,-4.2 9.5,-9.5 0,-5.3 -4.2,-9.5 -9.5,-9.5z" |
| | | android:strokeWidth="2" |
| | | android:strokeColor="#000000" |
| | | android:trimPathStart="0" |
| | | android:trimPathEnd="0" /> |
| | | |
| | | <rotate |
| | | android:fromDegrees="270" |
| | | android:toDegrees="270" |
| | | android:pivotX="12" |
| | | android:pivotY="12"> |
| | | <shape android:shape="ring" android:innerRadiusRatio="3" android:thicknessRatio="10" android:useLevel="false"> |
| | | <solid android:color="#000000"/> |
| | | </shape> |
| | | </rotate> |
| | | |
| | | </vector> |
| | |
| | | android:fromDegrees="0" |
| | | android:pivotX="50%" |
| | | android:pivotY="50%" |
| | | android:toDegrees="1440" |
| | | |
| | | > |
| | | android:toDegrees="1440"> |
| | | <shape |
| | | android:innerRadiusRatio="3" |
| | | android:shape="ring" |
| | |
| | | android:layout_marginTop="@dimen/dp_18" |
| | | android:text="@string/string_capacity" |
| | | android:textColor="@color/text_FF8E8E8E" |
| | | android:textSize="@dimen/text_16" |
| | | android:textSize="@dimen/text_14" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/cancel_affirm_cl" /> |
| | | |
| | |
| | | android:layout_marginTop="167dp" |
| | | android:text="@string/grid_connected_state" |
| | | android:textColor="@color/text_FF8E8E8E" |
| | | android:textSize="@dimen/text_16" |
| | | android:textSize="@dimen/text_14" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/min_max_rl" /> |
| | | <!--全部--> |