liuyuqi-dellpc 4 years ago
parent
commit
03a5816956
48 changed files with 1344 additions and 6 deletions
  1. 3 0
      app/build.gradle
  2. 16 1
      app/src/main/AndroidManifest.xml
  3. 41 1
      app/src/main/java/com/hicorenational/antifraud/MainActivity.java
  4. 78 0
      app/src/main/java/com/hicorenational/antifraud/utils/SPUtils.java
  5. 18 0
      app/src/main/java/com/hicorenational/antifraud/views/PersonalActivity.java
  6. 39 0
      app/src/main/java/com/hicorenational/antifraud/views/SettingActivity.java
  7. 39 0
      app/src/main/java/com/hicorenational/antifraud/views/SplashActivity.java
  8. 24 0
      app/src/main/java/com/hicorenational/antifraud/views/fragment/DashboardFragment.java
  9. 25 0
      app/src/main/java/com/hicorenational/antifraud/views/fragment/HomeFragment.java
  10. 26 0
      app/src/main/java/com/hicorenational/antifraud/views/fragment/MineFragment.java
  11. BIN
      app/src/main/res/drawable-hdpi/ic_action_name.png
  12. BIN
      app/src/main/res/drawable-mdpi/ic_action_name.png
  13. BIN
      app/src/main/res/drawable-nodpi/dashboard.png
  14. BIN
      app/src/main/res/drawable-nodpi/home_header.png
  15. 5 0
      app/src/main/res/drawable-nodpi/ic_baseline_loop.xml
  16. BIN
      app/src/main/res/drawable-nodpi/ic_dashboard_seled.png
  17. BIN
      app/src/main/res/drawable-nodpi/ic_dashboard_unseled.png
  18. BIN
      app/src/main/res/drawable-nodpi/ic_head_img.png
  19. BIN
      app/src/main/res/drawable-nodpi/ic_home_seled.png
  20. BIN
      app/src/main/res/drawable-nodpi/ic_home_unseled.png
  21. BIN
      app/src/main/res/drawable-nodpi/ic_mine_seled.png
  22. BIN
      app/src/main/res/drawable-nodpi/ic_mine_unseled.png
  23. BIN
      app/src/main/res/drawable-nodpi/icon.png
  24. BIN
      app/src/main/res/drawable-nodpi/iv_welcome_center.png
  25. BIN
      app/src/main/res/drawable-nodpi/mine.png
  26. BIN
      app/src/main/res/drawable-xhdpi/ic_action_name.png
  27. BIN
      app/src/main/res/drawable-xxhdpi/ic_action_name.png
  28. BIN
      app/src/main/res/drawable-xxxhdpi/ic_action_name.png
  29. BIN
      app/src/main/res/drawable/home.png
  30. BIN
      app/src/main/res/drawable/info_head.png
  31. BIN
      app/src/main/res/drawable/info_more.png
  32. BIN
      app/src/main/res/drawable/info_second.png
  33. BIN
      app/src/main/res/drawable/info_third.png
  34. BIN
      app/src/main/res/drawable/info_verified.png
  35. 18 4
      app/src/main/res/layout/activity_main.xml
  36. 275 0
      app/src/main/res/layout/activity_setting.xml
  37. 35 0
      app/src/main/res/layout/activity_splash.xml
  38. 35 0
      app/src/main/res/layout/background_splash.xml
  39. 29 0
      app/src/main/res/layout/fragment_dashboard.xml
  40. 40 0
      app/src/main/res/layout/fragment_home.xml
  41. 74 0
      app/src/main/res/layout/fragment_mine.xml
  42. 197 0
      app/src/main/res/layout/mine_setting_info.xml
  43. 275 0
      app/src/main/res/layout/personal_info.xml
  44. 19 0
      app/src/main/res/menu/bottom_nav_menu.xml
  45. 18 0
      app/src/main/res/navigation/mobile_navigation.xml
  46. 8 0
      app/src/main/res/values-zh/strings.xml
  47. 3 0
      app/src/main/res/values/colors.xml
  48. 4 0
      app/src/main/res/values/strings.xml

+ 3 - 0
app/build.gradle

@@ -35,4 +35,7 @@ dependencies {
     testImplementation 'junit:junit:4.+'
     testImplementation 'junit:junit:4.+'
     androidTestImplementation 'androidx.test.ext:junit:1.1.1'
     androidTestImplementation 'androidx.test.ext:junit:1.1.1'
     androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
     androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
+
+    implementation 'androidx.navigation:navigation-fragment:2.3.1'
+    implementation 'androidx.navigation:navigation-ui:2.3.1'
 }
 }

+ 16 - 1
app/src/main/AndroidManifest.xml

@@ -2,6 +2,10 @@
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     package="com.hicorenational.antifraud">
     package="com.hicorenational.antifraud">
 
 
+    <uses-permission android:name="android.permission.INTERNET" />
+    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
+
     <application
     <application
         android:allowBackup="true"
         android:allowBackup="true"
         android:icon="@mipmap/ic_launcher"
         android:icon="@mipmap/ic_launcher"
@@ -9,13 +13,24 @@
         android:roundIcon="@mipmap/ic_launcher_round"
         android:roundIcon="@mipmap/ic_launcher_round"
         android:supportsRtl="true"
         android:supportsRtl="true"
         android:theme="@style/Theme.Antifraud">
         android:theme="@style/Theme.Antifraud">
-        <activity android:name=".MainActivity">
+        <activity
+            android:name=".views.SplashActivity"
+            android:screenOrientation="portrait">
             <intent-filter>
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
                 <action android:name="android.intent.action.MAIN" />
 
 
                 <category android:name="android.intent.category.LAUNCHER" />
                 <category android:name="android.intent.category.LAUNCHER" />
             </intent-filter>
             </intent-filter>
         </activity>
         </activity>
+        <activity
+            android:name=".MainActivity"
+            android:screenOrientation="portrait" />
+        <activity
+            android:name=".views.SettingActivity"
+            android:screenOrientation="portrait" />
+        <activity
+            android:name=".views.PersonalActivity"
+            android:screenOrientation="portrait" />
     </application>
     </application>
 
 
 </manifest>
 </manifest>

+ 41 - 1
app/src/main/java/com/hicorenational/antifraud/MainActivity.java

@@ -1,14 +1,54 @@
 package com.hicorenational.antifraud;
 package com.hicorenational.antifraud;
 
 
