This commit is contained in:
lunaticbum 2025-10-20 17:20:16 +09:00
parent 401387bd00
commit 773796d36a
7 changed files with 144 additions and 326 deletions

View File

@ -155,13 +155,6 @@ open class LauncherActivity : CommonActivity() {
KEYCODE_BUTTON_A->{ KEYCODE_BUTTON_A->{
WorkersDb.getRealm().apply { WorkersDb.getRealm().apply {
writeBlocking { writeBlocking {
// var ddd = copyFromRealm(WorkersDb.getRssQuery("", arrayListOf(),false).limit(100).query("read == $0", 0).query("vote != $0", true).find()).map { it.originPage() }
// var origin = ddd.first()
// RssViewBuilder(lActivity!!)
// .setRssList(arrayListOf<String>().apply { this.addAll(ddd) })
// .setRssId(origin)
// .showIconClose(true).showIconBack(false).showProgressBar(true).backPressToClose(false).webViewMixedContentMode(1)
// .show(origin)
} }
} }
} }
@ -180,17 +173,7 @@ open class LauncherActivity : CommonActivity() {
KEYCODE_BUTTON_SELECT->{ KEYCODE_BUTTON_SELECT->{
WorkersDb.getRealm().apply { WorkersDb.getRealm().apply {
writeBlocking { writeBlocking {
var ddd = copyFromRealm(WorkersDb.getVotedRss().limit(100).find()).map { it.originPage() }
var origin = ddd.first()
// RssViewBuilder(lActivity!!)
// .setRssList(arrayListOf<String>().apply {
// var jjjj = hashSetOf<String>()
// jjjj.addAll(ddd)
// this.addAll(jjjj)}
// )
// .setRssId(origin)
// .showIconClose(true).showIconBack(false).showProgressBar(true).backPressToClose(false).webViewMixedContentMode(1)
// .show(origin)
} }
} }
} }
@ -266,12 +249,6 @@ open class LauncherActivity : CommonActivity() {
var origin = ddd.first() var origin = ddd.first()
var jjjj = hashSetOf<String>() var jjjj = hashSetOf<String>()
jjjj.addAll(ddd) jjjj.addAll(ddd)
// RssViewBuilder(lActivity!!)
// .setRssList(arrayListOf<String>().apply {
// this.addAll(jjjj)})
// .setRssId(origin)
// .showIconClose(true).showIconBack(false).showProgressBar(true).backPressToClose(false).webViewMixedContentMode(1)
// .show(origin)
} }
} }
} }
@ -420,11 +397,6 @@ open class LauncherActivity : CommonActivity() {
} }
} }
var isKeyboardVisible = false
fun setAddr(str : String) {
binding.currentAddress.text = str
}
@SuppressLint("NewApi", "MissingPermission", "ClickableViewAccessibility") @SuppressLint("NewApi", "MissingPermission", "ClickableViewAccessibility")
override fun onCreate(savedInstanceState: Bundle?) { override fun onCreate(savedInstanceState: Bundle?) {
@ -532,16 +504,9 @@ open class LauncherActivity : CommonActivity() {
.replace(R.id.fragment_container, BookmarkPagerFragment()) .replace(R.id.fragment_container, BookmarkPagerFragment())
.commit() .commit()
} }
R.id.magnet ->{
supportFragmentManager.beginTransaction()
.replace(R.id.fragment_container, Magnet())
.commit()
}
R.id.setting ->{ R.id.setting ->{
startActivity(Intent(this, SettingsActivity::class.java)) startActivity(Intent(this, SettingsActivity::class.java))
} }
else -> {} else -> {}
} }
binding.floatingActionMenu.close(false) binding.floatingActionMenu.close(false)
@ -630,21 +595,6 @@ open class LauncherActivity : CommonActivity() {
}) })
} }
private fun topPadding(topPadding: Boolean) {
ViewCompat.setOnApplyWindowInsetsListener(binding.root) { view, windowInsets ->
windowInsets.getInsets(WindowInsetsCompat.Type.systemGestures()).let {
val topInset = if (topPadding) {
if (it.top == 0) windowInsets.getInsets(WindowInsetsCompat.Type.systemBars()).top
else it.top
} else 0
view.updatePadding(0, topInset, 0, it.bottom)
}
WindowInsetsCompat.CONSUMED
}
}
val experimentDelegate = object : ExperimentDelegate { val experimentDelegate = object : ExperimentDelegate {
override fun onGetExperimentFeature(feature: String): GeckoResult<JSONObject?> { override fun onGetExperimentFeature(feature: String): GeckoResult<JSONObject?> {
Blog.LOGE("onGetExperimentFeature $feature") Blog.LOGE("onGetExperimentFeature $feature")
@ -681,61 +631,61 @@ open class LauncherActivity : CommonActivity() {
fun beforeDay(date: Date): Long { //fun beforeDay(date: Date): Long {
val cal: Calendar = Calendar.getInstance() // val cal: Calendar = Calendar.getInstance()
cal.setTime(date) // cal.setTime(date)
cal.add(Calendar.DAY_OF_YEAR, -2) // cal.add(Calendar.DAY_OF_YEAR, -2)
cal.add(Calendar.HOUR, 8) // cal.add(Calendar.HOUR, 8)
return cal.timeInMillis // return cal.timeInMillis
} //}
//
fun openClient(url : String){ //fun openClient(url : String){
val browserIntent = Intent( // val browserIntent = Intent(
Intent.ACTION_VIEW, Uri.parse( // Intent.ACTION_VIEW, Uri.parse(
url // url
) // )
) // )
browserIntent.addFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS) // browserIntent.addFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS)
lActivity?.startActivity(browserIntent) // lActivity?.startActivity(browserIntent)
} //}
//
fun openYouTube(schemeString : String) { //fun openYouTube(schemeString : String) {
val gmmIntentUri = Uri.parse(schemeString) // val gmmIntentUri = Uri.parse(schemeString)
val mapIntent = Intent(Intent.ACTION_VIEW, gmmIntentUri) // val mapIntent = Intent(Intent.ACTION_VIEW, gmmIntentUri)
mapIntent.setPackage("com.google.android.youtube") // mapIntent.setPackage("com.google.android.youtube")
lActivity?.startActivity(mapIntent) // lActivity?.startActivity(mapIntent)
} //}
//
fun openReddit(schemeString : String) { //fun openReddit(schemeString : String) {
Blog.LOGE("schemeString >>>> ${schemeString}") // Blog.LOGE("schemeString >>>> ${schemeString}")
var uri = schemeString.toUri() // var uri = schemeString.toUri()
val gmmIntentUri = Uri.parse(schemeString) // val gmmIntentUri = Uri.parse(schemeString)
val mapIntent = Intent(Intent.ACTION_VIEW, gmmIntentUri) // val mapIntent = Intent(Intent.ACTION_VIEW, gmmIntentUri)
if(schemeString.contains("reddit")) { // if(schemeString.contains("reddit")) {
mapIntent.setPackage("com.reddit.frontpage") // mapIntent.setPackage("com.reddit.frontpage")
} // }
lActivity?.startActivity(mapIntent) // lActivity?.startActivity(mapIntent)
} //}
//
fun openDotax(schemeString : String) { //fun openDotax(schemeString : String) {
val gmmIntentUri = Uri.parse(schemeString) // val gmmIntentUri = Uri.parse(schemeString)
val mapIntent = Intent(Intent.ACTION_VIEW) // val mapIntent = Intent(Intent.ACTION_VIEW)
// mapIntent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP) //// mapIntent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP)
// mapIntent.addCategory(Intent.CATEGORY_BROWSABLE) //// mapIntent.addCategory(Intent.CATEGORY_BROWSABLE)
// mapIntent.setPackage("net.daum.android.cafe") //// mapIntent.setPackage("net.daum.android.cafe")
mapIntent.addFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS) // mapIntent.addFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS)
// mapIntent.setPackage("com.android.chrome") //// mapIntent.setPackage("com.android.chrome")
mapIntent.setData(gmmIntentUri) // mapIntent.setData(gmmIntentUri)
lActivity?.startActivity(mapIntent) // lActivity?.startActivity(mapIntent)
} //}
//
//
fun openOpera(schemeString : String) { //fun openOpera(schemeString : String) {
Blog.LOGE("openOpera ${schemeString}") // Blog.LOGE("openOpera ${schemeString}")
val gmmIntentUri = Uri.parse(schemeString) // val gmmIntentUri = Uri.parse(schemeString)
val mapIntent = Intent(Intent.ACTION_VIEW, gmmIntentUri) // val mapIntent = Intent(Intent.ACTION_VIEW, gmmIntentUri)
mapIntent.addFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS) // mapIntent.addFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS)
mapIntent.setPackage("com.opera.browser") // mapIntent.setPackage("com.opera.browser")
lActivity?.startActivity(mapIntent) // lActivity?.startActivity(mapIntent)
} //}
//

View File

@ -55,7 +55,6 @@ import bums.lunatic.launcher.home.adapters.SwipeToDeleteCallback
import bums.lunatic.launcher.model.RssData import bums.lunatic.launcher.model.RssData
import bums.lunatic.launcher.model.RssDataType import bums.lunatic.launcher.model.RssDataType
import bums.lunatic.launcher.model.WeatherForcast import bums.lunatic.launcher.model.WeatherForcast
import bums.lunatic.launcher.openReddit
import bums.lunatic.launcher.tokiz.view.JxEvent import bums.lunatic.launcher.tokiz.view.JxEvent
import bums.lunatic.launcher.utils.Blog import bums.lunatic.launcher.utils.Blog
import bums.lunatic.launcher.utils.SimpleFingerGestures import bums.lunatic.launcher.utils.SimpleFingerGestures
@ -231,86 +230,11 @@ internal class RssHome : Fragment() {
copyToRealm(rss, UpdatePolicy.ALL) copyToRealm(rss, UpdatePolicy.ALL)
} }
} }
when (rss.category()) { openGecko(rss)
RssDataType.REDDIT_NSFW, RssDataType.PRIVATE -> {
v.findViewById<ShapeableImageView>(R.id.circle_preview)?.let {
if (RssDataType.PRIVATE.equals(rss.category())) {
openGecko(rssData = rss)
} else {
if (it.visibility == View.GONE) {
it.visibility = View.VISIBLE
it.postDelayed({
it.visibility = View.GONE
}, 2000L)
} else {
if (RssDataType.REDDIT_NSFW.equals(rss.category())) {
openReddit(rss.originPage())
} else if (RssDataType.PRIVATE.equals(rss.category())) {
startActivity(Intent().apply {
action = Intent.ACTION_VIEW
data = Uri.parse(rss.originPage)
})
} else {
openGecko(rss)
}
}
}
}
}
RssDataType.REDDIT -> {
openGecko(rss)
}
RssDataType.DOTAX -> {
openGecko(rss)
}
RssDataType.YOUTUBE -> {
openGecko(rss)
}
RssDataType.CLIEN -> {
openGecko(rss)
}
else -> {
openGecko(rss)
}
}
} }
} }
fun searchKeyword() { fun searchKeyword() {
binding.geckoWeb.visibility = View.GONE binding.geckoWeb.visibility = View.GONE
// val builder: AlertDialog.Builder = AlertDialog.Builder(requireContext())
// builder.setTitle("Keyword")
// val viewInflated: View = LayoutInflater.from(requireContext())
// .inflate(R.layout.text_inpu_password, binding.root as ViewGroup?, false)
// val input = viewInflated.findViewById<View>(R.id.input) as EditText
// val privateMode = viewInflated.findViewById<CheckBox>(R.id.private_mode) as CheckBox
// val addVote = viewInflated.findViewById<CheckBox>(R.id.add_vote) as CheckBox
// val addRead = viewInflated.findViewById<CheckBox>(R.id.add_read) as CheckBox
// privateMode.setOnCheckedChangeListener { v,c->
// binding.geckoWeb.privateMode = c
// }
// privateMode.visibility = View.GONE
// binding.geckoWeb.privateMode = true
// builder.setView(viewInflated)
// builder.setPositiveButton(
// android.R.string.ok,
// DialogInterface.OnClickListener { dialog, which ->
// dialog.dismiss()
// var command = input.editableText?.toString()
// if (command?.length ?: 0 > 0) {
// queryInfos(keywords = command!!.split(" ")!!, addVote.isChecked, addRead.isChecked)
// }
// })
// builder.setNegativeButton(
// android.R.string.cancel,
// DialogInterface.OnClickListener { dialog, which -> dialog.cancel() })
//
// builder.show()
val bottomSheet = SearchBottomSheet() val bottomSheet = SearchBottomSheet()
bottomSheet.listener = object : OnSearchListener{ bottomSheet.listener = object : OnSearchListener{
override fun onSearch( override fun onSearch(
@ -391,12 +315,8 @@ internal class RssHome : Fragment() {
binding.geckoWeb.privateMode = false binding.geckoWeb.privateMode = false
} }
RssDataType.PRIVATE -> { RssDataType.PRIVATE -> {
// if (binding.geckoWeb.lastedUrl?.contains("naver") == true) {
//
// } else {
binding.geckoWeb.privateMode = privateMode binding.geckoWeb.privateMode = privateMode
binding.geckoWeb.loadUrl("aHR0cHM6Ly9pamF2dG9ycmVudC5jb20=", if (keyword.length ?: 0 > 0) {"/?searchTerm=${keyword}"} else {null}) binding.geckoWeb.loadUrl("aHR0cHM6Ly9pamF2dG9ycmVudC5jb20=", if (keyword.length ?: 0 > 0) {"/?searchTerm=${keyword}"} else {null})
// }
} }
else -> { else -> {

View File

@ -2,6 +2,7 @@ package bums.lunatic.launcher.model
import android.view.View import android.view.View
import bums.lunatic.launcher.R import bums.lunatic.launcher.R
import bums.lunatic.launcher.helpers.PrefHelper
enum class RssDataType { enum class RssDataType {
NO_DATA, NO_DATA,
@ -50,10 +51,9 @@ enum class RssDataType {
} }
fun isOn(block : ()->Unit) { fun isOn(block : ()->Unit) {
block.invoke() if(PrefHelper.getBoolean(name,false)) {
// if(PrefHelper.getBoolean(name,false)) { block.invoke()
// block.invoke() }
// }
} }
companion object { companion object {

View File

@ -44,7 +44,6 @@ internal class HomeSettings : BottomSheetDialogFragment() {
binding = SettingsTodoBinding.inflate(inflater, container, false) binding = SettingsTodoBinding.inflate(inflater, container, false)
setTableItem(binding.admin02)
setTableItem(binding.admin01) setTableItem(binding.admin01)
setTableItem(binding.normal01) setTableItem(binding.normal01)
setTableItem(binding.normal02) setTableItem(binding.normal02)
@ -71,7 +70,6 @@ internal class HomeSettings : BottomSheetDialogFragment() {
if(!PrefHelper.getBoolean("rootPermisssion",false)) { if(!PrefHelper.getBoolean("rootPermisssion",false)) {
binding.admin01.visibility = View.GONE binding.admin01.visibility = View.GONE
binding.admin02.visibility = View.GONE
} }
return binding.root return binding.root

View File

@ -650,7 +650,7 @@ abstract class BaseToki : Fragment(), PagedTextViewInterface {
}, },
{ e: Throwable? -> Log.e("MessageDelegate", "Error registering WebExtension", e) }) { e: Throwable? -> Log.e("MessageDelegate", "Error registering WebExtension", e) })
} }
val nullCursor = PointerIcon.getSystemIcon(context!!, PointerIcon.TYPE_NULL) val nullCursor = PointerIcon.getSystemIcon(requireContext(), PointerIcon.TYPE_NULL)
binding.root.setPointerIcon(nullCursor) binding.root.setPointerIcon(nullCursor)
@ -684,7 +684,7 @@ abstract class BaseToki : Fragment(), PagedTextViewInterface {
override fun onResume() { override fun onResume() {
super.onResume() super.onResume()
val nullCursor = PointerIcon.getSystemIcon(context!!, PointerIcon.TYPE_NULL) val nullCursor = PointerIcon.getSystemIcon(requireContext(), PointerIcon.TYPE_NULL)
binding.root.setPointerIcon(nullCursor) binding.root.setPointerIcon(nullCursor)
loadLastInfo() loadLastInfo()
} }
@ -957,31 +957,6 @@ abstract class BaseToki : Fragment(), PagedTextViewInterface {
} }
var saveClient = object : WebViewClient() {
override fun onPageStarted(view: WebView?, url: String?, favicon: Bitmap?) {
super.onPageStarted(view, url, favicon)
}
override fun onPageFinished(webView: WebView?, url: String?) {
super.onPageFinished(webView, url)
// val delayed = 3500L + Math.abs(Random.nextLong().rem(9999L))
finishedUrl = url ?: ""
webView?.postDelayed({
webView?.evaluateJavascript(
"function getAll() {\n" +
" MyJavaScriptInterface.sendValueFromHtml(document.getElementsByTagName('html')[0].innerHTML)" +
" };getAll()"
) { result ->
(result as? String)?.let {
}
}
}, delayed)
}
}
fun showToast(origin: String) { fun showToast(origin: String) {
activity?.runOnUiThread { activity?.runOnUiThread {

View File

@ -137,14 +137,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="20dp"/> android:layout_height="20dp"/>
<bums.lunatic.launcher.view.FloatingActionButton
app:fab_label="magnet"
android:id="@+id/magnet"
app:fab_showShadow="true"
app:fab_size="mini"
android:onClick="floatClick"
android:layout_width="wrap_content"
android:layout_height="20dp"/>
<bums.lunatic.launcher.view.FloatingActionButton <bums.lunatic.launcher.view.FloatingActionButton
app:fab_label="setting" app:fab_label="setting"
android:id="@+id/setting" android:id="@+id/setting"

View File

@ -5,26 +5,26 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="@dimen/twelve"> android:padding="@dimen/twelve">
<!-- <com.google.android.material.textview.MaterialTextView--> <!-- <com.google.android.material.textview.MaterialTextView-->
<!-- android:id="@+id/phoneTitle"--> <!-- android:id="@+id/phoneTitle"-->
<!-- android:layout_width="wrap_content"--> <!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"--> <!-- android:layout_height="wrap_content"-->
<!-- android:text="통화목록"--> <!-- android:text="통화목록"-->
<!-- android:textSize="@dimen/normalText"--> <!-- android:textSize="@dimen/normalText"-->
<!-- app:layout_constraintEnd_toEndOf="parent"--> <!-- app:layout_constraintEnd_toEndOf="parent"-->
<!-- app:layout_constraintStart_toStartOf="parent"--> <!-- app:layout_constraintStart_toStartOf="parent"-->
<!-- app:layout_constraintTop_toTopOf="parent" />--> <!-- app:layout_constraintTop_toTopOf="parent" />-->
<!-- <com.google.android.material.switchmaterial.SwitchMaterial--> <!-- <com.google.android.material.switchmaterial.SwitchMaterial-->
<!-- android:id="@+id/callInfo"--> <!-- android:id="@+id/callInfo"-->
<!-- android:text="사용 여부"--> <!-- android:text="사용 여부"-->
<!-- android:layout_width="wrap_content"--> <!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"--> <!-- android:layout_height="wrap_content"-->
<!-- app:layout_constraintEnd_toEndOf="parent"--> <!-- app:layout_constraintEnd_toEndOf="parent"-->
<!-- app:layout_constraintStart_toStartOf="parent"--> <!-- app:layout_constraintStart_toStartOf="parent"-->
<!-- app:layout_constraintTop_toBottomOf="@+id/phoneTitle"--> <!-- app:layout_constraintTop_toBottomOf="@+id/phoneTitle"-->
<!-- app:selectionRequired="true"--> <!-- app:selectionRequired="true"-->
<!-- app:singleSelection="true"/>--> <!-- app:singleSelection="true"/>-->
<com.google.android.material.textview.MaterialTextView <com.google.android.material.textview.MaterialTextView
android:id="@+id/newsTitle" android:id="@+id/newsTitle"
@ -114,18 +114,7 @@
</TableRow> </TableRow>
<TableRow android:id="@+id/admin_01" android:weightSum="3"> <TableRow android:id="@+id/admin_01" android:weightSum="3">
<com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/most"
android:text="most"
style="@style/tableItem"
android:layout_height="wrap_content"
/>
<com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/tags"
android:text="tags"
style="@style/tableItem"
android:layout_height="wrap_content"
/>
<com.google.android.material.switchmaterial.SwitchMaterial <com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/reddit_nsfw" android:id="@+id/reddit_nsfw"
android:text="reddit_nsfw" android:text="reddit_nsfw"
@ -133,76 +122,69 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
/> />
</TableRow> </TableRow>
<TableRow android:id="@+id/admin_02" android:weightSum="3">
<com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/guru"
android:text="guru"
style="@style/tableItem"
android:layout_height="wrap_content"/>
</TableRow>
</TableLayout> </TableLayout>
<!-- <com.google.android.material.textview.MaterialTextView--> <!-- <com.google.android.material.textview.MaterialTextView-->
<!-- android:id="@+id/smsTitle"--> <!-- android:id="@+id/smsTitle"-->
<!-- android:layout_width="wrap_content"--> <!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"--> <!-- android:layout_height="wrap_content"-->
<!-- android:text="문자 내역"--> <!-- android:text="문자 내역"-->
<!-- android:textSize="@dimen/normalText"--> <!-- android:textSize="@dimen/normalText"-->
<!-- app:layout_constraintEnd_toEndOf="parent"--> <!-- app:layout_constraintEnd_toEndOf="parent"-->
<!-- app:layout_constraintStart_toStartOf="parent"--> <!-- app:layout_constraintStart_toStartOf="parent"-->
<!-- app:layout_constraintTop_toBottomOf="@id/contentsTypes" />--> <!-- app:layout_constraintTop_toBottomOf="@id/contentsTypes" />-->
<!-- <com.google.android.material.switchmaterial.SwitchMaterial--> <!-- <com.google.android.material.switchmaterial.SwitchMaterial-->
<!-- android:id="@+id/smsInfos"--> <!-- android:id="@+id/smsInfos"-->
<!-- android:text="사용 여부"--> <!-- android:text="사용 여부"-->
<!-- android:layout_width="wrap_content"--> <!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"--> <!-- android:layout_height="wrap_content"-->
<!-- app:layout_constraintEnd_toEndOf="parent"--> <!-- app:layout_constraintEnd_toEndOf="parent"-->
<!-- app:layout_constraintStart_toStartOf="parent"--> <!-- app:layout_constraintStart_toStartOf="parent"-->
<!-- app:layout_constraintTop_toBottomOf="@+id/smsTitle"--> <!-- app:layout_constraintTop_toBottomOf="@+id/smsTitle"-->
<!-- app:selectionRequired="true"--> <!-- app:selectionRequired="true"-->
<!-- app:singleSelection="true"/>--> <!-- app:singleSelection="true"/>-->
<!-- <com.google.android.material.textview.MaterialTextView--> <!-- <com.google.android.material.textview.MaterialTextView-->
<!-- android:id="@+id/notificationTitle"--> <!-- android:id="@+id/notificationTitle"-->
<!-- android:layout_width="wrap_content"--> <!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"--> <!-- android:layout_height="wrap_content"-->
<!-- android:text="알림 내역"--> <!-- android:text="알림 내역"-->
<!-- android:textSize="@dimen/normalText"--> <!-- android:textSize="@dimen/normalText"-->
<!-- app:layout_constraintEnd_toEndOf="parent"--> <!-- app:layout_constraintEnd_toEndOf="parent"-->
<!-- app:layout_constraintStart_toStartOf="parent"--> <!-- app:layout_constraintStart_toStartOf="parent"-->
<!-- app:layout_constraintTop_toBottomOf="@id/smsInfos" />--> <!-- app:layout_constraintTop_toBottomOf="@id/smsInfos" />-->
<!-- <com.google.android.material.switchmaterial.SwitchMaterial--> <!-- <com.google.android.material.switchmaterial.SwitchMaterial-->
<!-- android:id="@+id/notificationInfos"--> <!-- android:id="@+id/notificationInfos"-->
<!-- android:text="표시 여부"--> <!-- android:text="표시 여부"-->
<!-- android:layout_width="wrap_content"--> <!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"--> <!-- android:layout_height="wrap_content"-->
<!-- app:layout_constraintEnd_toEndOf="parent"--> <!-- app:layout_constraintEnd_toEndOf="parent"-->
<!-- app:layout_constraintStart_toStartOf="parent"--> <!-- app:layout_constraintStart_toStartOf="parent"-->
<!-- app:layout_constraintTop_toBottomOf="@+id/notificationTitle"--> <!-- app:layout_constraintTop_toBottomOf="@+id/notificationTitle"-->
<!-- app:selectionRequired="true"--> <!-- app:selectionRequired="true"-->
<!-- app:singleSelection="true"/>--> <!-- app:singleSelection="true"/>-->
<!-- <com.google.android.material.textview.MaterialTextView--> <!-- <com.google.android.material.textview.MaterialTextView-->
<!-- android:id="@+id/nowPlayingTitle"--> <!-- android:id="@+id/nowPlayingTitle"-->
<!-- android:layout_width="wrap_content"--> <!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"--> <!-- android:layout_height="wrap_content"-->
<!-- android:text="재생중인 곡"--> <!-- android:text="재생중인 곡"-->
<!-- android:textSize="@dimen/normalText"--> <!-- android:textSize="@dimen/normalText"-->
<!-- app:layout_constraintEnd_toEndOf="parent"--> <!-- app:layout_constraintEnd_toEndOf="parent"-->
<!-- app:layout_constraintStart_toStartOf="parent"--> <!-- app:layout_constraintStart_toStartOf="parent"-->
<!-- app:layout_constraintTop_toBottomOf="@id/notificationInfos" />--> <!-- app:layout_constraintTop_toBottomOf="@id/notificationInfos" />-->
<!-- <com.google.android.material.switchmaterial.SwitchMaterial--> <!-- <com.google.android.material.switchmaterial.SwitchMaterial-->
<!-- android:id="@+id/nowPlaying"--> <!-- android:id="@+id/nowPlaying"-->
<!-- android:text="사용 여부"--> <!-- android:text="사용 여부"-->
<!-- android:layout_width="wrap_content"--> <!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"--> <!-- android:layout_height="wrap_content"-->
<!-- app:layout_constraintEnd_toEndOf="parent"--> <!-- app:layout_constraintEnd_toEndOf="parent"-->
<!-- app:layout_constraintStart_toStartOf="parent"--> <!-- app:layout_constraintStart_toStartOf="parent"-->
<!-- app:layout_constraintTop_toBottomOf="@+id/nowPlayingTitle"--> <!-- app:layout_constraintTop_toBottomOf="@+id/nowPlayingTitle"-->
<!-- app:selectionRequired="true"--> <!-- app:selectionRequired="true"-->
<!-- app:singleSelection="true"/>--> <!-- app:singleSelection="true"/>-->
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>