sathamkhussain
sathamkhussain
@chrisjenx Still showing default font in fragments. Any idea?
> How to use this function on a fragment ! > > @override > protected void attachBaseContext(Context newBase) { // Set Default Font > super.attachBaseContext(CalligraphyContextWrapper.wrap(newBase)); > } > > Can...
@chrisjenx Yes did it like above. And the class extends AppCompatActivity @Override protected void attachBaseContext(Context newBase) { super.attachBaseContext(CalligraphyContextWrapper.wrap(newBase)); } @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); }
@chrisjenx Check below public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { LayoutInflater mInflater = getActivity().getLayoutInflater(); View rootView = mInflater.inflate(R.layout.activity_dashboard, null); TextView userEmail = rootView.findViewById(R.id.user_email_ID); return rootView;...
@chrisjenx I have added it on my activity, still, the fragment shows default font. And also I tried changing like below in my fragment. @Override public View onCreateView(@NonNull LayoutInflater inflater,...
@ngochiencse Did you find any other library to use the image slider?
How to change the placeholder color?