|
@@ -198,7 +198,7 @@ open class ReaderActivity : AppCompatActivity() {
|
|
viewGroup_readerActivity_leftToolbar.setScroll(false)
|
|
viewGroup_readerActivity_leftToolbar.setScroll(false)
|
|
setLeftToolbarWidth(w_240)
|
|
setLeftToolbarWidth(w_240)
|
|
viewGroup_readerActivity_leftToolbar.smoothScrollTo(w_240, 0, 0)
|
|
viewGroup_readerActivity_leftToolbar.smoothScrollTo(w_240, 0, 0)
|
|
- val child = layoutInflater.inflate(R.layout.view_km_thumb_layout, null)
|
|
|
|
|
|
+ val child = layoutInflater.inflate(R.layout.view_thumbnail, null)
|
|
linearLayout_readerActivity_leftToolbarContainer.addView(child)
|
|
linearLayout_readerActivity_leftToolbarContainer.addView(child)
|
|
cloneOriginConstraintSet()
|
|
cloneOriginConstraintSet()
|
|
}
|
|
}
|
|
@@ -270,7 +270,7 @@ open class ReaderActivity : AppCompatActivity() {
|
|
if (isLeftToolbarOpen) {
|
|
if (isLeftToolbarOpen) {
|
|
if (leftToolbarType != type) {
|
|
if (leftToolbarType != type) {
|
|
linearLayout_readerActivity_leftToolbarContainer.removeAllViews()
|
|
linearLayout_readerActivity_leftToolbarContainer.removeAllViews()
|
|
- val child = layoutInflater.inflate(R.layout.view_km_thumb_layout, null)
|
|
|
|
|
|
+ val child = layoutInflater.inflate(R.layout.view_thumbnail, null)
|
|
linearLayout_readerActivity_leftToolbarContainer.addView(child)
|
|
linearLayout_readerActivity_leftToolbarContainer.addView(child)
|
|
}
|
|
}
|
|
iv_readerActivity_bookmark.setImageResource(R.drawable.ic_pagelist_bookmk_h)
|
|
iv_readerActivity_bookmark.setImageResource(R.drawable.ic_pagelist_bookmk_h)
|
|
@@ -286,7 +286,7 @@ open class ReaderActivity : AppCompatActivity() {
|
|
if (isLeftToolbarOpen) {
|
|
if (isLeftToolbarOpen) {
|
|
if (leftToolbarType != type) {
|
|
if (leftToolbarType != type) {
|
|
linearLayout_readerActivity_leftToolbarContainer.removeAllViews()
|
|
linearLayout_readerActivity_leftToolbarContainer.removeAllViews()
|
|
- val child = layoutInflater.inflate(R.layout.view_km_thumb_layout, null)
|
|
|
|
|
|
+ val child = layoutInflater.inflate(R.layout.view_thumbnail, null)
|
|
linearLayout_readerActivity_leftToolbarContainer.addView(child)
|
|
linearLayout_readerActivity_leftToolbarContainer.addView(child)
|
|
}
|
|
}
|
|
iv_readerActivity_outline.setImageResource(R.drawable.ic_pagelist_outline_h)
|
|
iv_readerActivity_outline.setImageResource(R.drawable.ic_pagelist_outline_h)
|
|
@@ -302,7 +302,7 @@ open class ReaderActivity : AppCompatActivity() {
|
|
if (isLeftToolbarOpen) {
|
|
if (isLeftToolbarOpen) {
|
|
if (leftToolbarType != type) {
|
|
if (leftToolbarType != type) {
|
|
linearLayout_readerActivity_leftToolbarContainer.removeAllViews()
|
|
linearLayout_readerActivity_leftToolbarContainer.removeAllViews()
|
|
- val child = layoutInflater.inflate(R.layout.view_km_thumb_layout, null)
|
|
|
|
|
|
+ val child = layoutInflater.inflate(R.layout.view_thumbnail, null)
|
|
linearLayout_readerActivity_leftToolbarContainer.addView(child)
|
|
linearLayout_readerActivity_leftToolbarContainer.addView(child)
|
|
}
|
|
}
|
|
iv_readerActivity_search.setImageResource(R.drawable.ic_pagelist_search_h)
|
|
iv_readerActivity_search.setImageResource(R.drawable.ic_pagelist_search_h)
|