直播间修改

This commit is contained in:
18401019693
2022-08-17 09:29:24 +08:00
parent 87d1212478
commit f8f1f4e647
32 changed files with 1097 additions and 626 deletions

View File

@@ -33,6 +33,7 @@
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_centerInParent="true"
android:scaleType="centerCrop"
android:layout_gravity="center" />
</RelativeLayout>
@@ -49,6 +50,7 @@
<com.yunbao.common.views.weight.ClipPathCircleImage
android:id="@+id/clip_image2"
android:layout_width="24dp"
android:scaleType="centerCrop"
android:layout_height="24dp"
android:layout_centerInParent="true"
android:layout_gravity="center" />
@@ -70,6 +72,7 @@
android:id="@+id/clip_image3"
android:layout_width="29dp"
android:layout_height="29dp"
android:scaleType="centerCrop"
android:layout_centerInParent="true"
android:layout_gravity="center" />
</RelativeLayout>
@@ -83,11 +86,13 @@
android:background="@drawable/bg_white_clip"
android:gravity="center"
android:padding="1dp"
android:visibility="visible">
<com.yunbao.common.views.weight.ClipPathCircleImage
android:id="@+id/clip_image4"
android:layout_width="29dp"
android:scaleType="centerCrop"
android:layout_height="29dp"
android:layout_centerInParent="true"
android:layout_gravity="center" />

View File

@@ -1,11 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<com.scwang.smartrefresh.layout.SmartRefreshLayout
xmlns:android="http://schemas.android.com/apk/res/android"
<com.scwang.smartrefresh.layout.SmartRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/refreshLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
android:layout_height="match_parent">
<com.scwang.smartrefresh.layout.header.ClassicsHeader
android:id="@+id/header"
@@ -17,8 +15,7 @@
app:srlTextPulling="@string/refresh_header_pulling"
app:srlTextRefreshing="@string/refresh_header_refreshing"
app:srlTextRelease="@string/refresh_header_release"
app:srlTextUpdate="@string/refresh_header_update"
/>
app:srlTextUpdate="@string/refresh_header_update" />
<FrameLayout
android:layout_width="match_parent"
@@ -28,15 +25,13 @@
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:overScrollMode="never"
/>
android:overScrollMode="never" />
<FrameLayout
android:id="@+id/no_data_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="invisible"
>
android:visibility="invisible">
<TextView
@@ -46,8 +41,7 @@
android:layout_marginBottom="8dp"
android:text="@string/no_data"
android:textColor="@color/gray1"
android:textSize="14sp"
/>
android:textSize="14sp" />
</FrameLayout>
@@ -59,33 +53,29 @@
android:gravity="center_horizontal"
android:orientation="vertical"
android:translationY="-60dp"
android:visibility="invisible"
>
android:visibility="invisible">
<ImageView
android:layout_width="120dp"
android:layout_height="74dp"
android:scaleType="fitXY"
android:src="@mipmap/bg_load_failure"
/>
android:src="@mipmap/bg_load_failure" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:text="@string/load_failure"
android:textColor="@color/textColor"
android:textSize="14sp"
/>
android:textSize="14sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/load_failure_2"
android:textColor="@color/gray1"
android:textSize="14sp"
/>
android:textSize="14sp" />
<TextView
android:id="@+id/btn_reload"
@@ -96,8 +86,7 @@
android:gravity="center"
android:text="@string/reload"
android:textColor="@color/white"
android:textSize="14sp"
/>
android:textSize="14sp" />
</LinearLayout>
@@ -107,14 +96,13 @@
android:id="@+id/footer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
app:srlTextFailed="@string/refresh_footer_failed"
app:srlTextFinish="@string/refresh_footer_finish"
app:srlTextLoading="@string/refresh_footer_loading"
app:srlTextNothing="@string/refresh_footer_nothing"
app:srlTextPulling="@string/refresh_footer_pulling"
app:srlTextRefreshing="@string/refresh_footer_refreshing"
app:srlTextRelease="@string/refresh_footer_release"
android:visibility="gone"
/>
app:srlTextRelease="@string/refresh_footer_release" />
</com.scwang.smartrefresh.layout.SmartRefreshLayout>

View File

@@ -846,4 +846,18 @@ Limited ride And limited avatar frame</string>
<string name="whole_station_horn">Whole station horn</string>
<string name="quote">quote</string>
<string name="whole_station_horn_hint">Available times: %s Note: Update times at 4:00 am on the 1st of each month</string>
<string name="cannot_be_empty">Content cannot be empty</string>
<string name="site_wide_news">Noble exclusive site-wide news</string>
<string name="site_wide_news_hint1">Display messages on the whole station and jump to the current live room</string>
<string name="site_wide_news_hint2">Open noble king, emperor, super emperor to get free</string>
<string name="back">back</string>
<string name="go_nobility">to the nobles</string>
<string name="use_successfully">Use successfully</string>
<string name="use_live">Go to the live room</string>
<string name="search_history">search history</string>
<string name="you_may_also_like">you may also like</string>
<string name="anchor">anchor</string>
<string name="anchor_more">More</string>
<string name="wonderful_live">Wonderful live</string>
<string name="recommended_for_you">recommended for you</string>
</resources>

View File

@@ -871,4 +871,5 @@
<string name="anchor">主播</string>
<string name="anchor_more">更多</string>
<string name="wonderful_live">精彩直播</string>
<string name="recommended_for_you">為您推薦</string>
</resources>