新增了两个项目

This commit is contained in:
xuhuixiang
2025-02-26 16:20:38 +08:00
parent b65c79430e
commit 88266e7353
83 changed files with 2322 additions and 4 deletions

View File

@@ -77,6 +77,7 @@ public class MainActivity2 extends AppCompatActivity {
TextView tvErrorMsg;
LinearLayout layoutError;
ImageView show_top_v;
private ImageView showTopV1;
ImageView menu_iv;
private ImageView helpIv;
private LinearLayout showTopLy;
@@ -226,6 +227,7 @@ public class MainActivity2 extends AppCompatActivity {
// setopHeight();
findViewById(R.id.back_iv).setOnClickListener(view -> onBackPressed());
floatingActionButton = findViewById(R.id.bt_menu);
otherApp = findViewById(R.id.bt_otherapp);
ivotherApp = findViewById(R.id.iv_otherApp);
@@ -334,6 +336,20 @@ public class MainActivity2 extends AppCompatActivity {
showTopLy.setBackgroundResource(drawableId);
}
/**
* 显示圆角还是 原样显示
* @param isRound
*/
public void setImageView(boolean isRound){
if(isRound){
show_top_v.setVisibility(View.VISIBLE);
showTopV1.setVisibility(View.GONE);
}else{
show_top_v.setVisibility(View.GONE);
showTopV1.setVisibility(View.VISIBLE);
}
}
//跳转通知列表
private void notifyclick() {
startActivity(new Intent(this, NotifyListActivity.class));
@@ -757,6 +773,8 @@ public class MainActivity2 extends AppCompatActivity {
topVvvv = (View) findViewById(R.id.top_vvvv);
webView = findViewById(R.id.webview);
show_top_v = findViewById(R.id.show_top_v);
showTopV1 = (ImageView) findViewById(R.id.show_top_v1);
showTopLy = findViewById(R.id.show_top_ly);
videoContainer = (FrameLayout) findViewById(R.id.videoContainer);
backIv = (ImageView) findViewById(R.id.back_iv);

View File

@@ -351,6 +351,14 @@
app:ease_border_color="#EEEEEE"
app:ease_border_width="1px"
app:es_shape_type="round" />
<ImageView
android:id="@+id/show_top_v1"
android:layout_width="100dp"
android:layout_height="100dp"
android:src="@mipmap/app_logo"
android:visibility="gone" />
</LinearLayout>
<LinearLayout