Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_book
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_book
Commits
b07b98a2
Commit
b07b98a2
authored
Sep 25, 2024
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
b17c8adc
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
83 additions
and
66 deletions
+83
-66
BookReadActivity.kt
...va/com/mints/enjoyboxjia/ui/activitys/BookReadActivity.kt
+3
-1
VipActivity.kt
...in/java/com/mints/enjoyboxjia/ui/activitys/VipActivity.kt
+16
-16
BookCityFragment.kt
...ava/com/mints/enjoyboxjia/ui/fragment/BookCityFragment.kt
+1
-1
MyFragment.kt
...main/java/com/mints/enjoyboxjia/ui/fragment/MyFragment.kt
+1
-3
activity_book_search.xml
book/app/src/main/res/layout/activity_book_search.xml
+3
-3
fragment_main_bookcity.xml
book/app/src/main/res/layout/fragment_main_bookcity.xml
+12
-8
fragment_main_bookshelf.xml
book/app/src/main/res/layout/fragment_main_bookshelf.xml
+2
-1
fragment_main_my.xml
book/app/src/main/res/layout/fragment_main_my.xml
+6
-6
item_booklike.xml
book/app/src/main/res/layout/item_booklike.xml
+8
-5
item_hotbook.xml
book/app/src/main/res/layout/item_hotbook.xml
+10
-7
item_list_count.xml
book/app/src/main/res/layout/item_list_count.xml
+7
-3
item_newbook.xml
book/app/src/main/res/layout/item_newbook.xml
+8
-8
item_video_tab.xml
book/app/src/main/res/layout/item_video_tab.xml
+6
-4
No files found.
book/app/src/main/java/com/mints/enjoyboxjia/ui/activitys/BookReadActivity.kt
View file @
b07b98a2
...
@@ -76,7 +76,9 @@ class BookReadActivity : BaseActivity(), View.OnClickListener, BookReadView {
...
@@ -76,7 +76,9 @@ class BookReadActivity : BaseActivity(), View.OnClickListener, BookReadView {
}
}
R
.
id
.
btn_submit
->
{
R
.
id
.
btn_submit
->
{
readyGo
(
VipActivity
::
class
.
java
)
val
bundle
=
Bundle
()
bundle
.
putBoolean
(
VipActivity
.
IS_RECOMMEND
,
true
)
readyGo
(
VipActivity
::
class
.
java
,
bundle
)
}
}
}
}
}
}
...
...
book/app/src/main/java/com/mints/enjoyboxjia/ui/activitys/VipActivity.kt
View file @
b07b98a2
...
@@ -223,17 +223,9 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
...
@@ -223,17 +223,9 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
if
(
isPay
)
{
if
(
isPay
)
{
showToast
(
"支付成功"
)
showToast
(
"支付成功"
)
// if (isRecommend) {
if
(
isRecommend
)
{
// finish()
finish
()
// } else {
}
else
{
// if (!UserManager.getInstance().userIsLogin()) {
// val b = Bundle()
// b.putString(MobileLoginActivity.TYPE, "vip")
// readyGoThenKill(MobileLoginActivity::class.java, b)
// } else {
// readyGoThenKill(MainActivity::class.java)
// }
// }
if
(!
UserManager
.
getInstance
().
userIsLogin
())
{
if
(!
UserManager
.
getInstance
().
userIsLogin
())
{
val
b
=
Bundle
()
val
b
=
Bundle
()
b
.
putString
(
MobileLoginActivity
.
TYPE
,
"vip"
)
b
.
putString
(
MobileLoginActivity
.
TYPE
,
"vip"
)
...
@@ -242,6 +234,14 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
...
@@ -242,6 +234,14 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
readyGoThenKill
(
MainActivity
::
class
.
java
)
readyGoThenKill
(
MainActivity
::
class
.
java
)
}
}
}
}
// if (!UserManager.getInstance().userIsLogin()) {
// val b = Bundle()
// b.putString(MobileLoginActivity.TYPE, "vip")
// readyGoThenKill(MobileLoginActivity::class.java, b)
// } else {
// readyGoThenKill(MainActivity::class.java)
// }
}
}
}
override
fun
getUserSuc
(
data
:
UserBean
)
{
override
fun
getUserSuc
(
data
:
UserBean
)
{
...
...
book/app/src/main/java/com/mints/enjoyboxjia/ui/fragment/BookCityFragment.kt
View file @
b07b98a2
...
@@ -32,7 +32,7 @@ import com.mints.library.utils.nodoubleclick.AntiShake
...
@@ -32,7 +32,7 @@ import com.mints.library.utils.nodoubleclick.AntiShake
import
kotlinx.android.synthetic.main.fragment_main_bookcity.*
import
kotlinx.android.synthetic.main.fragment_main_bookcity.*
/**
/**
*
账单
*
书城-2
*/
*/
class
BookCityFragment
:
LazyLoadBaseFragment
(),
BookCityView
,
View
.
OnClickListener
{
class
BookCityFragment
:
LazyLoadBaseFragment
(),
BookCityView
,
View
.
OnClickListener
{
...
...
book/app/src/main/java/com/mints/enjoyboxjia/ui/fragment/MyFragment.kt
View file @
b07b98a2
...
@@ -79,10 +79,8 @@ class MyFragment : LazyLoadBaseFragment(), MyView, View.OnClickListener {
...
@@ -79,10 +79,8 @@ class MyFragment : LazyLoadBaseFragment(), MyView, View.OnClickListener {
}
}
}
}
R
.
id
.
tv_my_btn
->
{
R
.
id
.
tv_my_btn
->
{
if
(!
userManager
.
vipFlag
)
{
readyGo
(
VipActivity
::
class
.
java
)
readyGo
(
VipActivity
::
class
.
java
)
}
}
}
R
.
id
.
ll_my_history
->
{
R
.
id
.
ll_my_history
->
{
readyGo
(
WatchRecordActivity
::
class
.
java
)
readyGo
(
WatchRecordActivity
::
class
.
java
)
}
}
...
...
book/app/src/main/res/layout/activity_book_search.xml
View file @
b07b98a2
...
@@ -126,12 +126,12 @@
...
@@ -126,12 +126,12 @@
android:layout_margin=
"15dp"
android:layout_margin=
"15dp"
android:background=
"@drawable/shape_bg_write"
android:background=
"@drawable/shape_bg_write"
android:elevation=
"2dp"
android:elevation=
"2dp"
android:orientation=
"vertical"
android:orientation=
"vertical"
>
android:padding=
"10dp"
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"36dp"
android:layout_height=
"wrap_content"
android:padding=
"10dp"
android:gravity=
"center_vertical"
android:gravity=
"center_vertical"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
...
...
book/app/src/main/res/layout/fragment_main_bookcity.xml
View file @
b07b98a2
...
@@ -2,13 +2,14 @@
...
@@ -2,13 +2,14 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:fillViewport=
"true"
android:fillViewport=
"true"
android:background=
"@drawable/shape_mine"
android:overScrollMode=
"never"
>
android:overScrollMode=
"never"
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
android:orientation=
"vertical"
android:paddingTop=
"
2
0dp"
>
android:paddingTop=
"
3
0dp"
>
<LinearLayout
<LinearLayout
android:id=
"@+id/view_search"
android:id=
"@+id/view_search"
...
@@ -38,7 +39,7 @@
...
@@ -38,7 +39,7 @@
<com.youth.banner.Banner
<com.youth.banner.Banner
android:id=
"@+id/banner"
android:id=
"@+id/banner"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"
20
0dp"
android:layout_height=
"
19
0dp"
android:layout_marginLeft=
"15dp"
android:layout_marginLeft=
"15dp"
android:layout_marginRight=
"15dp"
/>
android:layout_marginRight=
"15dp"
/>
...
@@ -48,12 +49,12 @@
...
@@ -48,12 +49,12 @@
android:layout_margin=
"15dp"
android:layout_margin=
"15dp"
android:background=
"@drawable/shape_bg_write"
android:background=
"@drawable/shape_bg_write"
android:elevation=
"2dp"
android:elevation=
"2dp"
android:orientation=
"vertical"
android:orientation=
"vertical"
>
android:padding=
"10dp"
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"36dp"
android:layout_height=
"wrap_content"
android:padding=
"10dp"
android:gravity=
"center_vertical"
android:gravity=
"center_vertical"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
...
@@ -90,15 +91,18 @@
...
@@ -90,15 +91,18 @@
android:layout_marginStart=
"15dp"
android:layout_marginStart=
"15dp"
android:layout_marginEnd=
"15dp"
android:layout_marginEnd=
"15dp"
android:layout_marginBottom=
"15dp"
android:layout_marginBottom=
"15dp"
android:paddingBottom=
"6dp"
android:background=
"@drawable/shape_bg_write"
android:background=
"@drawable/shape_bg_write"
android:elevation=
"2dp"
android:elevation=
"2dp"
android:orientation=
"vertical"
android:orientation=
"vertical"
>
android:padding=
"10dp"
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"
36dp
"
android:layout_height=
"
wrap_content
"
android:gravity=
"center_vertical"
android:gravity=
"center_vertical"
android:paddingTop=
"10dp"
android:paddingLeft=
"10dp"
android:paddingRight=
"10dp"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
<TextView
<TextView
...
...
book/app/src/main/res/layout/fragment_main_bookshelf.xml
View file @
b07b98a2
<com.mints.enjoyboxjia.ui.widgets.ElasticScrollView
xmlns:android=
"http://schemas.android.com/apk/res/android"
<com.mints.enjoyboxjia.ui.widgets.ElasticScrollView
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:background=
"@drawable/shape_mine"
android:layout_height=
"match_parent"
>
android:layout_height=
"match_parent"
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
android:orientation=
"vertical"
android:paddingTop=
"
2
0dp"
>
android:paddingTop=
"
3
0dp"
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
...
book/app/src/main/res/layout/fragment_main_my.xml
View file @
b07b98a2
...
@@ -98,7 +98,7 @@
...
@@ -98,7 +98,7 @@
android:background=
"@mipmap/bg_my_vip"
android:background=
"@mipmap/bg_my_vip"
android:gravity=
"center_vertical"
android:gravity=
"center_vertical"
android:orientation=
"vertical"
android:orientation=
"vertical"
android:paddingLeft=
"
104
dp"
>
android:paddingLeft=
"
98
dp"
>
<TextView
<TextView
android:id=
"@+id/tv_my_vip"
android:id=
"@+id/tv_my_vip"
...
@@ -106,7 +106,7 @@
...
@@ -106,7 +106,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"开通VIP会员"
android:text=
"开通VIP会员"
android:textColor=
"#FFE5BA"
android:textColor=
"#FFE5BA"
android:textSize=
"2
4
sp"
android:textSize=
"2
0
sp"
android:textStyle=
"bold"
/>
android:textStyle=
"bold"
/>
<TextView
<TextView
...
@@ -114,7 +114,7 @@
...
@@ -114,7 +114,7 @@
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"4dp"
android:layout_marginTop=
"4dp"
android:textSize=
"1
6
sp"
android:textSize=
"1
4
sp"
android:text=
"万本小说免费看"
android:text=
"万本小说免费看"
android:textColor=
"#ADABAA"
/>
android:textColor=
"#ADABAA"
/>
...
@@ -123,14 +123,14 @@
...
@@ -123,14 +123,14 @@
<Button
<Button
android:id=
"@+id/tv_my_btn"
android:id=
"@+id/tv_my_btn"
android:layout_width=
"
10
0dp"
android:layout_width=
"
8
0dp"
android:layout_height=
"3
6
dp"
android:layout_height=
"3
2
dp"
android:layout_gravity=
"center_vertical|right"
android:layout_gravity=
"center_vertical|right"
android:layout_marginRight=
"10dp"
android:layout_marginRight=
"10dp"
android:background=
"@drawable/shape_my"
android:background=
"@drawable/shape_my"
android:text=
"立即开通"
android:text=
"立即开通"
android:textColor=
"#4F301D"
android:textColor=
"#4F301D"
android:textSize=
"1
6
sp"
android:textSize=
"1
4
sp"
android:textStyle=
"bold"
/>
android:textStyle=
"bold"
/>
</FrameLayout>
</FrameLayout>
...
...
book/app/src/main/res/layout/item_booklike.xml
View file @
b07b98a2
...
@@ -2,10 +2,13 @@
...
@@ -2,10 +2,13 @@
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"178dp"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
android:layout_marginLeft=
"3dp"
android:paddingTop=
"6dp"
android:layout_marginRight=
"3dp"
android:paddingBottom=
"6dp"
>
android:layout_marginTop=
"3dp"
android:paddingBottom=
"10dp"
android:orientation=
"vertical"
>
<ImageView
<ImageView
android:id=
"@+id/image_iv"
android:id=
"@+id/image_iv"
...
@@ -23,6 +26,7 @@
...
@@ -23,6 +26,7 @@
android:layout_marginTop=
"4dp"
android:layout_marginTop=
"4dp"
android:lines=
"2"
android:lines=
"2"
android:text=
"我去平行时空"
android:text=
"我去平行时空"
android:ellipsize=
"end"
android:textColor=
"@color/black"
android:textColor=
"@color/black"
android:textSize=
"13sp"
android:textSize=
"13sp"
app:layout_constraintStart_toStartOf=
"@id/image_iv"
app:layout_constraintStart_toStartOf=
"@id/image_iv"
...
@@ -33,7 +37,6 @@
...
@@ -33,7 +37,6 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"2dp"
android:layout_marginTop=
"2dp"
android:ellipsize=
"end"
android:maxLines=
"1"
android:maxLines=
"1"
android:text=
"重回80年代"
android:text=
"重回80年代"
android:textColor=
"@color/gray"
android:textColor=
"@color/gray"
...
...
book/app/src/main/res/layout/item_hotbook.xml
View file @
b07b98a2
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"126dp"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"6dp"
android:layout_margin=
"10dp"
android:paddingLeft=
"6dp"
android:layout_marginTop=
"6dp"
android:paddingBottom=
"5dp"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
<ImageView
<ImageView
android:id=
"@+id/image_iv"
android:id=
"@+id/image_iv"
android:layout_width=
"
9
0dp"
android:layout_width=
"
8
0dp"
android:layout_height=
"1
26
dp"
android:layout_height=
"1
10
dp"
android:scaleType=
"centerCrop"
android:scaleType=
"centerCrop"
android:src=
"@mipmap/ic_launcher_main"
/>
android:src=
"@mipmap/ic_launcher_main"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"1
2
6dp"
android:layout_height=
"1
1
6dp"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:orientation=
"vertical"
android:orientation=
"vertical"
android:paddingStart=
"10dp"
>
android:paddingStart=
"10dp"
>
...
@@ -24,7 +27,8 @@
...
@@ -24,7 +27,8 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"6dp"
android:layout_marginTop=
"6dp"
android:lines=
"2"
android:lines=
"1"
android:ellipsize=
"end"
android:text=
"我去平行时空"
android:text=
"我去平行时空"
android:textColor=
"@color/black"
android:textColor=
"@color/black"
android:textSize=
"14sp"
/>
android:textSize=
"14sp"
/>
...
@@ -44,7 +48,6 @@
...
@@ -44,7 +48,6 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"12dp"
android:layout_marginTop=
"12dp"
android:ellipsize=
"end"
android:maxLines=
"1"
android:maxLines=
"1"
android:textSize=
"12sp"
/>
android:textSize=
"12sp"
/>
...
...
book/app/src/main/res/layout/item_list_count.xml
View file @
b07b98a2
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"126dp"
android:layout_height=
"126dp"
android:layout_marginBottom=
"10dp"
android:layout_marginBottom=
"10dp"
android:paddingRight=
"4dp"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
<ImageView
<ImageView
...
@@ -25,8 +26,9 @@
...
@@ -25,8 +26,9 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"4dp"
android:layout_marginTop=
"4dp"
android:lines=
"
2
"
android:lines=
"
1
"
android:textStyle=
"bold"
android:textStyle=
"bold"
android:ellipsize=
"end"
android:text=
"我去平行时空"
android:text=
"我去平行时空"
android:textColor=
"@color/black"
android:textColor=
"@color/black"
android:textSize=
"18sp"
/>
android:textSize=
"18sp"
/>
...
@@ -35,8 +37,10 @@
...
@@ -35,8 +37,10 @@
android:id=
"@+id/info_tv"
android:id=
"@+id/info_tv"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"4dp"
android:layout_marginTop=
"6dp"
android:lines=
"2"
android:lines=
"3"
android:ellipsize=
"end"
android:minLines=
"3"
android:textColor=
"@color/gray"
android:textColor=
"@color/gray"
android:textSize=
"16sp"
/>
android:textSize=
"16sp"
/>
...
...
book/app/src/main/res/layout/item_newbook.xml
View file @
b07b98a2
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"
126dp
"
android:layout_height=
"
wrap_content
"
android:layout_margin
Bottom
=
"6dp"
android:layout_margin=
"6dp"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
<ImageView
<ImageView
android:id=
"@+id/image_iv"
android:id=
"@+id/image_iv"
android:layout_width=
"0dp"
android:layout_width=
"90dp"
android:layout_height=
"126dp"
android:layout_height=
"116dp"
android:layout_weight=
"1"
android:scaleType=
"centerCrop"
android:scaleType=
"centerCrop"
android:src=
"@mipmap/ic_launcher_main"
/>
android:src=
"@mipmap/ic_launcher_main"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"1
2
6dp"
android:layout_height=
"1
1
6dp"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:orientation=
"vertical"
android:orientation=
"vertical"
android:paddingStart=
"
10
dp"
>
android:paddingStart=
"
4
dp"
>
<TextView
<TextView
android:id=
"@+id/title_tv"
android:id=
"@+id/title_tv"
...
@@ -27,6 +26,7 @@
...
@@ -27,6 +26,7 @@
android:layout_marginTop=
"6dp"
android:layout_marginTop=
"6dp"
android:lines=
"2"
android:lines=
"2"
android:text=
"我去平行时空"
android:text=
"我去平行时空"
android:ellipsize=
"end"
android:textColor=
"@color/black"
android:textColor=
"@color/black"
android:textSize=
"14sp"
/>
android:textSize=
"14sp"
/>
...
@@ -37,6 +37,7 @@
...
@@ -37,6 +37,7 @@
android:layout_marginTop=
"10dp"
android:layout_marginTop=
"10dp"
android:ellipsize=
"end"
android:ellipsize=
"end"
android:lines=
"2"
android:lines=
"2"
android:minLines=
"2"
android:textColor=
"@color/gray"
android:textColor=
"@color/gray"
android:textSize=
"12sp"
/>
android:textSize=
"12sp"
/>
...
@@ -45,7 +46,6 @@
...
@@ -45,7 +46,6 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"12dp"
android:layout_marginTop=
"12dp"
android:ellipsize=
"end"
android:maxLines=
"1"
android:maxLines=
"1"
android:textSize=
"12sp"
/>
android:textSize=
"12sp"
/>
...
...
book/app/src/main/res/layout/item_video_tab.xml
View file @
b07b98a2
...
@@ -7,15 +7,17 @@
...
@@ -7,15 +7,17 @@
<TextView
<TextView
android:id=
"@+id/item_tv"
android:id=
"@+id/item_tv"
android:layout_width=
"
70dp
"
android:layout_width=
"
wrap_content
"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"热闹"
android:text=
"热闹"
android:gravity=
"center"
android:gravity=
"center"
android:paddingTop=
"10dp"
android:paddingTop=
"8dp"
android:paddingLeft=
"18dp"
android:paddingRight=
"18dp"
android:background=
"@drawable/shape_book_text_none"
android:background=
"@drawable/shape_book_text_none"
android:paddingBottom=
"
10
dp"
android:paddingBottom=
"
8
dp"
android:textColor=
"@color/color_8D8F90"
android:textColor=
"@color/color_8D8F90"
android:textSize=
"1
8
sp"
android:textSize=
"1
6
sp"
android:textStyle=
"bold"
/>
android:textStyle=
"bold"
/>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
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