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
b28342dd
Commit
b28342dd
authored
May 16, 2022
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:UI还原
parent
e68025a5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
4 deletions
+8
-4
config.gradle
config.gradle
+2
-2
PublishTrendActivity.java
m-dynamic/src/main/java/com/yidianling/dynamic/publishTrend/PublishTrendActivity.java
+3
-0
dynamic_bg_publish_gray_button.xml
m-dynamic/src/main/res/drawable/dynamic_bg_publish_gray_button.xml
+1
-1
dynamic_activity_trend.xml
m-dynamic/src/main/res/layout/dynamic_activity_trend.xml
+1
-1
colors.xml
m-dynamic/src/main/res/values/colors.xml
+1
-0
No files found.
config.gradle
View file @
b28342dd
...
...
@@ -11,7 +11,7 @@ ext {
"m-user"
:
"0.0.62.04"
,
"m-home"
:
"0.0.23.44"
,
"m-im"
:
"0.0.21.33"
,
"m-dynamic"
:
"0.0.7.4
6
"
,
"m-dynamic"
:
"0.0.7.4
7
"
,
"m-article"
:
"0.0.0.10"
,
"m-muse"
:
"0.0.28.28"
,
...
...
@@ -97,7 +97,7 @@ ext {
"m-user"
:
"0.0.62.04"
,
"m-home"
:
"0.0.23.41"
,
"m-im"
:
"0.0.21.33"
,
"m-dynamic"
:
"0.0.7.4
6
"
,
"m-dynamic"
:
"0.0.7.4
7
"
,
"m-article"
:
"0.0.0.8"
,
"m-muse"
:
"0.0.28.28"
,
...
...
m-dynamic/src/main/java/com/yidianling/dynamic/publishTrend/PublishTrendActivity.java
View file @
b28342dd
package
com
.
yidianling
.
dynamic
.
publishTrend
;
import
android.app.Activity
;
import
android.content.Context
;
import
android.content.Intent
;
import
android.graphics.drawable.BitmapDrawable
;
import
android.os.Bundle
;
...
...
@@ -156,8 +157,10 @@ public class PublishTrendActivity extends BaseActivity {
public
void
onEventMainThread
(
EditContentEvent
event
)
{
if
(
event
.
getContaineText
()){
publish_trend_sure_tv
.
setBackground
(
getDrawable
(
R
.
drawable
.
dynamic_bg_publish_button
));
publish_trend_sure_tv
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
dynamic_white
));
}
else
{
publish_trend_sure_tv
.
setBackground
(
getDrawable
(
R
.
drawable
.
dynamic_bg_publish_gray_button
));
publish_trend_sure_tv
.
setTextColor
(
getResources
().
getColor
(
R
.
color
.
dynamic_d0d0d0
));
}
}
private
void
SaveOrNotDialog
()
{
...
...
m-dynamic/src/main/res/drawable/dynamic_bg_publish_gray_button.xml
View file @
b28342dd
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<solid
android:color=
"#
601da1f2
"
/>
<solid
android:color=
"#
f6f6f6
"
/>
<corners
android:radius=
"12dp"
/>
</shape>
m-dynamic/src/main/res/layout/dynamic_activity_trend.xml
View file @
b28342dd
...
...
@@ -32,7 +32,7 @@
android:layout_centerInParent=
"true"
android:layout_alignParentLeft=
"true"
android:layout_marginStart=
"@dimen/platform_dp_16"
android:textSize=
"@dimen/platform_sp_1
4
"
android:textSize=
"@dimen/platform_sp_1
6
"
>
</TextView>
...
...
m-dynamic/src/main/res/values/colors.xml
View file @
b28342dd
...
...
@@ -32,6 +32,7 @@
<!--动态顶部title背景变色-->
<color
name=
"dynamic_trend_transparent"
>
#00ffffff
</color>
<color
name=
"dynamic_trend_gray"
>
#f3f3f3
</color>
<color
name=
"dynamic_d0d0d0"
>
#d0d0d0
</color>
<!--消息已读-->
...
...
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