Commit e6584dc9 by YKai

feat: 加入屏幕适配

parent c83bc175
...@@ -35,11 +35,8 @@ buildscript { ...@@ -35,11 +35,8 @@ buildscript {
} }
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'
// }
google() google()
jcenter() mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
//Umeng sdk maven 地址 //Umeng sdk maven 地址
maven { url 'https://repo1.maven.org/maven2/'} maven { url 'https://repo1.maven.org/maven2/'}
...@@ -82,20 +79,16 @@ allprojects { ...@@ -82,20 +79,16 @@ allprojects {
} }
} }
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 { url "https://jitpack.io" }
maven { maven {
// url 'https://maven.google.com'
url'https://dl.google.com/dl/android/maven2/' url'https://dl.google.com/dl/android/maven2/'
} }
// maven {
// url 'https://dl.bintray.com/zouyuhan/maven'
// }
google() google()
jcenter() mavenCentral()
maven { url 'https://maven.aliyun.com/repository/releases' } maven { url 'https://maven.aliyun.com/repository/releases' }
//Umeng sdk maven 地址 //Umeng sdk maven 地址
maven { url 'https://repo1.maven.org/maven2/'} maven { url 'https://repo1.maven.org/maven2/'}
maven { url "https://jitpack.io" }
} }
} }
......
...@@ -34,7 +34,7 @@ ext { ...@@ -34,7 +34,7 @@ ext {
//-------------- 功能组件 -------------- //-------------- 功能组件 --------------
//第一步 //第一步
"ydl-platform" : "0.0.41.43", "ydl-platform" : "0.0.41.55",
//第二步 若干 //第二步 若干
"ydl-webview" : "0.0.38.57", "ydl-webview" : "0.0.38.57",
...@@ -118,7 +118,7 @@ ext { ...@@ -118,7 +118,7 @@ ext {
//-------------- 功能组件 -------------- //-------------- 功能组件 --------------
//第一步 //第一步
"ydl-platform" : "0.0.41.43", "ydl-platform" : "0.0.41.55",
//第二步 若干 //第二步 若干
"ydl-webview" : "0.0.38.57", "ydl-webview" : "0.0.38.57",
...@@ -162,7 +162,7 @@ ext { ...@@ -162,7 +162,7 @@ ext {
"picasso" : "com.squareup.picasso:picasso:2.5.2", "picasso" : "com.squareup.picasso:picasso:2.5.2",
//view //view
"autolayout" : "com.zhy:autolayout:1.4.5", "android-auto-size" : "com.github.JessYanCoding:AndroidAutoSize:v1.2.1",
"butterknife" : "com.jakewharton:butterknife:${version["butterknifeSdkVersion"]}", "butterknife" : "com.jakewharton:butterknife:${version["butterknifeSdkVersion"]}",
"butterknife-compiler" : "com.jakewharton:butterknife-compiler:${version["butterknifeSdkVersion"]}", "butterknife-compiler" : "com.jakewharton:butterknife-compiler:${version["butterknifeSdkVersion"]}",
"pickerview" : "com.contrarywind:Android-PickerView:3.2.5", "pickerview" : "com.contrarywind:Android-PickerView:3.2.5",
...@@ -171,7 +171,6 @@ ext { ...@@ -171,7 +171,6 @@ ext {
"nineoldandroids" : "com.nineoldandroids:library:2.4.0", "nineoldandroids" : "com.nineoldandroids:library:2.4.0",
"paginate" : "com.github.markomilos:paginate:0.5.1", "paginate" : "com.github.markomilos:paginate:0.5.1",
"vlayout" : "com.alibaba.android:vlayout:1.1.0@aar", "vlayout" : "com.alibaba.android:vlayout:1.1.0@aar",
"autosize" : "me.jessyan:autosize:1.1.2",
//rx1 //rx1
"rxandroid" : "io.reactivex:rxandroid:1.2.1", "rxandroid" : "io.reactivex:rxandroid:1.2.1",
...@@ -299,6 +298,7 @@ ext { ...@@ -299,6 +298,7 @@ ext {
"ydl-m-dynamic-api" : "com.ydl:m-dynamic-api:${ydlCompileVersion["m-dynamic-api"]}", "ydl-m-dynamic-api" : "com.ydl:m-dynamic-api:${ydlCompileVersion["m-dynamic-api"]}",
"ydl-m-confide-api" : "com.ydl:m-confide-api:${ydlCompileVersion["m-confide-api"]}", "ydl-m-confide-api" : "com.ydl:m-confide-api:${ydlCompileVersion["m-confide-api"]}",
"ydl-m-course-api" : "com.ydl:m-course-api:${ydlCompileVersion["m-course-api"]}", "ydl-m-course-api" : "com.ydl:m-course-api:${ydlCompileVersion["m-course-api"]}",
] ]
} }
...@@ -134,6 +134,7 @@ dependencies { ...@@ -134,6 +134,7 @@ dependencies {
api rootProject.ext.dependencies["xrecyclerview"] api rootProject.ext.dependencies["xrecyclerview"]
api rootProject.ext.dependencies["flowlayout"] api rootProject.ext.dependencies["flowlayout"]
api rootProject.ext.dependencies["androidanimations"] api rootProject.ext.dependencies["androidanimations"]
api rootProject.ext.dependencies["android-auto-size"]
//====================Tools==================== //====================Tools====================
api rootProject.ext.dependencies["robust"] api rootProject.ext.dependencies["robust"]
api rootProject.ext.dependencies["walle"] api rootProject.ext.dependencies["walle"]
......
...@@ -24,5 +24,14 @@ ...@@ -24,5 +24,14 @@
<action android:name="android.intent.action.DOWNLOAD_NOTIFICATION_CLICKED"/> <action android:name="android.intent.action.DOWNLOAD_NOTIFICATION_CLICKED"/>
</intent-filter> </intent-filter>
</receiver> </receiver>
<!--屏幕适配-->
<meta-data
android:name="design_width_in_dp"
android:value="375" />
<meta-data
android:name="design_height_in_dp"
android:value="812" />
</application> </application>
</manifest> </manifest>
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