Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_vedio
Project
Project
Details
Activity
Releases
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
android
android_vedio
Commits
777596f3
Commit
777596f3
authored
Oct 18, 2024
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
51690ed9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
build.gradle
video/app/build.gradle
+2
-2
BaseActivity.java
...changzhi/yipinplaylet/ui/activitys/base/BaseActivity.java
+1
-1
activity_new_vip.xml
video/app/src/main/res/layout/activity_new_vip.xml
+2
-2
No files found.
video/app/build.gradle
View file @
777596f3
...
...
@@ -10,8 +10,8 @@ android {
applicationId
"com.changzhi.yipinplaylet"
minSdkVersion
rootProject
.
ext
.
androidMinSdkVersion
targetSdkVersion
rootProject
.
ext
.
androidTargetSdkVersion
versionCode
72
0
versionName
"7.2.
0
"
versionCode
72
1
versionName
"7.2.
1
"
flavorDimensions
"default"
// dex突破65535的限制
...
...
video/app/src/main/java/com/changzhi/yipinplaylet/ui/activitys/base/BaseActivity.java
View file @
777596f3
...
...
@@ -39,7 +39,7 @@ public abstract class BaseActivity extends BaseAppCompatActivity implements Base
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
// 禁止截图
getWindow
().
addFlags
(
WindowManager
.
LayoutParams
.
FLAG_SECURE
);
//
getWindow().addFlags(WindowManager.LayoutParams.FLAG_SECURE);
if
(
android
.
os
.
Build
.
VERSION
.
SDK_INT
!=
Build
.
VERSION_CODES
.
O
)
{
setRequestedOrientation
(
ActivityInfo
.
SCREEN_ORIENTATION_PORTRAIT
);
...
...
video/app/src/main/res/layout/activity_new_vip.xml
View file @
777596f3
...
...
@@ -215,8 +215,8 @@
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:text=
"试用到期后将按终身xx元自动续费,可随时关闭"
android:textColor=
"#
97
ffffff"
android:textSize=
"1
0
sp"
/>
android:textColor=
"#ffffff"
android:textSize=
"1
2
sp"
/>
<LinearLayout
android:layout_width=
"wrap_content"
...
...
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