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
edfb598e
Commit
edfb598e
authored
May 07, 2022
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:UI修改
parent
fcb72e11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
PublishQuestionAndTrendFragment.java
m-dynamic/src/main/java/com/yidianling/dynamic/publishTrend/fragment/PublishQuestionAndTrendFragment.java
+4
-1
dynamic_fragment_publish_trend.xml
m-dynamic/src/main/res/layout/dynamic_fragment_publish_trend.xml
+0
-0
No files found.
m-dynamic/src/main/java/com/yidianling/dynamic/publishTrend/fragment/PublishQuestionAndTrendFragment.java
View file @
edfb598e
...
...
@@ -119,7 +119,7 @@ public class PublishQuestionAndTrendFragment extends BaseFragment implements Vie
private
EditText
publish_trend_title_editext
,
publish_trend_content_editext
;
private
RecyclerView
publish_trend_img_rcv
;
private
ImageView
publish_trend_bottom_img_iv
;
private
View
lineTitle
;
private
LinearLayout
publish_anonymity_rel
;
private
LinearLayout
ll_to_expert
;
private
ImageView
publish_anonymity_iv
;
...
...
@@ -394,6 +394,7 @@ public class PublishQuestionAndTrendFragment extends BaseFragment implements Vie
publish_trend_content_num_tv
=
getRootView
().
findViewById
(
R
.
id
.
publish_trend_content_num_tv
);
publish_trend_bottom_topic_tv
=
getRootView
().
findViewById
(
R
.
id
.
publish_trend_bottom_topic_tv
);
publish_trend_title_editext
=
getRootView
().
findViewById
(
R
.
id
.
publish_trend_title_editext
);
lineTitle
=
getRootView
().
findViewById
(
R
.
id
.
lineTitle
);
publish_trend_content_editext
=
getRootView
().
findViewById
(
R
.
id
.
publish_trend_content_editext
);
publish_trend_img_rcv
=
getRootView
().
findViewById
(
R
.
id
.
publish_trend_img_rcv
);
publish_trend_bottom_img_iv
=
getRootView
().
findViewById
(
R
.
id
.
publish_trend_bottom_img_iv
);
...
...
@@ -435,6 +436,7 @@ public class PublishQuestionAndTrendFragment extends BaseFragment implements Vie
if
(
TextUtils
.
equals
(
type
,
TYPE_TREND
))
{
//动态
publish_trend_title_editext
.
setVisibility
(
View
.
GONE
);
lineTitle
.
setVisibility
(
View
.
GONE
);
ll_to_expert
.
setVisibility
(
View
.
GONE
);
publish_trend_content_editext
.
setFilters
(
new
InputFilter
[]{
new
InputFilter
.
LengthFilter
(
500
)});
publish_trend_content_num_tv
.
setText
(
"0/500"
);
...
...
@@ -442,6 +444,7 @@ public class PublishQuestionAndTrendFragment extends BaseFragment implements Vie
}
else
{
//提问
publish_trend_title_editext
.
setVisibility
(
View
.
VISIBLE
);
lineTitle
.
setVisibility
(
View
.
VISIBLE
);
ll_to_expert
.
setVisibility
(
View
.
VISIBLE
);
publish_trend_content_editext
.
setFilters
(
new
InputFilter
[]{
new
InputFilter
.
LengthFilter
(
1000
)});
publish_trend_content_num_tv
.
setText
(
"0/1000"
);
...
...
m-dynamic/src/main/res/layout/dynamic_fragment_publish_trend.xml
View file @
edfb598e
This diff is collapsed.
Click to expand it.
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