优化
This commit is contained in:
@@ -53,7 +53,7 @@ class ImportHttpTtsDialog() : BaseDialogFragment(R.layout.dialog_recycler_view)
|
|||||||
@SuppressLint("NotifyDataSetChanged")
|
@SuppressLint("NotifyDataSetChanged")
|
||||||
override fun onFragmentCreated(view: View, savedInstanceState: Bundle?) {
|
override fun onFragmentCreated(view: View, savedInstanceState: Bundle?) {
|
||||||
binding.toolBar.setBackgroundColor(primaryColor)
|
binding.toolBar.setBackgroundColor(primaryColor)
|
||||||
binding.toolBar.setTitle(R.string.import_book_source)
|
binding.toolBar.setTitle(R.string.import_tts)
|
||||||
binding.rotateLoading.show()
|
binding.rotateLoading.show()
|
||||||
binding.recyclerView.layoutManager = LinearLayoutManager(requireContext())
|
binding.recyclerView.layoutManager = LinearLayoutManager(requireContext())
|
||||||
binding.recyclerView.adapter = adapter
|
binding.recyclerView.adapter = adapter
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ class ImportThemeDialog() : BaseDialogFragment(R.layout.dialog_recycler_view) {
|
|||||||
@SuppressLint("NotifyDataSetChanged")
|
@SuppressLint("NotifyDataSetChanged")
|
||||||
override fun onFragmentCreated(view: View, savedInstanceState: Bundle?) {
|
override fun onFragmentCreated(view: View, savedInstanceState: Bundle?) {
|
||||||
binding.toolBar.setBackgroundColor(primaryColor)
|
binding.toolBar.setBackgroundColor(primaryColor)
|
||||||
binding.toolBar.setTitle(R.string.import_book_source)
|
binding.toolBar.setTitle(R.string.import_theme)
|
||||||
binding.rotateLoading.show()
|
binding.rotateLoading.show()
|
||||||
binding.recyclerView.layoutManager = LinearLayoutManager(requireContext())
|
binding.recyclerView.layoutManager = LinearLayoutManager(requireContext())
|
||||||
binding.recyclerView.adapter = adapter
|
binding.recyclerView.adapter = adapter
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ class ImportTxtTocRuleDialog() : BaseDialogFragment(R.layout.dialog_recycler_vie
|
|||||||
@SuppressLint("NotifyDataSetChanged")
|
@SuppressLint("NotifyDataSetChanged")
|
||||||
override fun onFragmentCreated(view: View, savedInstanceState: Bundle?) {
|
override fun onFragmentCreated(view: View, savedInstanceState: Bundle?) {
|
||||||
binding.toolBar.setBackgroundColor(primaryColor)
|
binding.toolBar.setBackgroundColor(primaryColor)
|
||||||
binding.toolBar.setTitle(R.string.import_book_source)
|
binding.toolBar.setTitle(R.string.import_txt_toc_rule)
|
||||||
binding.rotateLoading.show()
|
binding.rotateLoading.show()
|
||||||
binding.recyclerView.layoutManager = LinearLayoutManager(requireContext())
|
binding.recyclerView.layoutManager = LinearLayoutManager(requireContext())
|
||||||
binding.recyclerView.adapter = adapter
|
binding.recyclerView.adapter = adapter
|
||||||
|
|||||||
@@ -975,5 +975,8 @@
|
|||||||
<string name="verification_code">验证码</string>
|
<string name="verification_code">验证码</string>
|
||||||
<string name="timeout_millisecond">超时毫秒数</string>
|
<string name="timeout_millisecond">超时毫秒数</string>
|
||||||
<string name="file_not_supported">Continue to open although %1$s is not supported ?</string>
|
<string name="file_not_supported">Continue to open although %1$s is not supported ?</string>
|
||||||
|
<string name="import_tts">导入TTS</string>
|
||||||
|
<string name="import_theme">导入主题</string>
|
||||||
|
<string name="import_txt_toc_rule">导入txt目录规则</string>
|
||||||
<!-- string end -->
|
<!-- string end -->
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -978,5 +978,8 @@
|
|||||||
<string name="verification_code">验证码</string>
|
<string name="verification_code">验证码</string>
|
||||||
<string name="timeout_millisecond">超时毫秒数</string>
|
<string name="timeout_millisecond">超时毫秒数</string>
|
||||||
<string name="file_not_supported">Continue to open although %1$s is not supported ?</string>
|
<string name="file_not_supported">Continue to open although %1$s is not supported ?</string>
|
||||||
|
<string name="import_tts">导入TTS</string>
|
||||||
|
<string name="import_theme">导入主题</string>
|
||||||
|
<string name="import_txt_toc_rule">导入txt目录规则</string>
|
||||||
<!-- string end -->
|
<!-- string end -->
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -978,5 +978,8 @@
|
|||||||
<string name="verification_code">验证码</string>
|
<string name="verification_code">验证码</string>
|
||||||
<string name="timeout_millisecond">超时毫秒数</string>
|
<string name="timeout_millisecond">超时毫秒数</string>
|
||||||
<string name="file_not_supported">Continue to open although %1$s is not supported ?</string>
|
<string name="file_not_supported">Continue to open although %1$s is not supported ?</string>
|
||||||
|
<string name="import_tts">导入TTS</string>
|
||||||
|
<string name="import_theme">导入主题</string>
|
||||||
|
<string name="import_txt_toc_rule">导入txt目录规则</string>
|
||||||
<!-- string end -->
|
<!-- string end -->
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -975,5 +975,8 @@
|
|||||||
<string name="verification_code">验证码</string>
|
<string name="verification_code">验证码</string>
|
||||||
<string name="timeout_millisecond">超时毫秒数</string>
|
<string name="timeout_millisecond">超时毫秒数</string>
|
||||||
<string name="file_not_supported">文件%1$s 不受支持,是否继续打开?</string>
|
<string name="file_not_supported">文件%1$s 不受支持,是否继续打开?</string>
|
||||||
|
<string name="import_tts">导入TTS</string>
|
||||||
|
<string name="import_theme">导入主题</string>
|
||||||
|
<string name="import_txt_toc_rule">导入txt目录规则</string>
|
||||||
<!-- string end -->
|
<!-- string end -->
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -977,5 +977,8 @@
|
|||||||
<string name="verification_code">验证码</string>
|
<string name="verification_code">验证码</string>
|
||||||
<string name="timeout_millisecond">超时毫秒数</string>
|
<string name="timeout_millisecond">超时毫秒数</string>
|
||||||
<string name="file_not_supported">文件%1$s 不受支持,是否继续打开?</string>
|
<string name="file_not_supported">文件%1$s 不受支持,是否继续打开?</string>
|
||||||
|
<string name="import_tts">导入TTS</string>
|
||||||
|
<string name="import_theme">导入主题</string>
|
||||||
|
<string name="import_txt_toc_rule">导入txt目录规则</string>
|
||||||
<!-- string end -->
|
<!-- string end -->
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -977,5 +977,8 @@
|
|||||||
<string name="verification_code">验证码</string>
|
<string name="verification_code">验证码</string>
|
||||||
<string name="timeout_millisecond">超时毫秒数</string>
|
<string name="timeout_millisecond">超时毫秒数</string>
|
||||||
<string name="file_not_supported">文件%1$s 不受支持,是否继续打开?</string>
|
<string name="file_not_supported">文件%1$s 不受支持,是否继续打开?</string>
|
||||||
|
<string name="import_tts">导入TTS</string>
|
||||||
|
<string name="import_theme">导入主题</string>
|
||||||
|
<string name="import_txt_toc_rule">导入txt目录规则</string>
|
||||||
<!-- string end -->
|
<!-- string end -->
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -978,5 +978,8 @@
|
|||||||
<string name="verification_code">验证码</string>
|
<string name="verification_code">验证码</string>
|
||||||
<string name="timeout_millisecond">超时毫秒数</string>
|
<string name="timeout_millisecond">超时毫秒数</string>
|
||||||
<string name="file_not_supported">Continue to open although %1$s is not supported ?</string>
|
<string name="file_not_supported">Continue to open although %1$s is not supported ?</string>
|
||||||
|
<string name="import_tts">导入TTS</string>
|
||||||
|
<string name="import_theme">导入主题</string>
|
||||||
|
<string name="import_txt_toc_rule">导入txt目录规则</string>
|
||||||
<!-- string end -->
|
<!-- string end -->
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
Reference in New Issue
Block a user