Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
691f4ad3
Commit
691f4ad3
authored
May 31, 2022
by
fengquan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug 通话界面弹框提醒
parent
143a5d99
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
62 additions
and
0 deletions
+62
-0
AudioHomeActivity.kt
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
+0
-0
ZDialog.java
m-audioim/src/main/java/com/ydl/audioim/widget/ZDialog.java
+6
-0
audioim_activity_time_alarm_dialog.xml
m-audioim/src/main/res/layout/audioim_activity_time_alarm_dialog.xml
+53
-0
strings.xml
m-audioim/src/main/res/values/strings.xml
+3
-0
No files found.
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
View file @
691f4ad3
This diff is collapsed.
Click to expand it.
m-audioim/src/main/java/com/ydl/audioim/widget/ZDialog.java
View file @
691f4ad3
...
...
@@ -2,6 +2,7 @@ package com.ydl.audioim.widget;
import
android.app.Dialog
;
import
android.content.Context
;
import
android.os.Build
;
import
android.view.Gravity
;
import
android.view.View
;
import
android.view.ViewGroup
;
...
...
@@ -123,6 +124,11 @@ public class ZDialog extends Dialog {
return
this
;
}
public
Builder
width
(
int
width
){
mDialogParams
.
defaultWidth
=
width
;
return
this
;
}
public
Builder
setGravity
(
@ZDialogDirection
.
ZGravity
int
direction
)
{
switch
(
direction
)
{
case
ZDialogDirection
.
FROM_TOP
:
...
...
m-audioim/src/main/res/layout/audioim_activity_time_alarm_dialog.xml
0 → 100644
View file @
691f4ad3
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"@dimen/platform_dp_38"
android:layout_marginLeft=
"@dimen/platform_dp_38"
android:layout_marginEnd=
"@dimen/platform_dp_38"
android:background=
"@drawable/shape_bg_white_fillet8"
app:layout_goneMarginEnd=
"@dimen/platform_dp_38"
>
<TextView
android:id=
"@+id/third_title"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/platform_dp_20"
android:textColor=
"@color/platform_color_242424"
android:textSize=
"15sp"
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
tools:layout_editor_absoluteY=
"85dp"
/>
<View
android:id=
"@+id/line"
android:layout_width=
"match_parent"
android:layout_height=
"0.5dp"
android:layout_marginTop=
"@dimen/platform_dp_28"
android:background=
"@color/platform_color_D8D8D8"
app:layout_constraintTop_toBottomOf=
"@id/third_title"
/>
<LinearLayout
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/line"
>
<TextView
android:id=
"@+id/dial_right_now"
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/platform_dp_48"
android:gravity=
"center"
android:text=
"@string/audioim_got_it"
android:textColor=
"@color/platform_color_1DA1F2"
android:textSize=
"17sp"
/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
m-audioim/src/main/res/values/strings.xml
View file @
691f4ad3
<resources>
<string
name=
"audioim_need_storage_permission_hint"
>
App正常工作需要内部存储使用权限,请开启
</string>
<string
name=
"audioim_got_it"
>
知道了
</string>
<string
name=
"audioim_audio_time_alarm_msg_tradition_dialog"
>
请等待 %s 秒后,点击跳转传统电话
</string>
<string
name=
"audioim_audio_time_alarm_msg_online_dialog"
>
请等待 %s 秒后,点击挂断
</string>
</resources>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment