暂提
This commit is contained in:
parent
b9a6d9b966
commit
d662d5c3ea
@ -26,6 +26,6 @@ public class MyRelativeLayout5 extends RelativeLayout {
|
||||
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
|
||||
int widthSize = MeasureSpec.getSize(widthMeasureSpec);
|
||||
heightMeasureSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY);
|
||||
super.onMeasure(widthMeasureSpec, heightMeasureSpec+100);
|
||||
super.onMeasure(widthMeasureSpec, heightMeasureSpec+150);
|
||||
}
|
||||
}
|
||||
|
@ -332,7 +332,7 @@ public class RouteUtil {
|
||||
*/
|
||||
public static void forwardCustomerService(String url) {
|
||||
ARouter.getInstance().build(PATH_CS)
|
||||
.withString(Constants.URL, url)
|
||||
.withString(Constants.URL, url+"?1=1")
|
||||
.navigation();
|
||||
}
|
||||
|
||||
|
@ -4,8 +4,8 @@ ext {
|
||||
buildToolsVersion: "29.0.2",
|
||||
minSdkVersion : 23,
|
||||
targetSdkVersion : 34,
|
||||
versionCode : 697,
|
||||
versionName : "6.8.1"
|
||||
versionCode : 1,
|
||||
versionName : "1.0"
|
||||
]
|
||||
manifestPlaceholders = [
|
||||
//正式、
|
||||
|
@ -577,7 +577,7 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene
|
||||
});
|
||||
//获取指导员账号
|
||||
ConversationIMListManager.get(this).getUserInstructor(this);
|
||||
checkVersion();
|
||||
//checkVersion();
|
||||
//获取声网Token
|
||||
getSwToken();
|
||||
initLogUpdate();
|
||||
|
@ -170,7 +170,7 @@ public class MainHomeLiveViewHolder extends AbsMainHomeChildViewHolder implement
|
||||
}
|
||||
});
|
||||
mRefreshView.setLayoutManager(gridLayoutManager);
|
||||
ItemDecoration decoration = new ItemDecoration(mContext, 0x00000000, 5, 0);
|
||||
ItemDecoration decoration = new ItemDecoration(mContext, 0x00000000, 7, 0);
|
||||
decoration.setOnlySetItemOffsetsButNoDraw(true);
|
||||
mRefreshView.setItemDecoration(decoration);
|
||||
mAdapter = new MainHomeLiveAdapter(mContext, MainActivity.Height);
|
||||
|
@ -11,7 +11,6 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/live_info_view"
|
||||
android:layout_width="match_parent"
|
||||
@ -21,10 +20,8 @@
|
||||
|
||||
<com.yunbao.common.custom.MyRelativeLayout5
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="220dp"
|
||||
android:layout_marginBottom="9dp"
|
||||
android:paddingLeft="5dp">
|
||||
|
||||
android:layout_height="20dp"
|
||||
android:layout_marginBottom="7dp">
|
||||
|
||||
<com.makeramen.roundedimageview.RoundedImageView
|
||||
android:id="@+id/cover"
|
||||
@ -115,6 +112,7 @@
|
||||
android:paddingEnd="5dp"
|
||||
android:gravity="center_vertical"
|
||||
android:ellipsize="end"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:includeFontPadding="false"
|
||||
android:maxLines="1"
|
||||
android:textColor="#fff"
|
||||
@ -125,7 +123,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="5dp">
|
||||
android:layout_marginBottom="10dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/name"
|
||||
|
@ -101,6 +101,7 @@
|
||||
android:paddingEnd="5dp"
|
||||
android:gravity="center_vertical"
|
||||
android:ellipsize="end"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:includeFontPadding="false"
|
||||
android:maxLines="1"
|
||||
android:textColor="#fff"
|
||||
@ -111,7 +112,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="5dp">
|
||||
android:layout_marginBottom="10dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/name"
|
||||
|
@ -25,6 +25,7 @@
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:paddingStart="12dp"
|
||||
android:layout_marginTop="20dp"
|
||||
app:layout_scrollFlags="scroll|enterAlways">
|
||||
|
||||
@ -51,42 +52,36 @@
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ijiasdw"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentBottom="true">
|
||||
android:layout_alignParentRight="true">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/img_trophy"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:layout_width="19dp"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:layout_height="19dp"
|
||||
android:src="@mipmap/icon_main_bangdan"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:contentDescription="TODO"
|
||||
android:onClick="mainClick"
|
||||
android:padding="9dp" />
|
||||
android:onClick="mainClick" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/btn_search"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:layout_width="19dp"
|
||||
android:layout_height="19dp"
|
||||
android:layout_marginEnd="21dp"
|
||||
android:contentDescription="TODO"
|
||||
android:onClick="mainClick"
|
||||
android:padding="9dp"
|
||||
android:src="@mipmap/icon_main_search" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/btn_start_live"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="19dp"
|
||||
android:layout_marginEnd="17dp"
|
||||
android:contentDescription="TODO"
|
||||
android:onClick="mainClick"
|
||||
android:padding="6dp"
|
||||
android:src="@mipmap/icon_main_start_live_new" />
|
||||
</LinearLayout>
|
||||
|
||||
@ -98,7 +93,7 @@
|
||||
<androidx.viewpager.widget.ViewPager
|
||||
android:id="@+id/viewPager"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_marginTop="78dp"
|
||||
android:layout_marginTop="75dp"
|
||||
android:layout_height="match_parent"
|
||||
android:overScrollMode="never"
|
||||
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
||||
|
@ -7,6 +7,7 @@
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/classRecyclerView_top"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:overScrollMode="never" />
|
||||
|
||||
@ -14,8 +15,8 @@
|
||||
android:id="@+id/refreshView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="4dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:paddingStart="15dp"
|
||||
android:paddingEnd="15dp"
|
||||
android:layout_marginBottom="55dp" />
|
||||
|
||||
<FrameLayout
|
||||
|
Loading…
Reference in New Issue
Block a user