Commit ae56153c by ydl

backup

parent effb01e8
......@@ -19,14 +19,14 @@ buildscript {
google()
//壹点灵android maven私服 开发版
maven{
maven {
url 'http://nexus.yidianling.com/repository/AndroidRepository/'
credentials {
username "admin"
password "fjoi#1+#@"
}
}
maven{
maven {
url 'http://nexus.yidianling.com/repository/AndroidReleases/'
credentials {
username "admin"
......@@ -35,7 +35,7 @@ buildscript {
}
//Umeng sdk maven 地址
maven { url 'https://dl.bintray.com/umsdk/release' }
maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
maven {
url 'https://dl.bintray.com/zouyuhan/maven'
......@@ -67,14 +67,14 @@ buildscript {
allprojects {
repositories {
//壹点灵android maven私服 开发版
maven{
maven {
url 'http://nexus.yidianling.com/repository/AndroidRepository/'
credentials {
username "admin"
password "fjoi#1+#@"
}
}
maven{
maven {
url 'http://nexus.yidianling.com/repository/AndroidReleases/'
credentials {
username "admin"
......@@ -83,7 +83,7 @@ allprojects {
}
//Umeng sdk maven 地址
maven { url 'https://dl.bintray.com/umsdk/release' }
maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
// maven { url'http://developer.huawei.com/repo/' }
maven { url "https://jitpack.io" }
maven {
......@@ -94,6 +94,7 @@ allprojects {
}
google()
jcenter()
maven { url 'https://maven.aliyun.com/repository/releases' }
}
}
......
......@@ -244,11 +244,11 @@ class HomeModuleCategoryView : FrameLayout {
if (i > 3) {
multiple = 2
imageParams.topMargin =
imageEightViewWidth + dp8 + textViewHeight + dp8 + RxImageTool.dip2px(1f) - dp3 - dp1 - dp1
imageEightViewWidth + dp8 + textViewHeight + dp8 + RxImageTool.dip2px(1f) - dp3 - dp1 - dp1 - dp1 - dp1
imageParams.leftMargin = dp15 + margin * (i - 3) + (i - 4) * (imageEightViewWidth + margin)
} else {
multiple = 1
imageParams.topMargin = (dp8 + dp3 - dp6)
imageParams.topMargin = (dp8 + dp3 - dp6 - dp1 - dp1)
imageParams.leftMargin = dp15 + margin * (i + 1) + i * (imageEightViewWidth + margin)
}
imageView.layoutParams = imageParams
......@@ -264,13 +264,13 @@ class HomeModuleCategoryView : FrameLayout {
val textView = TextView(context)
textView.setTextColor(Color.parseColor("#666666"))
textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, 11f)
textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, 12f)
textView.gravity = Gravity.CENTER_HORIZONTAL
if (index > 3) {
textParams.topMargin = 2 * (imageEightViewWidth + dp8) + textViewHeight + dp8 - dp3 - dp3 - dp1 - dp1
textParams.topMargin = 2 * (imageEightViewWidth + dp8) + textViewHeight + dp8 - dp3 - dp3 - dp1 - dp1 - dp1 - dp1
textParams.leftMargin = dp15 + textViewWidth * (index - 4)
} else {
textParams.topMargin = imageEightViewWidth + (dp8 + dp3 - dp6) + dp8 - dp3
textParams.topMargin = imageEightViewWidth + (dp8 + dp3 - dp6) + dp8 - dp3 - dp1 - dp1
textParams.leftMargin = dp15 + textViewWidth * (index)
}
textView.layoutParams = textParams
......
......@@ -14,7 +14,6 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:gravity="center_vertical"
android:orientation="horizontal"
android:clipChildren="false"
......
......@@ -44,7 +44,7 @@
<ImageView
android:id="@+id/iv_search_icon"
android:layout_marginLeft="18dp"
android:layout_marginRight="11dp"
android:layout_marginRight="8dp"
android:layout_width="18dp"
android:layout_height="18dp"
android:scaleType="centerCrop"
......
......@@ -15,7 +15,7 @@
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/platform_dp_8"
android:layout_marginRight="@dimen/platform_dp_8"
android:layout_marginTop="@dimen/platform_dp_10"
android:layout_marginTop="@dimen/platform_dp_6"
android:orientation="vertical"
android:background="@drawable/home_view_shadow_bg"/>
......
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