use of com.cpjd.roblu.models.RUI in project Roblu by wdavies973.
the class RUIColorPreference method onBindView.
@Override
protected void onBindView(View view) {
super.onBindView(view);
RUI rui = new IO(getContext()).loadSettings().getRui();
TextView titleView = view.findViewById(android.R.id.title);
titleView.setTextColor(rui.getText());
TextView subtitle = view.findViewById(android.R.id.summary);
subtitle.setTextColor(rui.darker(rui.getText(), 0.6f));
}
Aggregations