<commit_before><?xml version="1.0" encoding="utf-8"?>

<!--
  ~ Copyright (c) 2015, Apptentive, Inc. All Rights Reserved.
  ~ Please refer to the LICENSE file for the terms and conditions
  ~ under which redistribution and use of this file is permitted.
  -->

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="vertical">
    <LinearLayout android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  android:background="?attr/colorPrimaryDark"
                  android:orientation="vertical">
        <RelativeLayout android:id="@+id/header_bar"
                        android:layout_width="match_parent"
                        android:layout_height="@dimen/apptentive_message_center_header_height"
                        android:background="?attr/colorPrimary"
                        android:minHeight="@dimen/apptentive_message_center_header_height"
                        android:orientation="horizontal">
            <ImageButton android:id="@+id/close_mc"
                         android:layout_width="@dimen/apptentive_message_center_icon_dimension"
                         android:layout_height="@dimen/apptentive_message_center_icon_dimension"
                         android:layout_alignParentLeft="true"
                         android:layout_centerVertical="true"
                         android:layout_marginRight="8dp"
                         android:background="?android:attr/selectableItemBackground"
                         android:contentDescription="Close"
                         android:src="@drawable/apptentive_abc_ic_ab_back_mtrl_am_alpha"
                         android:tint="?attr/apptentive_material_toolbar_foreground"/>
            <com.apptentive.android.sdk.view.AutoResizeTextView android:id="@id/title"
                                                                android:layout_width="wrap_content"
                                                                android:layout_height="@dimen/apptentive_message_center_header_height"
                                                                android:layout_centerVertical="true"
                                                                android:layout_toRightOf="@id/close_mc"
                                                                style="@style/ApptentiveTheme.TextAppearence"
                                                                android:gravity="center"
                                                                android:singleLine="true"
                                                                android:textColor="?attr/apptentive_material_toolbar_foreground"
                                                                android:textSize="20sp"/>
            <ImageButton android:id="@+id/profile"
                         android:layout_width="@dimen/apptentive_message_center_icon_dimension"
                         android:layout_height="@dimen/apptentive_message_center_icon_dimension"
                         android:layout_alignParentRight="true"
                         android:layout_centerVertical="true"
                         android:layout_marginRight="10dp"
                         android:background="?android:attr/selectableItemBackground"
                         android:contentDescription="Profile"
                         android:src="@drawable/apptentive_ic_profile_edit"
                         android:tint="?attr/apptentive_material_toolbar_foreground"/>
            <ImageButton android:id="@+id/attach"
                         android:layout_width="@dimen/apptentive_message_center_icon_dimension"
                         android:layout_height="@dimen/apptentive_message_center_icon_dimension"
                         android:layout_alignParentRight="true"
                         android:layout_centerVertical="true"
                         android:layout_marginRight="10dp"
                         android:background="?android:attr/selectableItemBackground"
                         android:contentDescription="Attach"
                         android:src="@drawable/apptentive_ic_action_attach"
                         android:visibility="gone"/>
            <View android:id="@+id/header_divider"
                  android:layout_width="match_parent"
                  android:layout_height="1.5dp"
                  android:layout_alignParentBottom="true"
                  android:visibility="gone"/>
        </RelativeLayout>
        <com.apptentive.android.sdk.module.messagecenter.view.MessageCenterListView android:id="@+id/message_list"
                                                                                    android:layout_width="match_parent"
                                                                                    android:layout_height="match_parent"
                                                                                    android:background="?attr/apptentive_material_background"
                                                                                    android:cacheColorHint="@color/apptentive_transparency"
                                                                                    android:clipToPadding="false"
                                                                                    android:descendantFocusability="afterDescendants"
                                                                                    android:paddingBottom="@dimen/apptentive_message_center_bottom_padding"/>
    </LinearLayout>
    <com.apptentive.android.sdk.view.FloatingActionButton android:id="@+id/composing_fab"
                                                          android:layout_width="wrap_content"
                                                          android:layout_height="wrap_content"
                                                          android:layout_alignParentBottom="true"
                                                          android:layout_alignParentEnd="true"
                                                          android:layout_alignParentRight="true"
                                                          android:layout_marginBottom="@dimen/apptentive_message_center_fab_height"<commit_msg>Remove header from message center layout. It's now part of toolbar<commit_after><?xml version="1.0" encoding="utf-8"?>

<!--
  ~ Copyright (c) 2015, Apptentive, Inc. All Rights Reserved.
  ~ Please refer to the LICENSE file for the terms and conditions
  ~ under which redistribution and use of this file is permitted.
  -->

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                xmlns:app="http://schemas.android.com/apk/res-auto"
                android:orientation="vertical">
        <com.apptentive.android.sdk.module.messagecenter.view.MessageCenterListView android:id="@+id/message_list"
                                                                                    android:layout_width="match_parent"
                                                                                    android:layout_height="match_parent"
                                                                                    android:background="?attr/apptentive_material_background"
                                                                                    android:cacheColorHint="@color/apptentive_transparency"
                                                                                    android:clipToPadding="false"
                                                                                    android:descendantFocusability="afterDescendants"
                                                                                    android:scrollbars="vertical"
                                                                                    android:paddingBottom="@dimen/apptentive_message_center_bottom_padding"/>
    <com.apptentive.android.sdk.view.FloatingActionButton android:id="@+id/composing_fab"
                                                          android:layout_width="wrap_content"
                                                          android:layout_height="wrap_content"
                                                          android:layout_alignParentBottom="true"
                                                          android:layout_alignParentEnd="true"
                                                          android:layout_alignParentRight="true"
                                                          android:layout_marginBottom="@dimen/apptentive_message_center_fab_height"
{'fraction_non_alphanumeric': 0.07069798808587165, 'fraction_numerical': 0.0025851410587838597, 'mean_word_length': 1.2211682476285572, 'pattern_counts': {'":': 0, '<': 22, '<?xml version=': 2, '>': 20, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 5}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 87, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2012579', 'n_tokens_mistral': 1767, 'n_tokens_neox': 1622, 'n_words': 183}