+import android.os.Bundle;
+import android.view.MenuItem;
+
+import androidx.annotation.NonNull;
 import androidx.appcompat.app.AppCompatActivity;
 import androidx.appcompat.app.AppCompatActivity;
 
 
-import android.os.Bundle;
+import com.google.android.material.bottomnavigation.BottomNavigationView;
+import com.hicorenational.antifraud.views.fragment.DashboardFragment;
+import com.hicorenational.antifraud.views.fragment.HomeFragment;
+import com.hicorenational.antifraud.views.fragment.MineFragment;
 
 
 public class MainActivity extends AppCompatActivity {
 public class MainActivity extends AppCompatActivity {
 
 
     @Override
     @Override
     protected void onCreate(Bundle savedInstanceState) {
     protected void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
         super.onCreate(savedInstanceState);
+        getSupportActionBar().hide();
         setContentView(R.layout.activity_main);
         setContentView(R.layout.activity_main);
+        BottomNavigationView navigationView = findViewById(R.id.nav_view);
+
+        navigationView.setOnNavigationItemSelectedListener(new BottomNavigationView.OnNavigationItemSelectedListener() {
+            @Override
+            public boolean onNavigationItemSelected(@NonNull MenuItem item) {
+                resetIcon(navigationView);
+                if (item.getItemId() == R.id.navigation_home) {
+                    item.setIcon(R.drawable.ic_home_seled);
+                    getSupportFragmentManager().beginTransaction().replace(R.id.navigation_home, new HomeFragment()).commit();
+                    return true;
+                } else if (item.getItemId() == R.id.navigation_dashboard) {
+                    item.setIcon(R.drawable.ic_dashboard_seled);
+                    getSupportFragmentManager().beginTransaction().replace(R.id.navigation_dashboard, new DashboardFragment()).commit();
+                    return true;
+                } else if (item.getItemId() == R.id.navigation_notifications) {
+                    item.setIcon(R.drawable.ic_mine_seled);
+                    getSupportFragmentManager().beginTransaction().replace(R.id.navigation_notifications, new MineFragment()).commit();
+                    return true;
+                }
+                return false;
+            }
+        });
+    }
+
+    private void resetIcon(BottomNavigationView navView) {
+        MenuItem home = navView.getMenu().findItem(R.id.navigation_home);
+        MenuItem dashboard = navView.getMenu().findItem(R.id.navigation_dashboard);
+        MenuItem mine = navView.getMenu().findItem(R.id.navigation_notifications);
+
+        home.setIcon(R.drawable.ic_home_unseled);
+        dashboard.setIcon(R.drawable.ic_dashboard_unseled);
+        mine.setIcon(R.drawable.ic_mine_unseled);
     }
     }
 }
 }

+ 78 - 0
app/src/main/java/com/hicorenational/antifraud/utils/SPUtils.java

@@ -0,0 +1,78 @@
+package com.hicorenational.antifraud.utils;
+
+import android.content.Context;
+import android.content.SharedPreferences;
+import android.content.SharedPreferences.Editor;
+
+import java.util.Map;
+import java.util.Set;
+
+public class SPUtils {
+    private static final String SP_NAME = "common";
+    private static SPUtils mSpUtils;
+    private SharedPreferences sp;
+    private Editor editor;
+
+    public SPUtils(Context context) {
+        sp = context.getSharedPreferences(SP_NAME, Context.MODE_PRIVATE);
+        editor = sp.edit();
+    }
+
+    public static SPUtils getInstance(Context context) {
+
+        if (mSpUtils == null) {
+            synchronized (SPUtils.class) {
+                if (mSpUtils == null) {
+                    mSpUtils = new SPUtils(context);
+                    return mSpUtils;
+                }
+            }
+        }
+
+        return mSpUtils;
+
+    }
+
+    public void putBoolean(String key, Boolean value) {
+        editor.putBoolean(key, value);
+        editor.commit();
+    }
+
+    public boolean getBoolean(String key, Boolean defValue) {
+        return sp.getBoolean(key, defValue);
+    }
+
+    public void putString(String key, String value) {
+        if (key == null) {
+            return;
+        }
+        editor.putString(key, value);
+        editor.commit();
+    }
+
+    public String getString(String key, String defValue) {
+        return sp.getString(key, defValue);
+    }
+
+    public Set<String> getStringSet(String key, Set<String> defValue) {
+        return sp.getStringSet(key, defValue);
+    }
+
+    public void putInt(String key, int value) {
+        editor.putInt(key, value);
+        editor.commit();
+    }
+
+    public int getInt(String key, int defValue) {
+        return sp.getInt(key, defValue);
+    }
+
+    public Map<String, ?> getAll() {
+        return sp.getAll();
+    }
+
+    public void remove(String key) {
+        sp.edit().remove(key).apply();
+    }
+
+}

+ 18 - 0
app/src/main/java/com/hicorenational/antifraud/views/PersonalActivity.java

@@ -0,0 +1,18 @@
+package com.hicorenational.antifraud.views;
+
+import android.os.Bundle;
+
+import androidx.annotation.Nullable;
+import androidx.appcompat.app.AppCompatActivity;
+
+/**
+ * @author liuyuqi.gov@msn.cn
+ * @date 4/21/2021
+ */
+public class PersonalActivity extends AppCompatActivity {
+    @Override
+    protected void onCreate(@Nullable Bundle savedInstanceState) {
+        super.onCreate(savedInstanceState);
+    }
+
+}

+ 39 - 0
app/src/main/java/com/hicorenational/antifraud/views/SettingActivity.java

@@ -0,0 +1,39 @@
+package com.hicorenational.antifraud.views;
+
+import android.content.Context;
+import android.os.Bundle;
+import android.widget.TextView;
+
+import androidx.annotation.Nullable;
+import androidx.appcompat.app.AppCompatActivity;
+
+import com.hicorenational.antifraud.R;
+
+import com.hicorenational.antifraud.utils.SPUtils;
+
+/**
+ * @author liuyuqi.gov@msn.cn
+ * @date 4/21/2021
+ */
+public class SettingActivity extends AppCompatActivity {
+    Context mContext;
+
+    @Override
+    protected void onCreate(@Nullable Bundle savedInstanceState) {
+        super.onCreate(savedInstanceState);
+        setContentView(R.layout.activity_setting);
+        mContext = this;
+
+        TextView tvName = findViewById(R.id.name);
+        TextView id = findViewById(R.id.id);
+        TextView region = findViewById(R.id.region);
+        TextView address = findViewById(R.id.address);
+        TextView work = findViewById(R.id.work);
+
+        tvName.setText(SPUtils.getInstance(mContext).getString("name", "周** "));
+        tvName.setText(SPUtils.getInstance(mContext).getString("id", "4****************8"));
+        tvName.setText(SPUtils.getInstance(mContext).getString("region", "广东省.深圳市.龙岗区"));
+        tvName.setText(SPUtils.getInstance(mContext).getString("address", "龙岗中心城福宁路113号"));
+        tvName.setText(SPUtils.getInstance(mContext).getString("work", "电子设备制造"));
+    }
+}

