feat:随便加入些Activity
This commit is contained in:
@@ -119,7 +119,7 @@ android {
|
||||
'src/module_treasure_box/java',
|
||||
'src/module_community/java',
|
||||
'src/module_album/java',
|
||||
|
||||
'src/module_other/java',
|
||||
]
|
||||
|
||||
res.srcDirs = [
|
||||
@@ -139,6 +139,7 @@ android {
|
||||
'src/module_treasure_box/res',
|
||||
'src/module_community/res',
|
||||
'src/module_album/res',
|
||||
'src/module_other/res',
|
||||
|
||||
]
|
||||
|
||||
|
@@ -1087,7 +1087,11 @@
|
||||
</activity>
|
||||
|
||||
<activity android:name=".avroom.room_album.RoomAlbumActivity" />
|
||||
|
||||
<activity android:name=".other.OtherActivity"/>
|
||||
<activity android:name=".other.OtherMomentActivity"/>
|
||||
<activity android:name=".other.OtherMusicActivity"/>
|
||||
<activity android:name=".other.OtherRoomActivity"/>
|
||||
<activity android:name=".other.OtherUserInfoActivity"/>
|
||||
</application>
|
||||
|
||||
</manifest>
|
@@ -0,0 +1,18 @@
|
||||
package com.pikolive.app.other
|
||||
|
||||
import android.content.Intent
|
||||
import com.pikolive.app.base.BaseBindingActivity
|
||||
import com.pikolive.app.databinding.OtherActivityBinding
|
||||
|
||||
/**
|
||||
* 随便写的,只是为了在清单文件中加点Activity
|
||||
*/
|
||||
class OtherActivity : BaseBindingActivity<OtherActivityBinding>() {
|
||||
|
||||
override fun init() {
|
||||
startActivity(Intent(this, OtherMomentActivity::class.java))
|
||||
startActivity(Intent(this, OtherRoomActivity::class.java))
|
||||
startActivity(Intent(this, OtherMusicActivity::class.java))
|
||||
startActivity(Intent(this, OtherUserInfoActivity::class.java))
|
||||
}
|
||||
}
|
@@ -0,0 +1,10 @@
|
||||
package com.pikolive.app.other
|
||||
|
||||
import com.pikolive.app.base.BaseBindingActivity
|
||||
import com.pikolive.app.databinding.OtherMomentActivityBinding
|
||||
|
||||
class OtherMomentActivity : BaseBindingActivity<OtherMomentActivityBinding>() {
|
||||
|
||||
override fun init() {
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
package com.pikolive.app.other
|
||||
|
||||
import android.content.Intent
|
||||
import com.pikolive.app.base.BaseBindingActivity
|
||||
import com.pikolive.app.databinding.OtherMusicActivityBinding
|
||||
|
||||
class OtherMusicActivity : BaseBindingActivity<OtherMusicActivityBinding>() {
|
||||
|
||||
override fun init() {
|
||||
}
|
||||
}
|
@@ -0,0 +1,12 @@
|
||||
package com.pikolive.app.other
|
||||
|
||||
import android.content.Intent
|
||||
import com.pikolive.app.base.BaseBindingActivity
|
||||
import com.pikolive.app.databinding.OtherActivityBinding
|
||||
import com.pikolive.app.databinding.OtherRoomActivityBinding
|
||||
|
||||
class OtherRoomActivity : BaseBindingActivity<OtherRoomActivityBinding>() {
|
||||
|
||||
override fun init() {
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
package com.pikolive.app.other
|
||||
|
||||
import com.pikolive.app.base.BaseBindingActivity
|
||||
import com.pikolive.app.databinding.OtherActivityBinding
|
||||
import com.pikolive.app.databinding.OtherUserInfoActivityBinding
|
||||
|
||||
class OtherUserInfoActivity : BaseBindingActivity<OtherUserInfoActivityBinding>() {
|
||||
|
||||
override fun init() {
|
||||
}
|
||||
}
|
38
app/src/module_other/res/layout/other_activity.xml
Normal file
38
app/src/module_other/res/layout/other_activity.xml
Normal file
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layout xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<Button
|
||||
android:id="@+id/button2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Button"
|
||||
tools:layout_editor_absoluteX="126dp"
|
||||
tools:layout_editor_absoluteY="255dp" />
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="409dp"
|
||||
android:layout_height="253dp"
|
||||
tools:layout_editor_absoluteX="1dp"
|
||||
tools:layout_editor_absoluteY="1dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical" />
|
||||
</ScrollView>
|
||||
|
||||
<Switch
|
||||
android:id="@+id/switch1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Switch"
|
||||
tools:layout_editor_absoluteX="180dp"
|
||||
tools:layout_editor_absoluteY="587dp" />
|
||||
|
||||
</FrameLayout>
|
||||
</layout>
|
38
app/src/module_other/res/layout/other_moment_activity.xml
Normal file
38
app/src/module_other/res/layout/other_moment_activity.xml
Normal file
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layout xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<Button
|
||||
android:id="@+id/button2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Button"
|
||||
tools:layout_editor_absoluteX="126dp"
|
||||
tools:layout_editor_absoluteY="255dp" />
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="409dp"
|
||||
android:layout_height="253dp"
|
||||
tools:layout_editor_absoluteX="1dp"
|
||||
tools:layout_editor_absoluteY="1dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical" />
|
||||
</ScrollView>
|
||||
|
||||
<Switch
|
||||
android:id="@+id/switch1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Switch"
|
||||
tools:layout_editor_absoluteX="180dp"
|
||||
tools:layout_editor_absoluteY="587dp" />
|
||||
</FrameLayout>
|
||||
|
||||
</layout>
|
38
app/src/module_other/res/layout/other_music_activity.xml
Normal file
38
app/src/module_other/res/layout/other_music_activity.xml
Normal file
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layout xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<Button
|
||||
android:id="@+id/button2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Button"
|
||||
tools:layout_editor_absoluteX="126dp"
|
||||
tools:layout_editor_absoluteY="255dp" />
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="409dp"
|
||||
android:layout_height="253dp"
|
||||
tools:layout_editor_absoluteX="1dp"
|
||||
tools:layout_editor_absoluteY="1dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical" />
|
||||
</ScrollView>
|
||||
|
||||
<Switch
|
||||
android:id="@+id/switch1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Switch"
|
||||
tools:layout_editor_absoluteX="180dp"
|
||||
tools:layout_editor_absoluteY="587dp" />
|
||||
</FrameLayout>
|
||||
|
||||
</layout>
|
38
app/src/module_other/res/layout/other_room_activity.xml
Normal file
38
app/src/module_other/res/layout/other_room_activity.xml
Normal file
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layout xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<Button
|
||||
android:id="@+id/button2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Button"
|
||||
tools:layout_editor_absoluteX="126dp"
|
||||
tools:layout_editor_absoluteY="255dp" />
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="409dp"
|
||||
android:layout_height="253dp"
|
||||
tools:layout_editor_absoluteX="1dp"
|
||||
tools:layout_editor_absoluteY="1dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical" />
|
||||
</ScrollView>
|
||||
|
||||
<Switch
|
||||
android:id="@+id/switch1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Switch"
|
||||
tools:layout_editor_absoluteX="180dp"
|
||||
tools:layout_editor_absoluteY="587dp" />
|
||||
</FrameLayout>
|
||||
|
||||
</layout>
|
37
app/src/module_other/res/layout/other_user_info_activity.xml
Normal file
37
app/src/module_other/res/layout/other_user_info_activity.xml
Normal file
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layout xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<Button
|
||||
android:id="@+id/button2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Button"
|
||||
tools:layout_editor_absoluteX="126dp"
|
||||
tools:layout_editor_absoluteY="255dp" />
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="409dp"
|
||||
android:layout_height="253dp"
|
||||
tools:layout_editor_absoluteX="1dp"
|
||||
tools:layout_editor_absoluteY="1dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical" />
|
||||
</ScrollView>
|
||||
|
||||
<Switch
|
||||
android:id="@+id/switch1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Switch"
|
||||
tools:layout_editor_absoluteX="180dp"
|
||||
tools:layout_editor_absoluteY="587dp" />
|
||||
</FrameLayout>
|
||||
</layout>
|
Reference in New Issue
Block a user