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
b0e55560
Commit
b0e55560
authored
May 19, 2022
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:ui修改
parent
b28342dd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
14 deletions
+21
-14
PublishQuestionAndTrendFragment.java
m-dynamic/src/main/java/com/yidianling/dynamic/publishTrend/fragment/PublishQuestionAndTrendFragment.java
+14
-9
delete_dynamic.png
m-dynamic/src/main/res/drawable-xhdpi/delete_dynamic.png
+0
-0
dynamic_activity_trend.xml
m-dynamic/src/main/res/layout/dynamic_activity_trend.xml
+5
-2
dynamic_fragment_publish_trend.xml
m-dynamic/src/main/res/layout/dynamic_fragment_publish_trend.xml
+0
-0
dynamic_publish_img_item.xml
m-dynamic/src/main/res/layout/dynamic_publish_img_item.xml
+1
-2
MsgViewHolderConfirmOrder.java
m-im/src/main/java/com/yidianling/im/session/viewholder/MsgViewHolderConfirmOrder.java
+1
-1
No files found.
m-dynamic/src/main/java/com/yidianling/dynamic/publishTrend/fragment/PublishQuestionAndTrendFragment.java
View file @
b0e55560
...
...
@@ -15,6 +15,7 @@ import android.os.Bundle;
import
android.os.Handler
;
import
android.os.Parcelable
;
import
androidx.cardview.widget.CardView
;
import
androidx.constraintlayout.widget.ConstraintLayout
;
import
androidx.fragment.app.Fragment
;
import
androidx.core.content.ContextCompat
;
...
...
@@ -130,6 +131,7 @@ public class PublishQuestionAndTrendFragment extends BaseFragment implements Vie
private
LinearLayout
ll_to_expert
;
private
ImageView
publish_anonymity_iv
;
private
RelativeLayout
publish_trend_ad_rel
;
private
CardView
publish_trend_ad_relcardView
;
private
ImageView
publish_trend_ad_iv
;
private
ImageView
iv_fm
;
private
ImageView
iv_to_expert
;
...
...
@@ -322,6 +324,7 @@ public class PublishQuestionAndTrendFragment extends BaseFragment implements Vie
if
(!
""
.
equals
(
Test_url
)
&&
Test_url
!=
null
&&
!
""
.
equals
(
Test_cover
)
&&
Test_cover
!=
null
&&
!
""
.
equals
(
Test_title
)
&&
Test_title
!=
null
)
{
publish_trend_img_rcv
.
setVisibility
(
View
.
GONE
);
publish_trend_ad_rel
.
setVisibility
(
View
.
VISIBLE
);
publish_trend_ad_relcardView
.
setVisibility
(
View
.
VISIBLE
);
GlideApp
.
with
(
activity
)
.
load
(
Test_cover
)
.
placeholder
(
R
.
drawable
.
dynamic_default_img
)
...
...
@@ -336,6 +339,7 @@ public class PublishQuestionAndTrendFragment extends BaseFragment implements Vie
}
else
{
publish_trend_img_rcv
.
setVisibility
(
View
.
VISIBLE
);
publish_trend_ad_rel
.
setVisibility
(
View
.
GONE
);
publish_trend_ad_relcardView
.
setVisibility
(
View
.
GONE
);
publish_trend_bottom_img_iv
.
setImageResource
(
R
.
drawable
.
dynamic_edit_img
);
head_dir
=
RxFileTool
.
getStorageDirectory
(
activity
)
+
"/img/publish_img/"
;
...
...
@@ -424,6 +428,7 @@ public class PublishQuestionAndTrendFragment extends BaseFragment implements Vie
trends_publish_question
=
getRootView
().
findViewById
(
R
.
id
.
trends_publish_question
);
ll_bottom_img_emoji
=
getRootView
().
findViewById
(
R
.
id
.
ll_bottom_img_emoji
);
publish_trend_ad_rel
=
getRootView
().
findViewById
(
R
.
id
.
publish_trend_ad_rel
);
publish_trend_ad_relcardView
=
getRootView
().
findViewById
(
R
.
id
.
publish_trend_ad_relcardview
);
iv_fm
=
getRootView
().
findViewById
(
R
.
id
.
iv_fm
);
publish_trend_ad_iv
=
getRootView
().
findViewById
(
R
.
id
.
publish_trend_ad_iv
);
publish_trend_ad_tv
=
getRootView
().
findViewById
(
R
.
id
.
publish_trend_ad_tv
);
...
...
@@ -537,15 +542,15 @@ public class PublishQuestionAndTrendFragment extends BaseFragment implements Vie
Rect
rect
=
new
Rect
();
trends_publish_question
.
getWindowVisibleDisplayFrame
(
rect
);
if
(
isMiuiFullScreen
()){
ll_bottom_img_emoji
.
layout
(
0
,
rect
.
height
()-
ll_bottom_img_emoji
.
getHeight
()-
160
,
ll_bottom_img_emoji
.
getWidth
(),
rect
.
height
());
}
else
{
ll_bottom_img_emoji
.
layout
(
0
,
rect
.
height
()-
ll_bottom_img_emoji
.
getHeight
()-
getNavigationBarHeight
(
getContext
()),
ll_bottom_img_emoji
.
getWidth
(),
rect
.
height
());
}
//
if (isMiuiFullScreen()){
//
ll_bottom_img_emoji.layout(0,
//
rect.height()-ll_bottom_img_emoji.getHeight()-160,
//
ll_bottom_img_emoji.getWidth(),rect.height());
//
}else{
//
ll_bottom_img_emoji.layout(0,
//
rect.height()-ll_bottom_img_emoji.getHeight()- getNavigationBarHeight(getContext()),
//
ll_bottom_img_emoji.getWidth(),rect.height());
//
}
}
}
});
...
...
m-dynamic/src/main/res/drawable-xhdpi/delete_dynamic.png
0 → 100644
View file @
b0e55560
1.35 KB
m-dynamic/src/main/res/layout/dynamic_activity_trend.xml
View file @
b0e55560
...
...
@@ -27,11 +27,14 @@
android:layout_height=
"wrap_content"
android:textColor=
"@color/platform_color_333333"
android:text=
"取消"
android:padding=
"@dimen/platform_dp_5"
android:paddingBottom=
"@dimen/platform_dp_5"
android:paddingTop=
"@dimen/platform_dp_5"
android:paddingRight=
"@dimen/platform_dp_5"
android:id=
"@+id/mBackIv"
android:layout_centerInParent=
"true"
android:layout_alignParentLeft=
"true"
android:layout_marginStart=
"@dimen/platform_dp_16"
android:layout_marginStart=
"@dimen/platform_dp_15"
android:includeFontPadding=
"false"
android:textSize=
"@dimen/platform_sp_16"
>
...
...
m-dynamic/src/main/res/layout/dynamic_fragment_publish_trend.xml
View file @
b0e55560
This diff is collapsed.
Click to expand it.
m-dynamic/src/main/res/layout/dynamic_publish_img_item.xml
View file @
b0e55560
...
...
@@ -26,9 +26,8 @@
android:id=
"@+id/item_publish_cancel_iv"
android:layout_width=
"22dp"
android:layout_height=
"22dp"
android:padding=
"@dimen/platform_dp_5"
android:layout_alignParentRight=
"true"
android:layout_alignParentTop=
"true"
android:src=
"@drawable/
platform_img_delete
"
/>
android:src=
"@drawable/
delete_dynamic
"
/>
</com.ydl.ydlcommon.view.SquareRelativeLayout>
m-im/src/main/java/com/yidianling/im/session/viewholder/MsgViewHolderConfirmOrder.java
View file @
b0e55560
...
...
@@ -104,7 +104,7 @@ public class MsgViewHolderConfirmOrder extends MsgViewHolderBase {
orderId
=
customAttachment
.
orderId
;
serviceId
=
customAttachment
.
serviceId
;
flag
=
customAttachment
.
status
;
ToastUtil
.
toastShort
(
"flag:"
+
flag
);
if
(
flag
==
1
)
{
// 1代表已确认,0代表待确认
tv_submit
.
setText
(
"已确认"
);
...
...
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