Commit 877954d5 authored by shiyl's avatar shiyl

add 添加屏幕适配

parent f106c590
......@@ -7,7 +7,6 @@ plugins {
android {
compileSdkVersion build_versions.compileSdkVersion
buildToolsVersion "30.0.2"
publishNonDefault true
defaultConfig {
......
......@@ -18,6 +18,13 @@
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<meta-data
android:name="design_width_in_dp"
android:value="375" />
<meta-data
android:name="design_height_in_dp"
android:value="667" />
<application
android:name=".YdSubwayApplication"
......
......@@ -82,7 +82,9 @@ ext.dependencies = [
'com.yidian.framework.mobile:ydutils:1.0.1-SNAPSHOT',
'com.yidian.framework.mobile:xdiamond:1.0.6',
'com.loopj.android:android-async-http:1.4.9'
'com.loopj.android:android-async-http:1.4.9',
// 屏幕适配
'me.jessyan:autosize:1.2.1'
],
other : [
':CommonLib:Common'
......
......@@ -2,7 +2,6 @@ apply plugin: 'com.android.library'
android {
compileSdkVersion build_versions.compileSdkVersion
buildToolsVersion "27.0.0"
defaultConfig {
minSdkVersion build_versions.minSdkVersion
targetSdkVersion build_versions.targetSdkVersion
......@@ -33,11 +32,10 @@ android {
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
implementation fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:25+'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.android.support:appcompat-v7:25+'
implementation 'com.android.support.constraint:constraint-layout:2.0.1'
}
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