+ 39 - 0
app/src/main/java/com/hicorenational/antifraud/views/SplashActivity.java

@@ -0,0 +1,39 @@
+package com.hicorenational.antifraud.views;
+
+import android.content.Context;
+import android.content.Intent;
+import android.os.Bundle;
+import androidx.annotation.Nullable;
+import androidx.appcompat.app.AppCompatActivity;
+import com.hicorenational.antifraud.MainActivity;
+import com.hicorenational.antifraud.R;
+import java.util.Timer;
+import java.util.TimerTask;
+
+/**
+ * @author liuyuqi.gov@msn.cn
+ * @date 4/21/2021
+ */
+public class SplashActivity extends AppCompatActivity {
+    Context mContext;
+
+    @Override
+    protected void onCreate(@Nullable Bundle savedInstanceState) {
+        super.onCreate(savedInstanceState);
+        setContentView(R.layout.activity_splash);
+        getSupportActionBar().hide();
+        mContext = this;
+        goMainActivity();
+    }
+
+    private void goMainActivity() {
+        Timer timer = new Timer();
+        timer.schedule(new TimerTask() {
+            @Override
+            public void run() {
+                startActivity(new Intent(mContext, MainActivity.class));
+                finish();
+            }
+        }, 3000);
+    }
+}

+ 24 - 0
app/src/main/java/com/hicorenational/antifraud/views/fragment/DashboardFragment.java

@@ -0,0 +1,24 @@
+package com.hicorenational.antifraud.views.fragment;
+
+import android.os.Bundle;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+
+import androidx.annotation.NonNull;
+import androidx.annotation.Nullable;
+import androidx.fragment.app.Fragment;
+
+import com.hicorenational.antifraud.R;
+
+/**
+ * @author liuyuqi.gov@msn.cn
+ * @date 4/22/2021
+ */
+public class DashboardFragment extends Fragment {
+    @Nullable
+    @Override
+    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
+        return inflater.inflate(R.layout.fragment_dashboard, container, false);
+    }
+}

+ 25 - 0
app/src/main/java/com/hicorenational/antifraud/views/fragment/HomeFragment.java

@@ -0,0 +1,25 @@
+package com.hicorenational.antifraud.views.fragment;
+
+import android.os.Bundle;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+
+import androidx.annotation.NonNull;
+import androidx.annotation.Nullable;
+import androidx.fragment.app.Fragment;
+
+import com.hicorenational.antifraud.R;
+
+/**
+ * @author liuyuqi.gov@msn.cn
+ * @date 4/22/2021
+ */
+public class HomeFragment extends Fragment {
+
+    @Nullable
+    @Override
+    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
+        return inflater.inflate(R.layout.fragment_home, container, false);
+    }
+}

+ 26 - 0
app/src/main/java/com/hicorenational/antifraud/views/fragment/MineFragment.java

@@ -0,0 +1,26 @@
+package com.hicorenational.antifraud.views.fragment;
+
+import android.os.Bundle;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+
+import androidx.annotation.NonNull;
+import androidx.annotation.Nullable;
+import androidx.fragment.app.Fragment;
+
+import com.hicorenational.antifraud.R;
+
+/**
+ * @author liuyuqi.gov@msn.cn
+ * @date 4/22/2021
+ */
+public class MineFragment extends Fragment {
+    @Nullable
+    @Override
+    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
+        return inflater.inflate(R.layout.fragment_mine, container, false);
+    }
+
+
+}

BIN
app/src/main/res/drawable-hdpi/ic_action_name.png


BIN
app/src/main/res/drawable-mdpi/ic_action_name.png


BIN
app/src/main/res/drawable-nodpi/dashboard.png


BIN
app/src/main/res/drawable-nodpi/home_header.png


+ 5 - 0
app/src/main/res/drawable-nodpi/ic_baseline_loop.xml

@@ -0,0 +1,5 @@
+<vector android:height="24dp" android:tint="#212CE5"
+    android:viewportHeight="24" android:viewportWidth="24"
+    android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
+    <path android:fillColor="@android:color/white" android:pathData="M12,4L12,1L8,5l4,4L12,6c3.31,0 6,2.69 6,6 0,1.01 -0.25,1.97 -0.7,2.8l1.46,1.46C19.54,15.03 20,13.57 20,12c0,-4.42 -3.58,-8 -8,-8zM12,18c-3.31,0 -6,-2.69 -6,-6 0,-1.01 0.25,-1.97 0.7,-2.8L5.24,7.74C4.46,8.97 4,10.43 4,12c0,4.42 3.58,8 8,8v3l4,-4 -4,-4v3z"/>
+</vector>

BIN
app/src/main/res/drawable-nodpi/ic_dashboard_seled.png


BIN
app/src/main/res/drawable-nodpi/ic_dashboard_unseled.png


BIN
app/src/main/res/drawable-nodpi/ic_head_img.png


BIN
app/src/main/res/drawable-nodpi/ic_home_seled.png


BIN
app/src/main/res/drawable-nodpi/ic_home_unseled.png


BIN
app/src/main/res/drawable-nodpi/ic_mine_seled.png


BIN
app/src/main/res/drawable-nodpi/ic_mine_unseled.png


BIN
app/src/main/res/drawable-nodpi/icon.png


BIN
app/src/main/res/drawable-nodpi/iv_welcome_center.png


BIN
app/src/main/res/drawable-nodpi/mine.png


BIN
app/src/main/res/drawable-xhdpi/ic_action_name.png


BIN
app/src/main/res/drawable-xxhdpi/ic_action_name.png


BIN
app/src/main/res/drawable-xxxhdpi/ic_action_name.png


BIN
app/src/main/res/drawable/home.png


