List of usage examples for android.widget LinearLayout setClipToPadding
public void setClipToPadding(boolean clipToPadding)
From source file:org.smssecure.smssecure.ConversationActivity.java
private void initializeResources() { if (recipients != null) recipients.removeListener(this); recipients = RecipientFactory.getRecipientsForIds(this, getIntent().getLongArrayExtra(RECIPIENTS_EXTRA), true);//from ww w .j av a 2 s . c om threadId = getIntent().getLongExtra(THREAD_ID_EXTRA, -1); archived = getIntent().getBooleanExtra(IS_ARCHIVED_EXTRA, false); distributionType = getIntent().getIntExtra(DISTRIBUTION_TYPE_EXTRA, ThreadDatabase.DistributionTypes.DEFAULT); if (Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN) { LinearLayout conversationContainer = ViewUtil.findById(this, R.id.conversation_container); conversationContainer.setClipChildren(true); conversationContainer.setClipToPadding(true); } recipients.addListener(this); }