|
|
@@ -10,6 +10,7 @@ import android.widget.TextView;
|
|
|
import kr.co.zumo.app.R;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.NoticeBean;
|
|
|
import kr.co.zumo.app.lifeplus.util.Formatter;
|
|
|
+import kr.co.zumo.app.lifeplus.util.TextUtil;
|
|
|
import kr.co.zumo.app.lifeplus.view.Event;
|
|
|
import kr.co.zumo.app.lifeplus.view.IEventListener;
|
|
|
|
|
|
@@ -81,7 +82,16 @@ public class NotiExpandableViewHolder extends NotiViewHolder {
|
|
|
* @param isExpanded
|
|
|
*/
|
|
|
public void expand(boolean isExpanded) {
|
|
|
- relativeLayoutDetailContents.setVisibility(isExpanded ? View.VISIBLE : View.GONE);
|
|
|
- imageViewOpenArrow.setRotation(isExpanded ? 180 : 0);
|
|
|
+
|
|
|
+ if (isExpanded) {
|
|
|
+ TextUtil.toBold(textViewAlarmTitle);
|
|
|
+ relativeLayoutDetailContents.setVisibility(View.VISIBLE);
|
|
|
+ imageViewOpenArrow.setRotation(180);
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ TextUtil.toNormal(textViewAlarmTitle);
|
|
|
+ relativeLayoutDetailContents.setVisibility(View.GONE);
|
|
|
+ imageViewOpenArrow.setRotation(0);
|
|
|
+ }
|
|
|
}
|
|
|
}
|