BIN
app/src/main/res/drawable/info_head.png


BIN
app/src/main/res/drawable/info_more.png


BIN
app/src/main/res/drawable/info_second.png


BIN
app/src/main/res/drawable/info_third.png


BIN
app/src/main/res/drawable/info_verified.png


+ 18 - 4
app/src/main/res/layout/activity_main.xml

@@ -2,17 +2,31 @@
 <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
 <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:app="http://schemas.android.com/apk/res-auto"
     xmlns:app="http://schemas.android.com/apk/res-auto"
     xmlns:tools="http://schemas.android.com/tools"
     xmlns:tools="http://schemas.android.com/tools"
+    android:id="@+id/container"
     android:layout_width="match_parent"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
     android:layout_height="match_parent"
     tools:context=".MainActivity">
     tools:context=".MainActivity">
 
 
-    <TextView
-        android:layout_width="wrap_content"
+    <com.google.android.material.bottomnavigation.BottomNavigationView
+        android:id="@+id/nav_view"
+        android:layout_width="0dp"
         android:layout_height="wrap_content"
         android:layout_height="wrap_content"
-        android:text="Hello World!"
+        android:background="?android:attr/windowBackground"
         app:layout_constraintBottom_toBottomOf="parent"
         app:layout_constraintBottom_toBottomOf="parent"
         app:layout_constraintLeft_toLeftOf="parent"
         app:layout_constraintLeft_toLeftOf="parent"
         app:layout_constraintRight_toRightOf="parent"
         app:layout_constraintRight_toRightOf="parent"
-        app:layout_constraintTop_toTopOf="parent" />
+        app:menu="@menu/bottom_nav_menu" />
+
+    <androidx.fragment.app.FragmentContainerView
+        android:id="@+id/nav_host_fragment"
+        android:name="androidx.navigation.fragment.NavHostFragment"
+        android:layout_width="match_parent"
+        android:layout_height="match_parent"
+        app:defaultNavHost="false"
+        app:layout_constraintBottom_toTopOf="@id/nav_view"
+        app:layout_constraintLeft_toLeftOf="parent"
+        app:layout_constraintRight_toRightOf="parent"
+        app:layout_constraintTop_toTopOf="parent"
+        app:navGraph="@navigation/mobile_navigation" />
 
 
 </androidx.constraintlayout.widget.ConstraintLayout>
 </androidx.constraintlayout.widget.ConstraintLayout>

+ 275 - 0
app/src/main/res/layout/activity_setting.xml

