List of usage examples for android.widget LinearLayout setClipChildren
public void setClipChildren(boolean clipChildren)
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 w ww. j a v a2 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); }