Kaynağa Gözat

压力锅测试

压力锅
applelon 8 ay önce
ebeveyn
işleme
1ba9e799f4
4 değiştirilmiş dosya ile 82 ekleme ve 6 silme
  1. +5
    -6
      app/src/main/AndroidManifest.xml
  2. +14
    -0
      app/src/main/java/com/bonait/bnframework/MainActivity.java
  3. BIN
     
  4. +63
    -0
      app/src/main/res/layout/datatab/layout/activity_main.xml

+ 5
- 6
app/src/main/AndroidManifest.xml Dosyayı Görüntüle

@@ -33,6 +33,7 @@
tools:ignore="GoogleAppIndexingWarning"
tools:node="merge"
tools:replace="android:icon">

<activity
android:name=".modules.home.fragment.mode.Silos_item_fragment"
android:exported="false"
@@ -43,7 +44,6 @@
<activity
android:name=".modules.mine.fragment.from.UserActivity"
android:exported="false" />

<activity
android:name=".modules.home.fragment.from.fragment.JiaoYan_sdkz_fragment"
android:exported="false"
@@ -56,7 +56,6 @@
android:name=".modules.home.fragment.from.WdszActivity"
android:exported="false"
tools:ignore="Instantiatable" />

<activity
android:name=".modules.home.fragment.from.DzcjyActivity"
android:exported="false"
@@ -165,17 +164,17 @@
</provider>

<activity
android:name=".modules.welcome.activity.WelcomeActivity"
android:name=".MainActivity"
android:exported="true"
android:theme="@style/AppTheme.Launcher">
android:theme="@style/AppTheme.Launcher"
tools:ignore="DuplicateActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".modules.welcome.activity.LoginActivity">
</activity>
<activity android:name=".modules.welcome.activity.LoginActivity"></activity>

<receiver
android:name=".common.base.BootReceiver"


+ 14
- 0
app/src/main/java/com/bonait/bnframework/MainActivity.java Dosyayı Görüntüle

@@ -0,0 +1,14 @@
package com.bonait.bnframework;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

public class MainActivity extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
}


+ 63
- 0
app/src/main/res/layout/datatab/layout/activity_main.xml Dosyayı Görüntüle

@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="utf-8"?>
<com.qmuiteam.qmui.widget.QMUIWindowInsetLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#FFFFFF"
tools:context=".MainActivity">

<androidx.core.widget.NestedScrollView
android:id="@+id/scrollView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:fillViewport="true"
android:scrollbarThumbVertical="@android:color/transparent"
android:scrollbars="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:layout_width="match_parent"
android:background="#3D7B97"
android:layout_height="30dp">
<TextView
android:gravity="center"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:textColor="@color/white"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="黑菠萝压力锅监控系统"></TextView>
</RelativeLayout>

<ImageView
android:layout_width="match_parent"
android:layout_height="500dp"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="50dp"
android:scaleType="fitEnd"
app:srcCompat="@drawable/ylg"></ImageView>

<RelativeLayout
android:layout_alignParentBottom="true"
android:layout_width="match_parent"
android:background="#5B9BB8"
android:layout_height="30dp">
<TextView
android:gravity="center"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:textColor="@color/white"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="黑菠萝科技 copyright@2022"></TextView>
</RelativeLayout>

</RelativeLayout>

</androidx.core.widget.NestedScrollView>
</com.qmuiteam.qmui.widget.QMUIWindowInsetLayout>

Yükleniyor…
İptal
Kaydet