<commit_before><?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (c) 2014 - 2017. The Trustees of Indiana University, Moi University
  ~ and Vanderbilt University Medical Center.
  ~
  ~ This version of the code is licensed under the MPL 2.0 Open Source license
  ~ with additional health care disclaimer.
  ~ If the user is an entity intending to commercialize any application that uses
  ~  this code in a for-profit venture,please contact the copyright holder.
  -->

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
                android:orientation="vertical"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:background="@color/primary_black">

    <com.muzima.view.CheckedLinearLayout
            style="@style/ClickableSummaryItem"
            android:layout_marginTop="2dp"
            android:id="@+id/advanced_setup_layout"
            android:background="@drawable/list_multi_selector_blue"
            android:choiceMode="singleChoice"
            android:layout_alignParentTop="true">
        <TextView style="@style/SelectableSummaryHeader"
                  android:text="@string/title_advanced_setup"
                  android:duplicateParentState="true"
                  android:background="@android:color/transparent"/>
        <TextView
                android:textColor="@android:color/white"
                android:textAlignment="center"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginBottom="20dp"
                android:text="@string/hint_advanced_setup"
                android:duplicateParentState="true"
                android:background="@android:color/transparent"/>
        <TextView style="@style/DividerLine"/>
    </com.muzima.view.CheckedLinearLayout>
    <LinearLayout

            android:id="@+id/guided_setup_header"
            android:layout_below="@+id/advanced_setup_layout"
            style="@style/NotClickableSummaryItem">
        <TextView style="@style/SummaryHeader"
              android:text="@string/title_guided_setup"/>
        <TextView
                android:textColor="@android:color/white"
                android:textAlignment="center"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:text="@string/hint_guided_setup">
        </TextView>
    </LinearLayout>
    <LinearLayout android:layout_below="@+id/guided_setup_header"
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  android:orientation="vertical"
                  android:layout_marginBottom="20dp"
                  android:id="@+id/configs_layout">
        <RelativeLayout style="@style/NotClickableSummaryItem">
            <EditText android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:layout_marginTop="10dp"
                      android:textColor="@color/primary_blue"
                      android:background="@color/primary_black"
                      android:cursorVisible="true"
                      android:layout_marginBottom="10dp"
                      android:hint="@string/hint_configuration_search"
                      android:id="@+id/filter_configs_txt"/>
            <ImageButton android:layout_width="wrap_content"
                         android:layout_height="wrap_content"
                         android:id="@+id/cancel_filter_txt"
                         android:src="@drawable/ic_cancel"
                         android:background="@android:color/transparent"
                         android:layout_alignTop="@+id/filter_configs_txt"
                         android:layout_alignBottom="@+id/filter_configs_txt"
                         android:layout_alignParentRight="true"/>
        </RelativeLayout>

        <ScrollView style="@style/setupMethodConfigurationsList"
                      android:background="@drawable/list_multi_selector_blue"
                      android:layout_below="@+id/guided_setup_header"
                      android:layout_height="match_parent"
                      android:layout_width="match_parent"
                      android:fillViewport="true"
                      android:scrollbars="vertical">

            <ListView
                    android:id="@+id/configs_wizard_list"
                    style="@style/MuzimaSelectableListView"
                    android:choiceMode="singleChoice"/>
        </ScrollView>
    </LinearLayout>

    <LinearLayout style="@style/ButtonRow" android:id="@+id/next_button_layout"
                  android:layout_alignParentBottom="true">
        <Button
                android:id="@+id/inactive_next"
                style="@style/Button.InactiveNext"/>
        <Button
                android:id="@+id/next" android:visibility="gone"
                style="@style/Button.Next"/>
    </LinearLayout>

</RelativeLayout><commit_msg>MUZIMA-493: Hide keyboard on setup config method page<commit_after><?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
                android:orientation="vertical"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:background="@color/primary_black">

    <LinearLayout

            android:id="@+id/guided_setup_header"
            style="@style/NotClickableSummaryItem"
            android:layout_alignParentTop="true">
        <TextView style="@style/SummaryHeader"
                  android:text="@string/title_guided_setup"/>
        <TextView
                android:textColor="@android:color/white"
                android:textAlignment="center"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:text="@string/hint_guided_setup">
        </TextView>
    </LinearLayout>
    <LinearLayout android:layout_below="@+id/guided_setup_header"
                  android:layout_above="@+id/advanced_setup_layout"
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  android:orientation="vertical"
                  android:focusableInTouchMode="true"
                  android:id="@+id/configs_layout">
        <RelativeLayout style="@style/NotClickableSummaryItem">
            <EditText android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:layout_marginTop="10dp"
                      android:textColor="@color/primary_blue"
                      android:background="@color/primary_black"
                      android:cursorVisible="true"
                      android:layout_marginBottom="10dp"
                      android:hint="@string/hint_configuration_search"
                      android:id="@+id/filter_configs_txt"/>
            <ImageButton android:layout_width="wrap_content"
                         android:layout_height="wrap_content"
                         android:id="@+id/cancel_filter_txt"
                         android:src="@drawable/ic_cancel"
                         android:background="@android:color/transparent"
                         android:layout_alignTop="@+id/filter_configs_txt"
                         android:layout_alignBottom="@+id/filter_configs_txt"
                         android:layout_alignParentRight="true"/>
        </RelativeLayout>

        <ScrollView style="@style/setupMethodConfigurationsList"
                    android:background="@drawable/list_multi_selector_blue"
                    android:layout_below="@+id/guided_setup_header"
                    android:layout_height="match_parent"
                    android:layout_width="match_parent"
                    android:fillViewport="true"
                    android:scrollbars="vertical">

            <ListView
                    android:id="@+id/configs_wizard_list"
                    style="@style/MuzimaSelectableListView"
                    android:choiceMode="singleChoice"/>
        </ScrollView>
    </LinearLayout>

    <com.muzima.view.CheckedLinearLayout
            style="@style/ClickableSummaryItem"
            android:layout_marginTop="2dp"
            android:layout_marginBottom="20dp"
            android:id="@+id/advanced_setup_layout"
            android:background="@drawable/list_multi_selector_blue"
            android:choiceMode="singleChoice"
            android:layout_above="@+id/next_button_layout">
        <TextView style="@style/DividerLine"/>
        <TextView style="@style/SelectableSummaryHeader"
                  android:text="@string/title_advanced_setup"
                  android:duplicateParentState="true"
                  android:background="@android:color/transparent"/>
        <TextView
                android:textColor="@android:color/white"
                android:textAlignment="center"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:text="@string/hint_advanced_setup"
                android:duplicateParentState="true"
                android:background="@android:color/transparent"/>
    </com.muzima.view.CheckedLinearLayout>

    <LinearLayout style="@style/ButtonRow" android:id="@+id/next_button_layout"
                  android:layout_alignParentBottom="true">
        <Button
                android:id="@+id/inactive_next"
                style="@style/Button.InactiveNext"/>
        <Button
                android:id="@+id/next" android:visibility="gone"
                style="@style/Button.Next"/>
    </LinearLayout>

</RelativeLayout>
{'fraction_non_alphanumeric': 0.10293225480283114, 'fraction_numerical': 0.003538928210313448, 'mean_word_length': 2.153012432260121, 'pattern_counts': {'":': 0, '<': 56, '<?xml version=': 2, '>': 56, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '133591', 'n_tokens_mistral': 2598, 'n_tokens_neox': 2274, 'n_words': 273}