[6.9.0]魔方触发主动录包反馈面板调整UI风格
This commit is contained in:
@@ -176,8 +176,8 @@ class InitiativeBadCaseWindow constructor(activity: Activity) : View.OnTouchList
|
||||
}
|
||||
tvInitiativeNum.text = BadCaseConfig.windowNum.toString()
|
||||
BadCaseConfig.windowNum++
|
||||
tvInitiativeTime.text = "时间:${millis2String(System.currentTimeMillis(),TimeUtils.getHourMinSecondFormat())}"
|
||||
tvInitiativeIdentity.text = "身份:${BadCaseConfig.identity}"
|
||||
tvInitiativeTime.text = millis2String(System.currentTimeMillis(),TimeUtils.getHourMinSecondFormat())
|
||||
tvInitiativeIdentity.text = BadCaseConfig.identity
|
||||
|
||||
//展示缓存数据
|
||||
if(BadCaseReasonStore.getInitiativeDataRecord().isNotEmpty()){
|
||||
@@ -246,8 +246,8 @@ class InitiativeBadCaseWindow constructor(activity: Activity) : View.OnTouchList
|
||||
it.format = PixelFormat.RGBA_8888
|
||||
it.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
|
||||
it.gravity = Gravity.START or Gravity.TOP
|
||||
it.width = 859
|
||||
it.height = 850
|
||||
it.width = 908
|
||||
it.height = 1306
|
||||
it.alpha = 1.0f
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,41 +1,59 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.mogo.eagle.core.widget.RoundConstraintLayout
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="@dimen/dp_859"
|
||||
android:layout_height="@dimen/dp_850"
|
||||
app:roundLayoutRadius="@dimen/dp_36"
|
||||
android:background="#1B2966">
|
||||
android:layout_width="@dimen/dp_908"
|
||||
android:layout_height="@dimen/dp_1306"
|
||||
android:background="@drawable/bg_passive_bad_case">
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:id="@+id/viewInitiativeTitleBg"
|
||||
android:layout_width="@dimen/dp_831"
|
||||
android:layout_height="@dimen/dp_102"
|
||||
android:background="@drawable/ai_collect_title_bg"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
android:background="@drawable/bg_passive_bad_case_title"
|
||||
android:layout_marginTop="@dimen/dp_32"
|
||||
android:layout_marginStart="@dimen/dp_24"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvInitiativeTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toTopOf="@id/viewInitiativeTitleBg"
|
||||
app:layout_constraintLeft_toLeftOf="@id/viewInitiativeTitleBg"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_45"
|
||||
android:text="@string/passive_title"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginStart="@dimen/dp_54"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvInitiativeNum"
|
||||
android:layout_width="@dimen/dp_108"
|
||||
android:layout_height="@dimen/dp_102"
|
||||
android:background="@drawable/icon_num_bg"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
android:textColor="#FFFFFFFF"
|
||||
android:textSize="@dimen/sp_42"
|
||||
android:layout_width="@dimen/dp_46"
|
||||
android:layout_height="@dimen/dp_46"
|
||||
app:layout_constraintTop_toTopOf="@id/tvInitiativeTitle"
|
||||
app:layout_constraintBottom_toBottomOf="@id/tvInitiativeTitle"
|
||||
app:layout_constraintLeft_toRightOf="@id/tvInitiativeTitle"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_30"
|
||||
android:gravity="center"
|
||||
android:text="1"
|
||||
android:background="@drawable/bg_passive_bad_case_num"
|
||||
android:layout_marginStart="@dimen/dp_10"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvInitiativeTime"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintLeft_toRightOf="@id/tvInitiativeNum"
|
||||
app:layout_constraintRight_toRightOf="@id/viewInitiativeTitleBg"
|
||||
app:layout_constraintTop_toTopOf="@id/tvInitiativeNum"
|
||||
app:layout_constraintBottom_toBottomOf="@id/tvInitiativeNum"
|
||||
android:textColor="#FFFFFFFF"
|
||||
android:textSize="@dimen/sp_34"
|
||||
android:layout_marginStart="@dimen/dp_50"
|
||||
android:textColor="#999999"
|
||||
android:textSize="@dimen/sp_38"
|
||||
android:layout_marginEnd="@dimen/dp_62"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -44,18 +62,28 @@
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toTopOf="@id/tvInitiativeNum"
|
||||
app:layout_constraintBottom_toBottomOf="@id/tvInitiativeNum"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
android:textColor="#FFFFFFFF"
|
||||
android:textSize="@dimen/sp_34"
|
||||
android:layout_marginEnd="@dimen/dp_50"
|
||||
app:layout_constraintRight_toLeftOf="@id/tvInitiativeTime"
|
||||
android:textColor="#999999"
|
||||
android:textSize="@dimen/sp_38"
|
||||
android:layout_marginEnd="@dimen/dp_39"
|
||||
/>
|
||||
|
||||
<View
|
||||
android:layout_width="@dimen/dp_1"
|
||||
android:layout_height="@dimen/dp_40"
|
||||
app:layout_constraintTop_toTopOf="@id/tvInitiativeIdentity"
|
||||
app:layout_constraintBottom_toBottomOf="@id/tvInitiativeIdentity"
|
||||
app:layout_constraintLeft_toRightOf="@id/tvInitiativeIdentity"
|
||||
app:layout_constraintRight_toLeftOf="@id/tvInitiativeTime"
|
||||
android:background="#999999"
|
||||
/>
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="@dimen/dp_0"
|
||||
android:layout_height="@dimen/dp_0"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/tvInitiativeNum"
|
||||
app:layout_constraintLeft_toLeftOf="@id/viewInitiativeTitleBg"
|
||||
app:layout_constraintRight_toRightOf="@id/viewInitiativeTitleBg"
|
||||
app:layout_constraintTop_toBottomOf="@id/viewInitiativeTitleBg"
|
||||
app:layout_constraintBottom_toTopOf="@id/viewAudioBg"
|
||||
android:scrollbars="vertical"
|
||||
android:fadeScrollbars="false"
|
||||
@@ -78,42 +106,42 @@
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvInitiativeReport"
|
||||
android:layout_width="@dimen/dp_370"
|
||||
android:layout_width="@dimen/dp_335"
|
||||
android:layout_height="@dimen/dp_80"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="@id/viewInitiativeTitleBg"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintRight_toLeftOf="@id/tvInitiativeCancel"
|
||||
android:background="@drawable/report_button_bg"
|
||||
android:background="@drawable/bg_passive_report"
|
||||
android:text="上报"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textSize="@dimen/dp_27"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/dp_36"
|
||||
android:gravity="center"
|
||||
android:layout_marginBottom="@dimen/dp_40"
|
||||
android:layout_marginBottom="@dimen/dp_100"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvInitiativeCancel"
|
||||
android:layout_width="@dimen/dp_370"
|
||||
android:layout_width="@dimen/dp_335"
|
||||
android:layout_height="@dimen/dp_80"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintRight_toRightOf="@id/viewInitiativeTitleBg"
|
||||
app:layout_constraintLeft_toRightOf="@id/tvInitiativeReport"
|
||||
android:text="取消"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textSize="@dimen/dp_27"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_36"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/icon_cancel_bg"
|
||||
android:layout_marginBottom="@dimen/dp_40"
|
||||
android:background="@drawable/bg_passive_cancel"
|
||||
android:layout_marginBottom="@dimen/dp_100"
|
||||
/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/viewAudioBg"
|
||||
android:layout_width="@dimen/dp_768"
|
||||
android:layout_height="@dimen/dp_122"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@id/tvInitiativeReport"
|
||||
android:background="@drawable/icon_audio_bg"
|
||||
android:layout_width="@dimen/dp_720"
|
||||
android:layout_height="@dimen/dp_90"
|
||||
app:layout_constraintLeft_toLeftOf="@id/viewInitiativeTitleBg"
|
||||
app:layout_constraintRight_toRightOf="@id/viewInitiativeTitleBg"
|
||||
app:layout_constraintBottom_toTopOf="@id/viewInitiativeTitleBg"
|
||||
android:background="@drawable/bg_passive_audio"
|
||||
android:layout_marginBottom="@dimen/dp_40"
|
||||
/>
|
||||
|
||||
@@ -136,8 +164,8 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/viewAudioButton"
|
||||
android:layout_width="@dimen/dp_34"
|
||||
android:layout_height="@dimen/dp_48"
|
||||
android:layout_width="@dimen/dp_48"
|
||||
android:layout_height="@dimen/dp_62"
|
||||
app:layout_constraintLeft_toLeftOf="@id/viewAudioBg"
|
||||
app:layout_constraintRight_toRightOf="@id/viewAudioBg"
|
||||
app:layout_constraintTop_toTopOf="@id/viewAudioBg"
|
||||
@@ -147,8 +175,8 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/viewAudioStart"
|
||||
android:layout_width="@dimen/dp_34"
|
||||
android:layout_height="@dimen/dp_48"
|
||||
android:layout_width="@dimen/dp_48"
|
||||
android:layout_height="@dimen/dp_62"
|
||||
app:layout_constraintTop_toTopOf="@id/viewAudioBg"
|
||||
app:layout_constraintBottom_toBottomOf="@id/viewAudioBg"
|
||||
app:layout_constraintRight_toRightOf="@id/viewAudioBg"
|
||||
@@ -157,4 +185,4 @@
|
||||
android:visibility="gone"
|
||||
/>
|
||||
|
||||
</com.mogo.eagle.core.widget.RoundConstraintLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
Reference in New Issue
Block a user