测试修改

This commit is contained in:
18401019693 2022-10-28 11:14:02 +08:00
parent 025c8d74aa
commit 4be0148324
4 changed files with 18 additions and 1 deletions

View File

@ -18,7 +18,7 @@
android:name=".activity.LiveAudienceActivity" android:name=".activity.LiveAudienceActivity"
android:configChanges="screenLayout|orientation" android:configChanges="screenLayout|orientation"
android:launchMode="singleTask" android:launchMode="singleTask"
android:screenOrientation="portrait"
android:theme="@style/AppTheme" android:theme="@style/AppTheme"
android:windowSoftInputMode="adjustPan|stateAlwaysHidden" android:windowSoftInputMode="adjustPan|stateAlwaysHidden"
tools:targetApi="n" /> tools:targetApi="n" />

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:width="14dp"
android:height="3dp"
android:gravity="center">
<shape>
<corners android:radius="1.5dp" />
<!--color无效源码用tabIndicatorColor-->
<solid android:color="@color/colorPrimary" />
</shape>
</item>
</layer-list>

View File

@ -18,11 +18,13 @@
android:id="@+id/tabLayout" android:id="@+id/tabLayout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="40dp" android:layout_height="40dp"
app:tabGravity="center"
android:layout_marginBottom="10dp" android:layout_marginBottom="10dp"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
app:tabIndicatorFullWidth="false" app:tabIndicatorFullWidth="false"
app:tabIndicator="@drawable/shape_tab_indicator"
app:tabMaxWidth="100dp" app:tabMaxWidth="100dp"
app:tabMode="scrollable"> app:tabMode="scrollable">

View File

@ -17,6 +17,7 @@ import com.yunbao.common.interfaces.CommonCallback;
import com.yunbao.common.manager.IMLoginManager; import com.yunbao.common.manager.IMLoginManager;
import com.yunbao.common.utils.MD5Util; import com.yunbao.common.utils.MD5Util;
import com.yunbao.common.utils.SpUtil; import com.yunbao.common.utils.SpUtil;
import com.yunbao.common.utils.VersionUtil;
import com.yunbao.main.utils.MacUitl; import com.yunbao.main.utils.MacUitl;
import org.greenrobot.eventbus.EventBus; import org.greenrobot.eventbus.EventBus;
@ -307,6 +308,7 @@ public class MainHttpUtil {
*/ */
public static void getSettingList(HttpCallback callback) { public static void getSettingList(HttpCallback callback) {
HttpClient.getInstance().get("User.getPerSetting", MainHttpConsts.GET_SETTING_LIST) HttpClient.getInstance().get("User.getPerSetting", MainHttpConsts.GET_SETTING_LIST)
.params("version", VersionUtil.getVersion())
.execute(callback); .execute(callback);
} }