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
5868953e
Commit
5868953e
authored
Aug 30, 2023
by
mengcuiguang2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
c86ae942
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
14 deletions
+17
-14
build.gradle
video/app/build.gradle
+2
-2
VipActivity.kt
...main/java/com/xinfu/helivideo/ui/activitys/VipActivity.kt
+1
-1
activity_vip.xml
video/app/src/main/res/layout/activity_vip.xml
+14
-11
No files found.
video/app/build.gradle
View file @
5868953e
...
...
@@ -12,8 +12,8 @@ android {
applicationId
"com.xinfu.helivideo"
minSdkVersion
rootProject
.
ext
.
androidMinSdkVersion
targetSdkVersion
rootProject
.
ext
.
androidTargetSdkVersion
versionCode
1
5
versionName
"1.1.
4
"
versionCode
1
6
versionName
"1.1.
5
"
flavorDimensions
"default"
// dex突破65535的限制
...
...
video/app/src/main/java/com/xinfu/helivideo/ui/activitys/VipActivity.kt
View file @
5868953e
...
...
@@ -69,7 +69,7 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener, VipAdapter.On
private
var
isGuide
:
Boolean
=
false
// 从启动页进入vip界面,返回时要回到首页
private
var
isMain
:
Boolean
=
false
private
var
isRecommend
:
Boolean
=
false
private
var
payType
=
ALI
PAY
// 支付类型
private
var
payType
=
WEIXIN_
PAY
// 支付类型
private
var
vedioId
=
""
private
var
thirdId
=
""
...
...
video/app/src/main/res/layout/activity_vip.xml
View file @
5868953e
...
...
@@ -58,28 +58,31 @@
android:layout_height=
"match_parent"
android:orientation=
"horizontal"
>
<LinearLayout
android:id=
"@+id/ll_vip_
alipay
"
android:id=
"@+id/ll_vip_
wx
"
android:layout_width=
"0dp"
android:layout_height=
"40dp"
android:layout_weight=
"1"
android:gravity=
"center"
android:paddingLeft=
"20dp"
android:orientation=
"horizontal"
android:paddingLeft=
"20dp"
>
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:drawableLeft=
"@mipmap/ic_
alipay
"
android:drawableLeft=
"@mipmap/ic_
call_wx
"
android:drawablePadding=
"6dp"
android:gravity=
"center_vertical"
android:text=
"
支付宝
支付"
android:text=
"
微信
支付"
android:textColor=
"@color/white"
android:textSize=
"14sp"
android:textStyle=
"bold"
/>
<ImageView
android:id=
"@+id/iv_vip_
alipay
"
android:id=
"@+id/iv_vip_
wx
"
android:layout_width=
"30dp"
android:layout_height=
"30dp"
android:scaleType=
"center"
...
...
@@ -87,28 +90,28 @@
</LinearLayout>
<LinearLayout
android:id=
"@+id/ll_vip_
wx
"
android:id=
"@+id/ll_vip_
alipay
"
android:layout_width=
"0dp"
android:layout_height=
"40dp"
android:layout_weight=
"1"
android:paddingRight=
"20dp"
android:gravity=
"center"
android:orientation=
"horizontal"
android:paddingRight=
"20dp"
>
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:drawableLeft=
"@mipmap/ic_
call_wx
"
android:drawableLeft=
"@mipmap/ic_
alipay
"
android:drawablePadding=
"6dp"
android:gravity=
"center_vertical"
android:text=
"
微信
支付"
android:text=
"
支付宝
支付"
android:textColor=
"@color/white"
android:textSize=
"14sp"
android:textStyle=
"bold"
/>
<ImageView
android:id=
"@+id/iv_vip_
wx
"
android:id=
"@+id/iv_vip_
alipay
"
android:layout_width=
"30dp"
android:layout_height=
"30dp"
android:scaleType=
"center"
...
...
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