diff --git a/app/build.gradle b/app/build.gradle index ee5939e..eb91db3 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -2,6 +2,7 @@ plugins { id 'com.android.application' id 'kotlin-android' id 'kotlin-kapt' + id 'kotlin-android-extensions' id 'com.huawei.agconnect' } diff --git a/app/src/main/java/com/arpa/hndahesudintocctmsdriver/ui/test/SimpleDelegate.kt b/app/src/main/java/com/arpa/hndahesudintocctmsdriver/ui/test/SimpleDelegate.kt new file mode 100644 index 0000000..a19c15b --- /dev/null +++ b/app/src/main/java/com/arpa/hndahesudintocctmsdriver/ui/test/SimpleDelegate.kt @@ -0,0 +1,25 @@ +package com.arpa.hndahesudintocctmsdriver.ui.test + +import com.arpa.hndahesudintocctmsdriver.R +import com.kymjs.themvp.view.AppDelegate +import kotlinx.android.synthetic.main.activity_get_shangchuan.* + +/** + * @ClassName SimpleDelegate + * @Author 用户 + * @Date 2022/9/8 10:05 + * @Description TODO + */ +class SimpleDelegate : AppDelegate(){ + override fun getRootLayoutId() = R.layout.activity_get_shangchuan + + override fun initWidget() { + super.initWidget() + + } + + override fun getOptionsMenuId(): Int { + image1 + return super.getOptionsMenuId() + } +} \ No newline at end of file diff --git a/app/src/main/java/com/arpa/hndahesudintocctmsdriver/ui/test/Texasdfa.kt b/app/src/main/java/com/arpa/hndahesudintocctmsdriver/ui/test/Texasdfa.kt new file mode 100644 index 0000000..7723421 --- /dev/null +++ b/app/src/main/java/com/arpa/hndahesudintocctmsdriver/ui/test/Texasdfa.kt @@ -0,0 +1,24 @@ +package com.arpa.hndahesudintocctmsdriver.ui.test + +import android.os.Bundle +import com.arpa.hndahesudintocctmsdriver.R +import com.dahe.mylibrary.base.BaseActivity +import kotlinx.android.synthetic.main.activity_get_shangchuan.* + +/** + * @ClassName Texasdfa + * @Author 用户 + * @Date 2022/9/8 10:33 + * @Description TODO + */ +class Texasdfa : BaseActivity() { + override fun getLayout() = R.layout.activity_get_shangchuan + + override fun initView(savedInstanceState: Bundle?) { + img1 + } + + override fun initDate() { + TODO("Not yet implemented") + } +} \ No newline at end of file diff --git a/app/src/main/java/com/arpa/hndahesudintocctmsdriver/ui/test/TextMVPActivtity.kt b/app/src/main/java/com/arpa/hndahesudintocctmsdriver/ui/test/TextMVPActivtity.kt new file mode 100644 index 0000000..591881a --- /dev/null +++ b/app/src/main/java/com/arpa/hndahesudintocctmsdriver/ui/test/TextMVPActivtity.kt @@ -0,0 +1,23 @@ +package com.arpa.hndahesudintocctmsdriver.ui.test + +import android.os.Bundle +import android.os.PersistableBundle +import com.kymjs.themvp.presenter.ActivityPresenter + +/** + * @ClassName TextMVPActivtity + * @Author 用户 + * @Date 2022/9/8 10:04 + * @Description TODO + */ +class TextMVPActivtity : ActivityPresenter() { + override fun getDelegateClass(): Class { + return SimpleDelegate::class.java + } + + override fun bindEvenListener() { + super.bindEvenListener() + + } + +} \ No newline at end of file diff --git a/app/src/main/res/layout/activity_get_shangchuan.xml b/app/src/main/res/layout/activity_get_shangchuan.xml index a6e5116..3697408 100644 --- a/app/src/main/res/layout/activity_get_shangchuan.xml +++ b/app/src/main/res/layout/activity_get_shangchuan.xml @@ -55,10 +55,11 @@ android:layout_width="@dimen/dp_90" android:layout_height="@dimen/dp_90" android:background="#EEEEEE"> + + android:layout_height="match_parent" /> + + android:textSize="@dimen/sp_13" />