use of com.moez.QKSMS.ui.view.QKLinearLayout in project qksms by moezbhatti.
the class QKPopupActivity method onCreate.
@Override
protected void onCreate(Bundle savedInstanceState) {
supportRequestWindowFeature(Window.FEATURE_NO_TITLE);
super.onCreate(savedInstanceState);
mPrefs = PreferenceManager.getDefaultSharedPreferences(this);
mRes = getResources();
setFinishOnTouchOutside(mPrefs.getBoolean(SettingsFragment.QUICKREPLY_TAP_DISMISS, true));
getWindow().clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND);
setContentView(getLayoutResource());
((QKLinearLayout) findViewById(R.id.popup)).setBackgroundTint(ThemeManager.getBackgroundColor());
View title = findViewById(R.id.title);
if (title != null && title instanceof AppCompatTextView) {
title.setVisibility(View.GONE);
}
}
Aggregations