@@ -0,0 +1,275 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.constraintlayout.widget.ConstraintLayout 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:id="@+id/container"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    tools:context=".MainActivity">
+
+    <ScrollView
+        android:id="@+id/scrollView2"
+        android:layout_width="match_parent"
+        android:layout_height="match_parent">
+
+        <LinearLayout
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:orientation="vertical">
+
+            <ImageView
+                android:id="@+id/info_head"
+                android:layout_width="wrap_content"
+                android:layout_height="wrap_content"
+                android:adjustViewBounds="true"
+                android:contentDescription="info_head"
+                app:srcCompat="@drawable/info_head" />
+
+            <FrameLayout
+                android:layout_width="match_parent"
+                android:layout_height="match_parent">
+
+                <ImageView
+                    android:id="@+id/imageView3"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:layout_marginStart="20dp"
+                    android:layout_marginEnd="20dp"
+                    android:adjustViewBounds="true"
+                    app:srcCompat="@drawable/info_second" />
+
+                <LinearLayout
+                    android:layout_width="wrap_content"
+                    android:layout_height="match_parent"
+                    android:layout_marginStart="40dp"
+                    android:layout_marginEnd="40dp"
+                    android:orientation="vertical">
+
+                    <TextView
+                        android:id="@+id/textView7"
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:layout_weight="1"
+                        android:gravity="center_vertical"
+                        android:text="姓名:"
+                        android:textColor="@color/black"
+                        android:textSize="13sp" />
+
+                    <TextView
+                        android:id="@+id/info_id"
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:layout_weight="1"
+                        android:gravity="center_vertical"
+                        android:text="证件号:"
+                        android:textColor="@color/black"
+                        android:textSize="13sp" />
+
+                    <TextView
+                        android:id="@+id/info_region"
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:layout_weight="1"
+                        android:gravity="center_vertical"
+                        android:text="地区:"
+                        android:textColor="@color/black"
+                        android:textSize="13sp" />
+
+                    <TextView
+                        android:id="@+id/info_address"
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:layout_weight="1"
+                        android:gravity="center_vertical"
+                        android:text="详细地址:"
+                        android:textColor="@color/black"
+                        android:textSize="13sp" />
+
+                    <TextView
+                        android:id="@+id/info_work"
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:layout_weight="1"
+                        android:gravity="center_vertical"
+                        android:text="行业:"
+                        android:textColor="@color/black"
+                        android:textSize="13sp" />
+                </LinearLayout>
+
+                <TableLayout
+                    android:layout_width="match_parent"
+                    android:layout_height="match_parent"
+                    android:layout_marginStart="40dp"
+                    android:layout_marginEnd="40dp"
+                    android:gravity="center_vertical"
+                    android:stretchColumns="*">
+
+                    <TableRow
+                        android:layout_width="match_parent"
+                        android:layout_height="0dp"
+                        android:layout_weight="1">
+
+                        <LinearLayout
+                            android:layout_width="match_parent"
+                            android:layout_height="match_parent"
+                            android:layout_gravity="right"
+                            android:orientation="horizontal">
+
+                            <TextView
+                                android:id="@+id/name"
+                                android:layout_width="wrap_content"
+                                android:layout_height="wrap_content"
+                                android:layout_gravity="center_vertical"
+                                android:gravity="right"
+                                android:textSize="13sp"
+                                android:text="习**"
+                                tools:ignore="RtlHardcoded" />
+
+                            <ImageView
+                                android:id="@+id/imageView4"
+                                android:layout_width="89dp"
+                                android:layout_height="24dp"
+                                android:layout_gravity="center"
+                                android:adjustViewBounds="true"
+                                app:srcCompat="@drawable/info_verified" />
+
+                        </LinearLayout>
+
+                    </TableRow>
+
+                    <TableRow
+                        android:layout_width="match_parent"
+                        android:layout_height="match_parent"
+                        android:layout_weight="1">
+
+                        <LinearLayout
+                            android:layout_width="match_parent"
+                            android:layout_height="match_parent"
+                            android:layout_gravity="right"
+                            android:orientation="horizontal">
+
+                            <TextView
+                                android:id="@+id/id"
+                                android:layout_width="wrap_content"
+                                android:layout_height="wrap_content"
+                                android:layout_gravity="center_vertical"
+                                android:gravity="right"
+                                android:text="1****************7"
+                                android:textSize="13sp"
+                                tools:ignore="RtlHardcoded" />
+
+                        </LinearLayout>
+
+                    </TableRow>
+
+                    <TableRow
+                        android:layout_width="match_parent"
+                        android:layout_height="match_parent"
+                        android:layout_weight="1">
+
+                        <LinearLayout
+                            android:layout_width="match_parent"
+                            android:layout_height="match_parent"
+                            android:layout_gravity="right"
+                            android:orientation="horizontal">
+
+                            <TextView
+                                android:id="@+id/region"
+                                android:layout_width="wrap_content"
+                                android:layout_height="wrap_content"
+                                android:layout_gravity="center_vertical"
+                                android:gravity="right"
+                                android:text="陕西省.渭南市.富平县"
+                                android:textSize="13sp"
+                                tools:ignore="RtlHardcoded" />
+
+                            <ImageView
+                                android:id="@+id/more_info_1"
+                                android:layout_width="24dp"
+                                android:layout_height="24dp"
+                                android:layout_gravity="end|center"
+                                android:adjustViewBounds="true"
+                                app:srcCompat="@drawable/info_more" />
+                        </LinearLayout>
+
+                    </TableRow>
+
+                    <TableRow
+                        android:layout_width="match_parent"
+                        android:layout_height="match_parent"
+                        android:layout_weight="1">
+
+                        <LinearLayout
+                            android:layout_width="match_parent"
+                            android:layout_height="match_parent"
+                            android:layout_gravity="right"
+                            android:orientation="horizontal">
+
+                            <TextView
+                                android:id="@+id/address"
+                                android:layout_width="wrap_content"
+                                android:layout_height="wrap_content"
+                                android:layout_gravity="center_vertical"
+                                android:gravity="right"
+                                android:textSize="13sp"
+                                android:text="请填写详细地址"
+                                tools:ignore="RtlHardcoded" />
+
+                            <ImageView
+                                android:id="@+id/more_info_2"
+                                android:layout_width="24dp"
+                                android:layout_height="24dp"
+                                android:layout_gravity="end|center"
+                                android:adjustViewBounds="true"
+                                app:srcCompat="@drawable/info_more" />
+                        </LinearLayout>
+
+                    </TableRow>
+                    <TableRow
+                        android:layout_width="match_parent"
+                        android:layout_height="match_parent"
+                        android:layout_weight="1">
+
+                        <LinearLayout
+                            android:layout_width="match_parent"
+                            android:layout_height="match_parent"
+                            android:layout_gravity="right"
+                            android:orientation="horizontal">
+
+                            <TextView
+                                android:id="@+id/work"
+                                android:layout_width="wrap_content"
+                                android:layout_height="wrap_content"
+                                android:layout_gravity="center_vertical"
+                                android:gravity="right"
+                                android:text="请选择"
+                                android:textSize="13sp"
+                                tools:ignore="RtlHardcoded" />
+
+                            <ImageView
+                                android:id="@+id/more_info_3"
+                                android:layout_width="24dp"
+                                android:layout_height="24dp"
+                                android:adjustViewBounds="true"
+                                android:layout_gravity="end|center"
+                                app:srcCompat="@drawable/info_more" />
+                        </LinearLayout>
+
+                    </TableRow>
+                </TableLayout>
+
+            </FrameLayout>
+
+            <ImageView
+                android:id="@+id/imageView8"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:layout_marginTop="20dp"
+                android:adjustViewBounds="true"
+                app:srcCompat="@drawable/info_third" />
+
+        </LinearLayout>
+
+    </ScrollView>
+
+</androidx.constraintlayout.widget.ConstraintLayout>

+ 35 - 0
app/src/main/res/layout/activity_splash.xml

@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.constraintlayout.widget.ConstraintLayout 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="@color/blue"
+    tools:context=".MainActivity">
+
+    <FrameLayout
+        android:layout_width="match_parent"
+        android:layout_height="match_parent">
+
+        <ImageView
+            android:id="@+id/imageView5"
+            android:layout_width="match_parent"
+            android:layout_height="match_parent"
+            android:layout_marginBottom="400dp"
+            android:adjustViewBounds="true"
+            app:srcCompat="@drawable/iv_welcome_center"
+            tools:ignore="MissingConstraints" />
+    </FrameLayout>
+
+    <TextView
+        android:id="@+id/textView3"
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content"
+        android:layout_marginBottom="40dp"
+        android:gravity="center"
+        android:text="技术支持:国家互联网应急中心"
+        android:textColor="@color/white"
+        app:layout_constraintBottom_toBottomOf="parent"
+        tools:ignore="MissingConstraints" />
+
+</androidx.constraintlayout.widget.ConstraintLayout>

+ 35 - 0
app/src/main/res/layout/background_splash.xml

@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.constraintlayout.widget.ConstraintLayout
+    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="@color/blue"
+    tools:context=".WelcomeActivity">
+
+    <FrameLayout
+        android:layout_width="match_parent"
+        android:layout_height="match_parent">
+
+        <ImageView
+            android:id="@+id/imageView5"
+            android:layout_width="match_parent"
+            android:layout_height="match_parent"
+            android:layout_marginBottom="400dp"
+            android:adjustViewBounds="true"
+            app:srcCompat="@drawable/iv_welcome_center"
+            tools:ignore="MissingConstraints" />
+    </FrameLayout>
+
+    <TextView
+        android:id="@+id/textView3"
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content"
+        android:gravity="center"
+        android:text="技术支持:国家互联网应急中心"
+        app:layout_constraintBottom_toBottomOf="parent"
+        tools:ignore="MissingConstraints"
+        android:layout_marginBottom="40dp"
+        android:textColor="@color/white"/>
+</androidx.constraintlayout.widget.ConstraintLayout>

+ 29 - 0
app/src/main/res/layout/fragment_dashboard.xml

