Commit ed92bebc by 严久程

区分心理咨询华为渠道

parent 5989f51d
......@@ -74,19 +74,6 @@ class HomeButtonBannerView(private val mContext: Context, private var homeEvent:
homeModuleButtonBannerFourth.background =
resources.getDrawable(R.drawable.home_listen_bt_bg_huawei)
homeModuleButtonBannerFirst.setPadding(15, 0, 0, 0)
homeModuleButtonBannerFourth.setPadding(15, 0, 0, 0)
val params1 =
homeModuleButtonBannerFirstTitle.layoutParams as RelativeLayout.LayoutParams
params1.addRule(RelativeLayout.ALIGN_PARENT_START)
homeModuleButtonBannerFirstTitle.layoutParams = params1
val params2 =
homeModuleButtonBannerFourthTitle.layoutParams as RelativeLayout.LayoutParams
params2.addRule(RelativeLayout.ALIGN_PARENT_START)
homeModuleButtonBannerFourthTitle.layoutParams = params2
homeModuleButtonBannerFirstTitle.setTextColor(Color.WHITE)
tv_first_text.setTextColor(Color.WHITE)
homeModuleButtonBannerFourthTitle.setTextColor(Color.WHITE)
......
......@@ -9,7 +9,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginTop="8dp"
android:layout_marginRight="15dp"
android:gravity="center_horizontal"
android:orientation="horizontal"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment