Commit a6628b40 by 霍志良

feat:ui修改

parent 560d6c00
......@@ -153,6 +153,9 @@ class ConfideHomeEventImpl(context: Context, var confideHomeView: IConfideHomeCo
var text_title = bottomSheetDialog?.findViewById<View>(R.id.text_title)
var line = bottomSheetDialog?.findViewById<View>(R.id.line)
var rl_title = bottomSheetDialog?.findViewById<View>(R.id.rl_title)
close_webview_Icon?.setOnClickListener {
bottomSheetDialog?.hide()
}
val setting: WebSettings = wv_content?.settings!!
//支持js
//支持js
......@@ -201,10 +204,14 @@ class ConfideHomeEventImpl(context: Context, var confideHomeView: IConfideHomeCo
val itemView = LayoutInflater.from(mContext).inflate(R.layout.confide_bottom_two,null,false)
val layoutCall=itemView.findViewById<View>(R.id.layoutCall)
val layoutChange=itemView.findViewById<View>(R.id.layoutChange)
val layout_change_text=itemView.findViewById<View>(R.id.layout_change_text)
val confide_progress=itemView.findViewById<View>(R.id.confide_progress)
layoutCall.setOnClickListener {
callJsFun(wv_content,"layoutCall()")
}
layoutChange.setOnClickListener {
layout_change_text.visibility=View.GONE
confide_progress.visibility=View.VISIBLE
callJsFun(wv_content,"layoutCall()")
}
val layoutParams = FrameLayout.LayoutParams(
......
<?xml version="1.0" encoding="utf-8"?>
<animated-rotate xmlns:android="http://schemas.android.com/apk/res/android"
android:pivotX="50%" android:pivotY="50%"
android:fromDegrees="0"
android:toDegrees="360">
<shape
android:shape="ring"
android:innerRadiusRatio="3"
android:thicknessRatio="8"
android:useLevel="false">
<gradient
android:type="sweep"
android:useLevel="false"
android:startColor="#ffffff"
android:centerColor="#ffffff"
android:centerY="0.50"
android:endColor="@color/transparent" />
</shape>
</animated-rotate>
\ No newline at end of file
......@@ -61,8 +61,17 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="再换一位"
android:id="@+id/layout_change_text"
android:textColor="@color/white"
android:textSize="17sp" />
android:textSize="17sp"
/>
<ProgressBar
android:layout_width="@dimen/platform_dp_20"
android:layout_height="@dimen/platform_dp_20"
android:id="@+id/confide_progress"
android:visibility="gone"
android:indeterminateDrawable="@drawable/confide_progress"
>
</ProgressBar>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment