添加今日头条的屏幕适配
This commit is contained in:
1
.idea/runConfigurations.xml
generated
1
.idea/runConfigurations.xml
generated
@@ -3,6 +3,7 @@
|
||||
<component name="RunConfigurationProducerService">
|
||||
<option name="ignoredProducers">
|
||||
<set>
|
||||
<option value="com.android.tools.idea.compose.preview.runconfiguration.ComposePreviewRunConfigurationProducer" />
|
||||
<option value="org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer" />
|
||||
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer" />
|
||||
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestMethodGradleConfigurationProducer" />
|
||||
|
||||
@@ -158,6 +158,7 @@ android {
|
||||
implementation 'cn.jiguang.sdk:jcore:2.3.8'
|
||||
implementation 'com.tbruyelle.rxpermissions2:rxpermissions:0.9.5@aar'
|
||||
api 'io.reactivex.rxjava2:rxjava:2.1.5'
|
||||
implementation 'me.jessyan:autosize:1.1.2'
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -413,6 +413,13 @@
|
||||
android:theme="@style/wxPayTheme"
|
||||
android:windowSoftInputMode="adjustPan|stateAlwaysHidden" />
|
||||
<activity android:name=".discovery.LikeActivity" />
|
||||
<!-- 如果您项目中的所有页面都只需要以高或宽中的一个作为基准进行适配的话, 那就只需要填写高或宽中的一个设计图尺寸即可 -->
|
||||
<meta-data
|
||||
android:name="design_width_in_dp"
|
||||
android:value="360"/>
|
||||
<meta-data
|
||||
android:name="design_height_in_dp"
|
||||
android:value="640"/>
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
@@ -105,25 +105,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dip"
|
||||
android:background="@color/lightlittleGrey" />
|
||||
<!-- <LinearLayout-->
|
||||
<!-- android:layout_width="match_parent"-->
|
||||
<!-- android:orientation="vertical"-->
|
||||
<!-- android:layout_height="wrap_content">-->
|
||||
<!-- <TextView-->
|
||||
<!-- android:layout_width="wrap_content"-->
|
||||
<!-- android:text="地址"-->
|
||||
<!-- android:layout_marginLeft="20dip"-->
|
||||
<!-- android:layout_marginRight="20dp"-->
|
||||
<!-- android:layout_marginTop="20dp"-->
|
||||
<!-- android:layout_height="wrap_content" />-->
|
||||
<!-- <RadioGroup-->
|
||||
<!-- android:layout_width="match_parent"-->
|
||||
<!-- android:id="@+id/myradio"-->
|
||||
<!-- android:layout_margin="18dip"-->
|
||||
<!-- android:layout_height="match_parent">-->
|
||||
|
||||
<!-- </RadioGroup>-->
|
||||
<!-- </LinearLayout>-->
|
||||
<LinearLayout
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -7,7 +7,7 @@ buildscript {
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:3.1.0'
|
||||
classpath 'com.android.tools.build:gradle:4.2.2'
|
||||
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
|
||||
6
gradle/wrapper/gradle-wrapper.properties
vendored
6
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,6 +1,6 @@
|
||||
#Mon Aug 03 09:06:55 CST 2020
|
||||
#Wed Jul 21 22:05:06 CST 2021
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
|
||||
Reference in New Issue
Block a user