整理專案結構
This commit is contained in:
parent
a29f0e7bbf
commit
15475923cb
@ -10,7 +10,7 @@
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.Gstreamer">
|
||||
<activity
|
||||
android:name="com.ray650128.gstreamer_demo_app.MainActivity"
|
||||
android:name="com.ray650128.gstreamer_demo_app.ui.mainScreen.MainActivity"
|
||||
android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
@ -1,19 +1,18 @@
|
||||
package com.ray650128.gstreamer_demo_app
|
||||
package com.ray650128.gstreamer_demo_app.ui.mainScreen
|
||||
|
||||
import android.content.Context
|
||||
import android.graphics.Color
|
||||
import android.os.Bundle
|
||||
import android.util.Log
|
||||
import android.view.WindowManager
|
||||
import android.widget.Toast
|
||||
import androidx.activity.viewModels
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import androidx.viewpager2.widget.ViewPager2
|
||||
import com.ray650128.gstreamer_demo_app.R
|
||||
import com.ray650128.gstreamer_demo_app.databinding.ActivityMainBinding
|
||||
import com.ray650128.gstreamer_demo_app.model.Device
|
||||
import kotlinx.coroutines.MainScope
|
||||
import kotlinx.coroutines.launch
|
||||
import org.freedesktop.gstreamer.GStreamer
|
||||
|
||||
class MainActivity : AppCompatActivity() {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
package com.ray650128.gstreamer_demo_app
|
||||
package com.ray650128.gstreamer_demo_app.ui.mainScreen
|
||||
|
||||
import androidx.lifecycle.MediatorLiveData
|
||||
import androidx.lifecycle.MutableLiveData
|
||||
@ -1,4 +1,4 @@
|
||||
package com.ray650128.gstreamer_demo_app
|
||||
package com.ray650128.gstreamer_demo_app.ui.mainScreen
|
||||
|
||||
import android.os.Bundle
|
||||
import android.util.Log
|
||||
@ -8,6 +8,7 @@ import android.view.ViewGroup
|
||||
import androidx.fragment.app.Fragment
|
||||
import androidx.gridlayout.widget.GridLayout
|
||||
import com.ray650128.gstreamer_demo_app.databinding.FragmentSplitViewBinding
|
||||
import com.ray650128.gstreamer_demo_app.dp
|
||||
import com.ray650128.gstreamer_demo_app.model.Device
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import kotlinx.coroutines.MainScope
|
||||
@ -1,4 +1,4 @@
|
||||
package com.ray650128.gstreamer_demo_app
|
||||
package com.ray650128.gstreamer_demo_app.ui.mainScreen
|
||||
|
||||
import android.content.Context
|
||||
import android.os.Handler
|
||||
@ -1,4 +1,4 @@
|
||||
package com.ray650128.gstreamer_demo_app
|
||||
package com.ray650128.gstreamer_demo_app.ui.mainScreen
|
||||
|
||||
import android.annotation.SuppressLint
|
||||
import androidx.fragment.app.FragmentManager
|
||||
@ -9,4 +9,4 @@
|
||||
app:columnCount="3"
|
||||
app:rowCount="3"
|
||||
app:useDefaultMargins="false"
|
||||
tools:context=".SplitViewFragment" />
|
||||
tools:context=".ui.mainScreen.SplitViewFragment" />
|
||||
Loading…
Reference in New Issue
Block a user