|
|
@@ -1,6 +1,7 @@
|
|
|
package kr.co.zumo.app.lifeplus.view.custom.contents;
|
|
|
|
|
|
import android.content.Context;
|
|
|
+import android.graphics.Typeface;
|
|
|
import android.support.constraint.ConstraintLayout;
|
|
|
import android.support.v7.widget.LinearLayoutManager;
|
|
|
import android.support.v7.widget.LinearSmoothScroller;
|
|
|
@@ -185,6 +186,7 @@ public class CustomListicleImageView extends ConstraintLayout {
|
|
|
index = ((LinearLayoutManager) recyclerView.getLayoutManager()).findFirstVisibleItemPosition();
|
|
|
currentIndex = index % contentsLength;
|
|
|
textViewCurrentPage.setText(String.valueOf(currentIndex + 1));
|
|
|
+ textViewCurrentPage.setTypeface(null, Typeface.BOLD);
|
|
|
}
|
|
|
};
|
|
|
|
|
|
@@ -199,6 +201,7 @@ public class CustomListicleImageView extends ConstraintLayout {
|
|
|
if (contentsLength > 1) {
|
|
|
layoutPager.setVisibility(View.VISIBLE);
|
|
|
textViewCurrentPage.setText("1");
|
|
|
+ textViewCurrentPage.setTypeface(null, Typeface.BOLD);
|
|
|
textViewTotalPage.setText(String.valueOf(contentsLength));
|
|
|
;
|
|
|
}
|