@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.constraintlayout.widget.ConstraintLayout 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="@color/homeback">
+
+    <ScrollView
+        android:layout_width="match_parent"
+        android:layout_height="match_parent"
+        tools:context=".MainActivity">
+
+        <LinearLayout
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:orientation="vertical">
+
+            <ImageView
+                android:id="@+id/home_bottom"
+                android:layout_width="match_parent"
+                android:layout_height="match_parent"
+                android:adjustViewBounds="true"
+                android:contentDescription="image"
+                app:srcCompat="@drawable/dashboard"
+                tools:ignore="MissingConstraints" />
+        </LinearLayout>
+    </ScrollView>
+</androidx.constraintlayout.widget.ConstraintLayout>

+ 40 - 0
app/src/main/res/layout/fragment_home.xml

@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.constraintlayout.widget.ConstraintLayout 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="@color/homeback"
+    >
+
+    <ScrollView
+        android:layout_width="match_parent"
+        android:layout_height="match_parent"
+        tools:context=".MainActivity">
+
+        <LinearLayout
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:orientation="vertical">
+
+            <ImageView
+                android:id="@+id/home_bottom"
+                android:layout_width="match_parent"
+                android:layout_height="match_parent"
+                android:adjustViewBounds="true"
+                android:contentDescription="image"
+                app:srcCompat="@drawable/home_header"
+                tools:ignore="MissingConstraints" />
+
+            <ImageView
+                android:id="@+id/overview_home"
+                android:layout_width="wrap_content"
+                android:layout_height="wrap_content"
+                android:adjustViewBounds="true"
+                android:contentDescription="image"
+                android:orientation="vertical"
+                app:srcCompat="@drawable/home"
+                tools:ignore="MissingConstraints" />
+        </LinearLayout>
+    </ScrollView>
+</androidx.constraintlayout.widget.ConstraintLayout>

+ 74 - 0
app/src/main/res/layout/fragment_mine.xml

@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.constraintlayout.widget.ConstraintLayout 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="@color/homeback"
+    >
+
+    <ScrollView
+        android:layout_width="match_parent"
+        android:layout_height="match_parent">
+
+        <FrameLayout
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content">
+
+            <ImageView
+                android:id="@+id/home_bottom"
+                android:layout_width="match_parent"
+                android:layout_height="match_parent"
+                android:adjustViewBounds="true"
+                android:contentDescription="image"
+                app:srcCompat="@drawable/mine"
+                tools:ignore="MissingConstraints" />
+
+            <GridLayout
+                android:layout_width="match_parent"
+                android:layout_height="match_parent">
+
+                <TextView
+                    android:id="@+id/phone_number"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:layout_row="0"
+                    android:layout_column="1"
+                    android:layout_marginStart="15dp"
+                    android:layout_marginTop="35dp"
+                    android:text="您好, 152******79"
+                    android:textColor="@color/white"
+                    android:textSize="18sp"
+                    tools:ignore="MissingConstraints"
+                    android:layout_marginLeft="15dp" />
+
+                <TextView
+                    android:id="@+id/more_info"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:layout_row="0"
+                    android:layout_column="1"
+                    android:layout_marginStart="15dp"
+                    android:layout_marginTop="75dp"
+                    android:text="点击查看个人信息 >"
+                    android:textColor="@color/white"
+                    android:textSize="12sp"
+                    android:layout_marginLeft="15dp" />
+
+                <ImageView
+                    android:id="@+id/mine_setting"
+                    android:layout_width="71dp"
+                    android:layout_height="71dp"
+                    android:layout_row="0"
+                    android:layout_column="0"
+                    android:layout_marginStart="27dp"
+                    android:layout_marginTop="30dp"
+                    android:src="@drawable/ic_head_img"
+                    android:layout_marginLeft="27dp" />
+
+            </GridLayout>
+
+        </FrameLayout>
+    </ScrollView>
+
+</androidx.constraintlayout.widget.ConstraintLayout>

+ 197 - 0
app/src/main/res/layout/mine_setting_info.xml

@@ -0,0 +1,197 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.constraintlayout.widget.ConstraintLayout
+    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">
+
+    <LinearLayout
+        android:layout_width="match_parent"
+        android:layout_height="match_parent"
+        android:orientation="vertical">
+
+        <TableLayout
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:layout_marginStart="20dp"
+            android:layout_marginTop="20dp"
+            tools:ignore="MissingConstraints"
+            android:layout_marginLeft="20dp">
+
+            <TableRow
+                android:layout_width="match_parent"
+                android:layout_height="match_parent">
+
+                <TextView
+                    android:id="@+id/set_name_label"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:text="姓:" />
+
+                <EditText
+                    android:id="@+id/set_name"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:ems="10"
+                    android:maxLength="2"
+                    android:inputType="textPersonName"
+                    android:hint="填姓氏即可,例如:习"
+                    android:textColorHint="#C1C1C1"
+                    android:textSize="12sp" />
+
+                <ImageButton
+                    android:id="@+id/set_load_name"
+                    android:layout_width="match_parent"
+                    android:layout_height="match_parent"
+                    app:srcCompat="@drawable/ic_baseline_loop" />
+
+            </TableRow>
+
+            <TableRow
+                android:layout_width="match_parent"
+                android:layout_height="match_parent">
+
+                <TextView
+                    android:id="@+id/set_id_label"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:text="证件号:" />
+
+                <EditText
+                    android:id="@+id/set_id"
+                    android:layout_width="237dp"
+                    android:layout_height="wrap_content"
+                    android:ems="10"
+                    android:maxLength="2"
+                    android:hint="填入首末数字即可(例如:32,5X)"
+                    android:textColorHint="#C1C1C1"
+                    android:textSize="12sp" />
+
+                <ImageButton
+                    android:id="@+id/set_load_id"
+                    android:layout_width="match_parent"
+                    android:layout_height="match_parent"
+                    app:srcCompat="@drawable/ic_baseline_loop" />
+            </TableRow>
+
+            <TableRow
+                android:layout_width="match_parent"
+                android:layout_height="match_parent">
+
+                <TextView
+                    android:id="@+id/set_region_label"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:text="地区:" />
+
+                <EditText
+                    android:id="@+id/set_region"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:ems="10"
+                    android:maxLength="20"
+                    android:inputType="textPersonName"
+                    android:textColorHint="#C1C1C1"
+                    android:textSize="12sp"
+                    android:hint="例如:陕西省.渭南市.富平县(用点隔开)" />
+            </TableRow>
+
+            <TableRow
+                android:layout_width="match_parent"
+                android:layout_height="match_parent">
+
+                <TextView
+                    android:id="@+id/set_address_label"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:text="详细地址:" />
+
+                <EditText
+                    android:id="@+id/set_address"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:ems="10"
+                    android:maxLength="20"
+                    android:inputType="textPersonName"
+                    android:textColorHint="#C1C1C1"
+                    android:textSize="12sp"
+                    android:hint="例如:龙岗中心城福宁路113号" />
+            </TableRow>
+
+            <TableRow
+                android:layout_width="match_parent"
+                android:layout_height="match_parent">
+
+                <TextView
+                    android:id="@+id/set_work_label"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:text="行业:" />
+
+                <EditText
+                    android:id="@+id/set_work"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:ems="10"
+                    android:maxLength="16"
+                    android:inputType="textPersonName"
+                    android:textColorHint="#C1C1C1"
+                    android:textSize="12sp"
+                    android:hint="例如:国家主席" />
+
+                <ImageButton
+                    android:id="@+id/set_load_work"
+                    android:layout_width="match_parent"
+                    android:layout_height="match_parent"
+                    app:srcCompat="@drawable/ic_baseline_loop" />
+            </TableRow>
+        </TableLayout>
+
+        <LinearLayout
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:layout_gravity="center"
+            android:layout_marginTop="20dp"
+            android:orientation="vertical">
+
+            <Button
+                android:id="@+id/set_commit"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:layout_gravity="center"
+                android:text="提交" />
+
+            <Button
+                android:id="@+id/set_clear"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:layout_gravity="center"
+                android:text="清空" />
+
+            <Button
+                android:id="@+id/set_reset"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:layout_gravity="center"
+                android:text="恢复默认配置" />
+        </LinearLayout>
+
+        <TextView
+            android:id="@+id/textView"
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:layout_marginTop="30dp"
+            android:gravity="center"
+            android:text="版本:1.0.3" />
+
+        <TextView
+            android:id="@+id/textView2"
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:gravity="center"
+            android:autoLink="web"
+            android:text="https://github.com/XJP-GIT/AntiZhaPian" />
+    </LinearLayout>
+
+</androidx.constraintlayout.widget.ConstraintLayout>

