主播协议回退问题,1

This commit is contained in:
老皮 2024-09-12 18:32:21 +08:00
parent 361d23b9ef
commit d181e0e743
3 changed files with 10 additions and 2 deletions

View File

@ -94,6 +94,15 @@ public class WebViewActivity extends AbsActivity {
// getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR | View.SYSTEM_UI_FLAG_LAYOUT_STABLE); // getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR | View.SYSTEM_UI_FLAG_LAYOUT_STABLE);
} }
@Override
public void backClick(View v) {
if (mWebView.canGoBack()){
mWebView.goBack();
}else {
finish();
}
}
@Override @Override
protected void main() { protected void main() {
String url = getIntent().getStringExtra(Constants.URL); String url = getIntent().getStringExtra(Constants.URL);

View File

@ -16,7 +16,6 @@
android:id="@+id/ft_title" android:id="@+id/ft_title"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="72dp" android:layout_height="72dp"
android:background="@color/white" android:background="@color/white"
android:paddingTop="24dp" android:paddingTop="24dp"
tools:visibility="gone"> tools:visibility="gone">

View File

@ -453,7 +453,7 @@
<androidx.cardview.widget.CardView <androidx.cardview.widget.CardView
android:id="@+id/lt_advertisement" android:id="@+id/lt_advertisement"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="107dp" android:layout_height="110dp"
app:layout_constraintTop_toBottomOf="@id/recyclerView" app:layout_constraintTop_toBottomOf="@id/recyclerView"
android:layout_marginTop="14dp" android:layout_marginTop="14dp"
android:layout_marginEnd="16dp" android:layout_marginEnd="16dp"