Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
android
/
dayu
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a2495175
authored
Apr 11, 2023
by
wukun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1,bug修复
2,64位
parent
cd36d96e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
5 deletions
app/src/main/res/layout/app_activity_about_us.xml
gradle.properties
learnCenter/src/main/java/com/dayu/learncenter/ui/fragment/CommeWebViewFragment.java
app/src/main/res/layout/app_activity_about_us.xml
View file @
a2495175
...
@@ -4,6 +4,10 @@
...
@@ -4,6 +4,10 @@
<data
class=
".AboutUsBinding"
/>
<data
class=
".AboutUsBinding"
/>
<ScrollView
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
...
@@ -32,7 +36,8 @@
...
@@ -32,7 +36,8 @@
android:layout_marginStart=
"@dimen/dp_20"
android:layout_marginStart=
"@dimen/dp_20"
android:layout_marginTop=
"@dimen/dp_20"
android:layout_marginTop=
"@dimen/dp_20"
android:text=
"@string/hello_engineer"
android:text=
"@string/hello_engineer"
android:textSize=
"@dimen/dp_20"
/>
android:textSize=
"@dimen/dp_20"
android:textColor=
"@color/text_color"
/>
<TextView
<TextView
android:id=
"@+id/detail"
android:id=
"@+id/detail"
...
@@ -43,7 +48,8 @@
...
@@ -43,7 +48,8 @@
android:layout_marginEnd=
"@dimen/dp_20"
android:layout_marginEnd=
"@dimen/dp_20"
android:lineSpacingMultiplier=
"1.2"
android:lineSpacingMultiplier=
"1.2"
android:text=
"@string/about_us_detial"
android:text=
"@string/about_us_detial"
android:textSize=
"@dimen/dp_20"
/>
android:textSize=
"@dimen/dp_20"
android:textColor=
"@color/text_color"
/>
<ImageView
<ImageView
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
...
@@ -58,7 +64,8 @@
...
@@ -58,7 +64,8 @@
android:layout_gravity=
"center_horizontal"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"@dimen/dp_20"
android:layout_marginTop=
"@dimen/dp_20"
android:text=
"北京大鱼创想科技有限公司 版权所有"
android:text=
"北京大鱼创想科技有限公司 版权所有"
android:textSize=
"@dimen/dp_15"
/>
android:textSize=
"@dimen/dp_15"
android:textColor=
"@color/text_color"
/>
<TextView
<TextView
android:id=
"@+id/tv_version"
android:id=
"@+id/tv_version"
...
@@ -67,6 +74,9 @@
...
@@ -67,6 +74,9 @@
android:layout_gravity=
"center"
android:layout_gravity=
"center"
android:gravity=
"bottom"
android:gravity=
"bottom"
android:paddingTop=
"@dimen/dp_10"
android:paddingTop=
"@dimen/dp_10"
android:textColor=
"@color/text_color"
tools:text=
"v2.7.5"
/>
tools:text=
"v2.7.5"
/>
</LinearLayout>
</LinearLayout>
</ScrollView>
</layout>
</layout>
\ No newline at end of file
gradle.properties
View file @
a2495175
...
@@ -15,7 +15,7 @@ isLearnModule=true
...
@@ -15,7 +15,7 @@ isLearnModule=true
##maven依赖
##maven依赖
mavenMode
=
false
mavenMode
=
false
BASE_URL
=
http://47.94.101.239:3112
BASE_URL
=
http://47.94.101.239:3112
IS_64_BIT
=
fals
e
IS_64_BIT
=
tru
e
Android.useDeprecatedNdk
=
true
Android.useDeprecatedNdk
=
true
android.useAndroidX
=
true
android.useAndroidX
=
true
\ No newline at end of file
learnCenter/src/main/java/com/dayu/learncenter/ui/fragment/CommeWebViewFragment.java
View file @
a2495175
...
@@ -151,10 +151,13 @@ public class CommeWebViewFragment extends DataBindingFragment<FragmentWebviewBin
...
@@ -151,10 +151,13 @@ public class CommeWebViewFragment extends DataBindingFragment<FragmentWebviewBin
if
(
appCacheDir
.
exists
())
{
if
(
appCacheDir
.
exists
())
{
deleteFile
(
appCacheDir
);
deleteFile
(
appCacheDir
);
}
}
if
(
mBind
!=
null
){
mBind
.
llWeb
.
removeAllViews
();
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
mBind
.
llWeb
.
removeAllViews
();
}
}
/**
/**
...
...
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