diff --git a/stallhelper/src/main/AndroidManifest.xml b/stallhelper/src/main/AndroidManifest.xml index 4a32a9e..4afde5f 100644 --- a/stallhelper/src/main/AndroidManifest.xml +++ b/stallhelper/src/main/AndroidManifest.xml @@ -42,8 +42,10 @@ android:name="cc.winboll.studio.stallhelper.activities.CompleteDiningTableActivity" android:windowSoftInputMode="adjustResize"/> - + - + - \ No newline at end of file + + + \ No newline at end of file diff --git a/stallhelper/src/main/java/cc/winboll/studio/stallhelper/MainActivity.java b/stallhelper/src/main/java/cc/winboll/studio/stallhelper/MainActivity.java index e59a874..f8c5f60 100644 --- a/stallhelper/src/main/java/cc/winboll/studio/stallhelper/MainActivity.java +++ b/stallhelper/src/main/java/cc/winboll/studio/stallhelper/MainActivity.java @@ -13,6 +13,7 @@ import cc.winboll.studio.stallhelper.activities.AboutActivity; import cc.winboll.studio.stallhelper.activities.CompleteDiningTableActivity; import cc.winboll.studio.stallhelper.activities.NoteRecordHelperActivity; import cc.winboll.studio.stallhelper.activities.PreNullDiningTableActivity; +import cc.winboll.studio.stallhelper.activities.TaskSchedulerActivity; import cc.winboll.studio.stallhelper.activities.WinBoLLActivity; final public class MainActivity extends WinBoLLActivity { @@ -126,4 +127,9 @@ final public class MainActivity extends WinBoLLActivity { Intent intent = new Intent(getApplicationContext(), NoteRecordHelperActivity.class); startActivity(intent); } + + public void onTaskScheduler(View view) { + Intent intent = new Intent(getApplicationContext(), TaskSchedulerActivity.class); + startActivity(intent); + } } diff --git a/stallhelper/src/main/java/cc/winboll/studio/stallhelper/activities/TaskSchedulerActivity.java b/stallhelper/src/main/java/cc/winboll/studio/stallhelper/activities/TaskSchedulerActivity.java new file mode 100644 index 0000000..7366ab2 --- /dev/null +++ b/stallhelper/src/main/java/cc/winboll/studio/stallhelper/activities/TaskSchedulerActivity.java @@ -0,0 +1,28 @@ +package cc.winboll.studio.stallhelper.activities; + +import android.os.Bundle; +import androidx.appcompat.app.AppCompatActivity; +import androidx.appcompat.widget.Toolbar; +import cc.winboll.studio.libappbase.LogUtils; +import cc.winboll.studio.stallhelper.R; + +/** + * @Author ZhanGSKen + * @Date 2026/05/18 + * @Describe 任务排档窗口 + */ +public class TaskSchedulerActivity extends AppCompatActivity { + + public static final String TAG = "TaskSchedulerActivity"; + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_task_scheduler); + LogUtils.i(TAG, "onCreate: 任务排档页面初始化"); + + Toolbar toolbar = findViewById(R.id.toolbar); + setSupportActionBar(toolbar); + setTitle("任务排档"); + } +} diff --git a/stallhelper/src/main/res/drawable/ic_task_scheduler.xml b/stallhelper/src/main/res/drawable/ic_task_scheduler.xml new file mode 100644 index 0000000..115a089 --- /dev/null +++ b/stallhelper/src/main/res/drawable/ic_task_scheduler.xml @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + diff --git a/stallhelper/src/main/res/layout/activity_main.xml b/stallhelper/src/main/res/layout/activity_main.xml index 8a91f05..cc17a29 100644 --- a/stallhelper/src/main/res/layout/activity_main.xml +++ b/stallhelper/src/main/res/layout/activity_main.xml @@ -67,30 +67,53 @@ - + - + - + - - - + - + + + + + + + + + + + diff --git a/stallhelper/src/main/res/layout/activity_task_scheduler.xml b/stallhelper/src/main/res/layout/activity_task_scheduler.xml new file mode 100644 index 0000000..327a343 --- /dev/null +++ b/stallhelper/src/main/res/layout/activity_task_scheduler.xml @@ -0,0 +1,40 @@ + + + + + + + + + + + + + +