+ 275 - 0
app/src/main/res/layout/personal_info.xml

@@ -0,0 +1,275 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.constraintlayout.widget.ConstraintLayout
+    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="@color/homeback">
+
+    <ScrollView
+        android:id="@+id/scrollView2"
+        android:layout_width="match_parent"
+        android:layout_height="match_parent">
+
+        <LinearLayout
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:orientation="vertical">
+
+            <ImageView
+                android:id="@+id/info_head"
+                android:layout_width="wrap_content"
+                android:layout_height="wrap_content"
+                android:adjustViewBounds="true"
+                android:contentDescription="info_head"
+                app:srcCompat="@drawable/info_head" />
+
+            <FrameLayout
+                android:layout_width="match_parent"
+                android:layout_height="match_parent">
+
+                <ImageView
+                    android:id="@+id/imageView3"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:layout_marginStart="20dp"
+                    android:layout_marginEnd="20dp"
+                    android:adjustViewBounds="true"
+                    app:srcCompat="@drawable/info_second" />
+
+                <LinearLayout
+                    android:layout_width="wrap_content"
+                    android:layout_height="match_parent"
+                    android:layout_marginStart="40dp"
+                    android:layout_marginEnd="40dp"
+                    android:orientation="vertical">
+
+                    <TextView
+                        android:id="@+id/textView7"
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:layout_weight="1"
+                        android:gravity="center_vertical"
+                        android:text="姓名:"
+                        android:textColor="@color/black"
+                        android:textSize="13sp" />
+
+                    <TextView
+                        android:id="@+id/info_id"
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:layout_weight="1"
+                        android:gravity="center_vertical"
+                        android:text="证件号:"
+                        android:textColor="@color/black"
+                        android:textSize="13sp" />
+
+                    <TextView
+                        android:id="@+id/info_region"
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:layout_weight="1"
+                        android:gravity="center_vertical"
+                        android:text="地区:"
+                        android:textColor="@color/black"
+                        android:textSize="13sp" />
+
+                    <TextView
+                        android:id="@+id/info_address"
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:layout_weight="1"
+                        android:gravity="center_vertical"
+                        android:text="详细地址:"
+                        android:textColor="@color/black"
+                        android:textSize="13sp" />
+
+                    <TextView
+                        android:id="@+id/info_work"
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:layout_weight="1"
+                        android:gravity="center_vertical"
+                        android:text="行业:"
+                        android:textColor="@color/black"
+                        android:textSize="13sp" />
+                </LinearLayout>
+
+                <TableLayout
+                    android:layout_width="match_parent"
+                    android:layout_height="match_parent"
+                    android:layout_marginStart="40dp"
+                    android:layout_marginEnd="40dp"
+                    android:gravity="center_vertical"
+                    android:stretchColumns="*">
+
+                    <TableRow
+                        android:layout_width="match_parent"
+                        android:layout_height="0dp"
+                        android:layout_weight="1">
+
+                        <LinearLayout
+                            android:layout_width="match_parent"
+                            android:layout_height="match_parent"
+                            android:layout_gravity="right"
+                            android:orientation="horizontal">
+
+                            <TextView
+                                android:id="@+id/name"
+                                android:layout_width="wrap_content"
+                                android:layout_height="wrap_content"
+                                android:layout_gravity="center_vertical"
+                                android:gravity="right"
+                                android:textSize="13sp"
+                                android:text="习**"
+                                tools:ignore="RtlHardcoded" />
+
+                            <ImageView
+                                android:id="@+id/imageView4"
+                                android:layout_width="89dp"
+                                android:layout_height="24dp"
+                                android:layout_gravity="center"
+                                android:adjustViewBounds="true"
+                                app:srcCompat="@drawable/info_verified" />
+
+                        </LinearLayout>
+
+                    </TableRow>
+
+                    <TableRow
+                        android:layout_width="match_parent"
+                        android:layout_height="match_parent"
+                        android:layout_weight="1">
+
+                        <LinearLayout
+                            android:layout_width="match_parent"
+                            android:layout_height="match_parent"
+                            android:layout_gravity="right"
+                            android:orientation="horizontal">
+
+                            <TextView
+                                android:id="@+id/id"
+                                android:layout_width="wrap_content"
+                                android:layout_height="wrap_content"
+                                android:layout_gravity="center_vertical"
+                                android:gravity="right"
+                                android:text="1****************7"
+                                android:textSize="13sp"
+                                tools:ignore="RtlHardcoded" />
+
+                        </LinearLayout>
+
+                    </TableRow>
+
+                    <TableRow
+                        android:layout_width="match_parent"
+                        android:layout_height="match_parent"
+                        android:layout_weight="1">
+
+                        <LinearLayout
+                            android:layout_width="match_parent"
+                            android:layout_height="match_parent"
+                            android:layout_gravity="right"
+                            android:orientation="horizontal">
+
+                            <TextView
+                                android:id="@+id/region"
+                                android:layout_width="wrap_content"
+                                android:layout_height="wrap_content"
+                                android:layout_gravity="center_vertical"
+                                android:gravity="right"
+                                android:text="陕西省.渭南市.富平县"
+                                android:textSize="13sp"
+                                tools:ignore="RtlHardcoded" />
+
+                            <ImageView
+                                android:id="@+id/more_info_1"
+                                android:layout_width="24dp"
+                                android:layout_height="24dp"
+                                android:layout_gravity="end|center"
+                                android:adjustViewBounds="true"
+                                app:srcCompat="@drawable/info_more" />
+                        </LinearLayout>
+
+                    </TableRow>
+
+                    <TableRow
+                        android:layout_width="match_parent"
+                        android:layout_height="match_parent"
+                        android:layout_weight="1">
+
+                        <LinearLayout
+                            android:layout_width="match_parent"
+                            android:layout_height="match_parent"
+                            android:layout_gravity="right"
+                            android:orientation="horizontal">
+
+                            <TextView
+                                android:id="@+id/address"
+                                android:layout_width="wrap_content"
+                                android:layout_height="wrap_content"
+                                android:layout_gravity="center_vertical"
+                                android:gravity="right"
+                                android:textSize="13sp"
+                                android:text="请填写详细地址"
+                                tools:ignore="RtlHardcoded" />
+
+                            <ImageView
+                                android:id="@+id/more_info_2"
+                                android:layout_width="24dp"
+                                android:layout_height="24dp"
+                                android:layout_gravity="end|center"
+                                android:adjustViewBounds="true"
+                                app:srcCompat="@drawable/info_more" />
+                        </LinearLayout>
+
+                    </TableRow>
+                    <TableRow
+                        android:layout_width="match_parent"
+                        android:layout_height="match_parent"
+                        android:layout_weight="1">
+
+                        <LinearLayout
+                            android:layout_width="match_parent"
+                            android:layout_height="match_parent"
+                            android:layout_gravity="right"
+                            android:orientation="horizontal">
+
+                            <TextView
+                                android:id="@+id/work"
+                                android:layout_width="wrap_content"
+                                android:layout_height="wrap_content"
+                                android:layout_gravity="center_vertical"
+                                android:gravity="right"
+                                android:text="请选择"
+                                android:textSize="13sp"
+                                tools:ignore="RtlHardcoded" />
+
+                            <ImageView
+                                android:id="@+id/more_info_3"
+                                android:layout_width="24dp"
+                                android:layout_height="24dp"
+                                android:adjustViewBounds="true"
+                                android:layout_gravity="end|center"
+                                app:srcCompat="@drawable/info_more" />
+                        </LinearLayout>
+
+                    </TableRow>
+                </TableLayout>
+
+            </FrameLayout>
+
+            <ImageView
+                android:id="@+id/imageView8"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:layout_marginTop="20dp"
+                android:adjustViewBounds="true"
+                app:srcCompat="@drawable/info_third" />
+
+        </LinearLayout>
+
+    </ScrollView>
+
+</androidx.constraintlayout.widget.ConstraintLayout>

+ 19 - 0
app/src/main/res/menu/bottom_nav_menu.xml

@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+
+    <item
+        android:id="@+id/navigation_home"
+        android:icon="@drawable/ic_home_seled"
+        android:title="@string/title_home" />
+
+    <item
+        android:id="@+id/navigation_dashboard"
+        android:icon="@drawable/ic_dashboard_unseled"
+        android:title="@string/title_dashboard" />
+
+    <item
+        android:id="@+id/navigation_notifications"
+        android:icon="@drawable/ic_mine_unseled"
+        android:title="@string/title_notifications" />
+
+</menu>

+ 18 - 0
app/src/main/res/navigation/mobile_navigation.xml

@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<navigation xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:app="http://schemas.android.com/apk/res-auto"
+    android:id="@+id/mobile_navigation"
+    app:startDestination="@+id/navigation_home">
+
+    <fragment
+        android:id="@+id/navigation_home"
+        android:name="com.hicorenational.antifraud.views.fragment.HomeFragment" />
+
+    <fragment
+        android:id="@+id/navigation_dashboard"
+        android:name="com.hicorenational.antifraud.views.fragment.DashboardFragment" />
+
+    <fragment
+        android:id="@+id/navigation_notifications"
+        android:name="com.hicorenational.antifraud.views.fragment.MineFragment" />
+</navigation>

+ 8 - 0
app/src/main/res/values-zh/strings.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+    <string name="app_name">国家反诈中心</string>
+    <string name="title_home">首页</string>
+    <string name="title_dashboard">骗局曝光</string>
+    <string name="title_notifications">我的</string>
+    <string name="title_mine">您好,</string>
+</resources>

+ 3 - 0
app/src/main/res/values/colors.xml

@@ -7,4 +7,7 @@
     <color name="teal_700">#FF018786</color>
     <color name="teal_700">#FF018786</color>
     <color name="black">#FF000000</color>
     <color name="black">#FF000000</color>
     <color name="white">#FFFFFFFF</color>
     <color name="white">#FFFFFFFF</color>
+
+    <color name="homeback">#FFF1F1F1</color>
+    <color name="blue">#FF212DE6</color>
 </resources>
 </resources>

+ 4 - 0
app/src/main/res/values/strings.xml

@@ -1,3 +1,7 @@
 <resources>
 <resources>
     <string name="app_name">Antifraud</string>
     <string name="app_name">Antifraud</string>
+    <string name="title_home">首页</string>
+    <string name="title_dashboard">骗局曝光</string>
+    <string name="title_notifications">我的</string>
+    <string name="title_mine">您好,</string>
 </resources>
 </resources>