Full Code of ChatAir/ChatAir-android for AI

master 27ee19a62c3e cached
67 files
119.2 KB
33.2k tokens
1 requests
Download .txt
Repository: ChatAir/ChatAir-android
Branch: master
Commit: 27ee19a62c3e
Files: 67
Total size: 119.2 KB

Directory structure:
gitextract_mifrjddi/

├── .github/
│   └── pull_request_template.md
├── .gitignore
├── .idea/
│   ├── codeStyles/
│   │   ├── Project.xml
│   │   └── codeStyleConfig.xml
│   ├── dbnavigator.xml
│   ├── gradle.xml
│   ├── misc.xml
│   ├── runConfigurations.xml
│   └── vcs.xml
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── app/
│   ├── .gitignore
│   ├── build.gradle
│   ├── proguard-rules.pro
│   └── src/
│       ├── androidTest/
│       │   └── java/
│       │       └── com/
│       │           └── chatair_android/
│       │               └── ExampleInstrumentedTest.kt
│       ├── main/
│       │   ├── AndroidManifest.xml
│       │   ├── java/
│       │   │   └── com/
│       │   │       └── chatair_android/
│       │   │           ├── ui/
│       │   │           │   └── screens/
│       │   │           │       ├── chat/
│       │   │           │       │   ├── model/
│       │   │           │       │   │   └── Chat.kt
│       │   │           │       │   └── recent/
│       │   │           │       │       ├── OnItemClickListener.kt
│       │   │           │       │       ├── RecentChatsActivity.kt
│       │   │           │       │       └── RecentChatsListAdapter.kt
│       │   │           │       ├── contacts/
│       │   │           │       │   ├── ContactsActivity.kt
│       │   │           │       │   ├── ContactsListAdapter.kt
│       │   │           │       │   └── models/
│       │   │           │       │       └── Contact.kt
│       │   │           │       ├── forgot_password/
│       │   │           │       │   └── ForgotPasswordActivity.kt
│       │   │           │       ├── login/
│       │   │           │       │   └── LoginActivity.kt
│       │   │           │       ├── main/
│       │   │           │       │   └── MainActivity.kt
│       │   │           │       └── splash/
│       │   │           │           └── SplashActivity.kt
│       │   │           └── utils/
│       │   │               └── ktx.kt
│       │   └── res/
│       │       ├── drawable/
│       │       │   ├── background_message_partner.xml
│       │       │   ├── background_message_sender.xml
│       │       │   ├── ic_chat_white.xml
│       │       │   ├── ic_launcher_background.xml
│       │       │   ├── ic_more_vert_24dp.xml
│       │       │   ├── ic_search.xml
│       │       │   ├── ic_send.xml
│       │       │   ├── ic_user.xml
│       │       │   └── ic_user_placeholder.xml
│       │       ├── drawable-v24/
│       │       │   └── ic_launcher_foreground.xml
│       │       ├── layout/
│       │       │   ├── activity_chat.xml
│       │       │   ├── activity_contacts.xml
│       │       │   ├── activity_forgot_password.xml
│       │       │   ├── activity_login.xml
│       │       │   ├── activity_main.xml
│       │       │   ├── activity_recent_chats.xml
│       │       │   ├── activity_splash.xml
│       │       │   ├── list_item_contact.xml
│       │       │   ├── list_item_recent_chat.xml
│       │       │   ├── row_message_partner.xml
│       │       │   └── row_message_sender.xml
│       │       ├── menu/
│       │       │   ├── contacts_toolbar_menu.xml
│       │       │   └── recent_chats_toolbar_menu.xml
│       │       ├── mipmap-anydpi-v26/
│       │       │   ├── ic_launcher.xml
│       │       │   └── ic_launcher_round.xml
│       │       └── values/
│       │           ├── colors.xml
│       │           ├── dimens.xml
│       │           ├── strings.xml
│       │           └── styles.xml
│       └── test/
│           └── java/
│               └── com/
│                   └── chatair_android/
│                       └── ExampleUnitTest.kt
├── build.gradle
├── designs/
│   └── ChatAir Ui.xd
├── gradle/
│   └── wrapper/
│       ├── gradle-wrapper.jar
│       └── gradle-wrapper.properties
├── gradle.properties
├── gradlew
├── gradlew.bat
└── settings.gradle

================================================
FILE CONTENTS
================================================

================================================
FILE: .github/pull_request_template.md
================================================
## Description
- Description of issue
- Output before solved
- Changes in Issue
- Output of solved issue

## Type of Changes?
Just put an x in the [ ] which are valid.

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Testing Suites

## How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
- [ ] ./gradlew assembleDebug assembleRelease

## Checklist:
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings


================================================
FILE: .gitignore
================================================
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
.cxx


================================================
FILE: .idea/codeStyles/Project.xml
================================================
<component name="ProjectCodeStyleConfiguration">
  <code_scheme name="Project" version="173">
    <JetCodeStyleSettings>
      <option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
    </JetCodeStyleSettings>
    <MarkdownNavigatorCodeStyleSettings>
      <option name="RIGHT_MARGIN" value="72" />
    </MarkdownNavigatorCodeStyleSettings>
    <DBN-PSQL>
      <case-options enabled="true">
        <option name="KEYWORD_CASE" value="lower" />
        <option name="FUNCTION_CASE" value="lower" />
        <option name="PARAMETER_CASE" value="lower" />
        <option name="DATATYPE_CASE" value="lower" />
        <option name="OBJECT_CASE" value="preserve" />
      </case-options>
      <formatting-settings enabled="false" />
    </DBN-PSQL>
    <DBN-SQL>
      <case-options enabled="true">
        <option name="KEYWORD_CASE" value="lower" />
        <option name="FUNCTION_CASE" value="lower" />
        <option name="PARAMETER_CASE" value="lower" />
        <option name="DATATYPE_CASE" value="lower" />
        <option name="OBJECT_CASE" value="preserve" />
      </case-options>
      <formatting-settings enabled="false">
        <option name="STATEMENT_SPACING" value="one_line" />
        <option name="CLAUSE_CHOP_DOWN" value="chop_down_if_statement_long" />
        <option name="ITERATION_ELEMENTS_WRAPPING" value="chop_down_if_not_single" />
      </formatting-settings>
    </DBN-SQL>
    <codeStyleSettings language="XML">
      <indentOptions>
        <option name="CONTINUATION_INDENT_SIZE" value="4" />
      </indentOptions>
      <arrangement>
        <rules>
          <section>
            <rule>
              <match>
                <AND>
                  <NAME>xmlns:android</NAME>
                  <XML_ATTRIBUTE />
                  <XML_NAMESPACE>^$</XML_NAMESPACE>
                </AND>
              </match>
            </rule>
          </section>
          <section>
            <rule>
              <match>
                <AND>
                  <NAME>xmlns:.*</NAME>
                  <XML_ATTRIBUTE />
                  <XML_NAMESPACE>^$</XML_NAMESPACE>
                </AND>
              </match>
              <order>BY_NAME</order>
            </rule>
          </section>
          <section>
            <rule>
              <match>
                <AND>
                  <NAME>.*:id</NAME>
                  <XML_ATTRIBUTE />
                  <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
                </AND>
              </match>
            </rule>
          </section>
          <section>
            <rule>
              <match>
                <AND>
                  <NAME>.*:name</NAME>
                  <XML_ATTRIBUTE />
                  <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
                </AND>
              </match>
            </rule>
          </section>
          <section>
            <rule>
              <match>
                <AND>
                  <NAME>name</NAME>
                  <XML_ATTRIBUTE />
                  <XML_NAMESPACE>^$</XML_NAMESPACE>
                </AND>
              </match>
            </rule>
          </section>
          <section>
            <rule>
              <match>
                <AND>
                  <NAME>style</NAME>
                  <XML_ATTRIBUTE />
                  <XML_NAMESPACE>^$</XML_NAMESPACE>
                </AND>
              </match>
            </rule>
          </section>
          <section>
            <rule>
              <match>
                <AND>
                  <NAME>.*</NAME>
                  <XML_ATTRIBUTE />
                  <XML_NAMESPACE>^$</XML_NAMESPACE>
                </AND>
              </match>
              <order>BY_NAME</order>
            </rule>
          </section>
          <section>
            <rule>
              <match>
                <AND>
                  <NAME>.*</NAME>
                  <XML_ATTRIBUTE />
                  <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
                </AND>
              </match>
              <order>ANDROID_ATTRIBUTE_ORDER</order>
            </rule>
          </section>
          <section>
            <rule>
              <match>
                <AND>
                  <NAME>.*</NAME>
                  <XML_ATTRIBUTE />
                  <XML_NAMESPACE>.*</XML_NAMESPACE>
                </AND>
              </match>
              <order>BY_NAME</order>
            </rule>
          </section>
        </rules>
      </arrangement>
    </codeStyleSettings>
    <codeStyleSettings language="kotlin">
      <option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
    </codeStyleSettings>
  </code_scheme>
</component>

================================================
FILE: .idea/codeStyles/codeStyleConfig.xml
================================================
<component name="ProjectCodeStyleConfiguration">
  <state>
    <option name="USE_PER_PROJECT_SETTINGS" value="true" />
    <option name="PREFERRED_PROJECT_CODE_STYLE" value="SquareAndroid" />
  </state>
</component>

================================================
FILE: .idea/dbnavigator.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="DBNavigator.Project.DataEditorManager">
    <record-view-column-sorting-type value="BY_INDEX" />
    <value-preview-text-wrapping value="true" />
    <value-preview-pinned value="false" />
  </component>
  <component name="DBNavigator.Project.DataExportManager">
    <export-instructions>
      <create-header value="true" />
      <quote-values-containing-separator value="true" />
      <quote-all-values value="false" />
      <value-separator value="" />
      <file-name value="" />
      <file-location value="" />
      <scope value="GLOBAL" />
      <destination value="FILE" />
      <format value="EXCEL" />
      <charset value="windows-1252" />
    </export-instructions>
  </component>
  <component name="DBNavigator.Project.DatabaseBrowserManager">
    <autoscroll-to-editor value="false" />
    <autoscroll-from-editor value="true" />
    <show-object-properties value="true" />
    <loaded-nodes />
  </component>
  <component name="DBNavigator.Project.DatabaseFileManager">
    <open-files />
  </component>
  <component name="DBNavigator.Project.EditorStateManager">
    <last-used-providers />
  </component>
  <component name="DBNavigator.Project.MethodExecutionManager">
    <method-browser />
    <execution-history>
      <group-entries value="true" />
      <execution-inputs />
    </execution-history>
    <argument-values-cache />
  </component>
  <component name="DBNavigator.Project.ObjectDependencyManager">
    <last-used-dependency-type value="INCOMING" />
  </component>
  <component name="DBNavigator.Project.ObjectQuickFilterManager">
    <last-used-operator value="EQUAL" />
    <filters />
  </component>
  <component name="DBNavigator.Project.ScriptExecutionManager" clear-outputs="true">
    <recently-used-interfaces />
  </component>
  <component name="DBNavigator.Project.Settings">
    <connections />
    <browser-settings>
      <general>
        <display-mode value="TABBED" />
        <navigation-history-size value="100" />
        <show-object-details value="false" />
      </general>
      <filters>
        <object-type-filter>
          <object-type name="SCHEMA" enabled="true" />
          <object-type name="USER" enabled="true" />
          <object-type name="ROLE" enabled="true" />
          <object-type name="PRIVILEGE" enabled="true" />
          <object-type name="CHARSET" enabled="true" />
          <object-type name="TABLE" enabled="true" />
          <object-type name="VIEW" enabled="true" />
          <object-type name="MATERIALIZED_VIEW" enabled="true" />
          <object-type name="NESTED_TABLE" enabled="true" />
          <object-type name="COLUMN" enabled="true" />
          <object-type name="INDEX" enabled="true" />
          <object-type name="CONSTRAINT" enabled="true" />
          <object-type name="DATASET_TRIGGER" enabled="true" />
          <object-type name="DATABASE_TRIGGER" enabled="true" />
          <object-type name="SYNONYM" enabled="true" />
          <object-type name="SEQUENCE" enabled="true" />
          <object-type name="PROCEDURE" enabled="true" />
          <object-type name="FUNCTION" enabled="true" />
          <object-type name="PACKAGE" enabled="true" />
          <object-type name="TYPE" enabled="true" />
          <object-type name="TYPE_ATTRIBUTE" enabled="true" />
          <object-type name="ARGUMENT" enabled="true" />
          <object-type name="DIMENSION" enabled="true" />
          <object-type name="CLUSTER" enabled="true" />
          <object-type name="DBLINK" enabled="true" />
        </object-type-filter>
      </filters>
      <sorting>
        <object-type name="COLUMN" sorting-type="NAME" />
        <object-type name="FUNCTION" sorting-type="NAME" />
        <object-type name="PROCEDURE" sorting-type="NAME" />
        <object-type name="ARGUMENT" sorting-type="POSITION" />
      </sorting>
      <default-editors>
        <object-type name="VIEW" editor-type="SELECTION" />
        <object-type name="PACKAGE" editor-type="SELECTION" />
        <object-type name="TYPE" editor-type="SELECTION" />
      </default-editors>
    </browser-settings>
    <navigation-settings>
      <lookup-filters>
        <lookup-objects>
          <object-type name="SCHEMA" enabled="true" />
          <object-type name="USER" enabled="false" />
          <object-type name="ROLE" enabled="false" />
          <object-type name="PRIVILEGE" enabled="false" />
          <object-type name="CHARSET" enabled="false" />
          <object-type name="TABLE" enabled="true" />
          <object-type name="VIEW" enabled="true" />
          <object-type name="MATERIALIZED VIEW" enabled="true" />
          <object-type name="NESTED TABLE" enabled="false" />
          <object-type name="COLUMN" enabled="false" />
          <object-type name="INDEX" enabled="true" />
          <object-type name="CONSTRAINT" enabled="true" />
          <object-type name="DATASET TRIGGER" enabled="true" />
          <object-type name="DATABASE TRIGGER" enabled="true" />
          <object-type name="SYNONYM" enabled="false" />
          <object-type name="SEQUENCE" enabled="true" />
          <object-type name="PROCEDURE" enabled="true" />
          <object-type name="FUNCTION" enabled="true" />
          <object-type name="PACKAGE" enabled="true" />
          <object-type name="TYPE" enabled="true" />
          <object-type name="TYPE ATTRIBUTE" enabled="false" />
          <object-type name="ARGUMENT" enabled="false" />
          <object-type name="DIMENSION" enabled="false" />
          <object-type name="CLUSTER" enabled="false" />
          <object-type name="DBLINK" enabled="true" />
        </lookup-objects>
        <force-database-load value="false" />
        <prompt-connection-selection value="true" />
        <prompt-schema-selection value="true" />
      </lookup-filters>
    </navigation-settings>
    <dataset-grid-settings>
      <general>
        <enable-zooming value="true" />
        <enable-column-tooltip value="true" />
      </general>
      <sorting>
        <nulls-first value="true" />
        <max-sorting-columns value="4" />
      </sorting>
      <tracking-columns>
        <columnNames value="" />
        <visible value="true" />
        <editable value="false" />
      </tracking-columns>
    </dataset-grid-settings>
    <dataset-editor-settings>
      <text-editor-popup>
        <active value="false" />
        <active-if-empty value="false" />
        <data-length-threshold value="100" />
        <popup-delay value="1000" />
      </text-editor-popup>
      <values-actions-popup>
        <show-popup-button value="true" />
        <element-count-threshold value="1000" />
        <data-length-threshold value="250" />
      </values-actions-popup>
      <general>
        <fetch-block-size value="100" />
        <fetch-timeout value="30" />
        <trim-whitespaces value="true" />
        <convert-empty-strings-to-null value="true" />
        <select-content-on-cell-edit value="true" />
        <large-value-preview-active value="true" />
      </general>
      <filters>
        <prompt-filter-dialog value="true" />
        <default-filter-type value="BASIC" />
      </filters>
      <qualified-text-editor text-length-threshold="300">
        <content-types>
          <content-type name="Text" enabled="true" />
          <content-type name="Properties" enabled="true" />
          <content-type name="XML" enabled="true" />
          <content-type name="DTD" enabled="true" />
          <content-type name="HTML" enabled="true" />
          <content-type name="XHTML" enabled="true" />
          <content-type name="Java" enabled="true" />
          <content-type name="SQL" enabled="true" />
          <content-type name="PL/SQL" enabled="true" />
          <content-type name="Groovy" enabled="true" />
          <content-type name="AIDL" enabled="true" />
          <content-type name="YAML" enabled="true" />
          <content-type name="Manifest" enabled="true" />
        </content-types>
      </qualified-text-editor>
      <record-navigation>
        <navigation-target value="VIEWER" />
      </record-navigation>
    </dataset-editor-settings>
    <code-editor-settings>
      <general>
        <show-object-navigation-gutter value="false" />
        <show-spec-declaration-navigation-gutter value="true" />
        <enable-spellchecking value="true" />
        <enable-reference-spellchecking value="false" />
      </general>
      <confirmations>
        <save-changes value="false" />
        <revert-changes value="true" />
      </confirmations>
    </code-editor-settings>
    <code-completion-settings>
      <filters>
        <basic-filter>
          <filter-element type="RESERVED_WORD" id="keyword" selected="true" />
          <filter-element type="RESERVED_WORD" id="function" selected="true" />
          <filter-element type="RESERVED_WORD" id="parameter" selected="true" />
          <filter-element type="RESERVED_WORD" id="datatype" selected="true" />
          <filter-element type="RESERVED_WORD" id="exception" selected="true" />
          <filter-element type="OBJECT" id="schema" selected="true" />
          <filter-element type="OBJECT" id="role" selected="true" />
          <filter-element type="OBJECT" id="user" selected="true" />
          <filter-element type="OBJECT" id="privilege" selected="true" />
          <user-schema>
            <filter-element type="OBJECT" id="table" selected="true" />
            <filter-element type="OBJECT" id="view" selected="true" />
            <filter-element type="OBJECT" id="materialized view" selected="true" />
            <filter-element type="OBJECT" id="index" selected="true" />
            <filter-element type="OBJECT" id="constraint" selected="true" />
            <filter-element type="OBJECT" id="trigger" selected="true" />
            <filter-element type="OBJECT" id="synonym" selected="false" />
            <filter-element type="OBJECT" id="sequence" selected="true" />
            <filter-element type="OBJECT" id="procedure" selected="true" />
            <filter-element type="OBJECT" id="function" selected="true" />
            <filter-element type="OBJECT" id="package" selected="true" />
            <filter-element type="OBJECT" id="type" selected="true" />
            <filter-element type="OBJECT" id="dimension" selected="true" />
            <filter-element type="OBJECT" id="cluster" selected="true" />
            <filter-element type="OBJECT" id="dblink" selected="true" />
          </user-schema>
          <public-schema>
            <filter-element type="OBJECT" id="table" selected="false" />
            <filter-element type="OBJECT" id="view" selected="false" />
            <filter-element type="OBJECT" id="materialized view" selected="false" />
            <filter-element type="OBJECT" id="index" selected="false" />
            <filter-element type="OBJECT" id="constraint" selected="false" />
            <filter-element type="OBJECT" id="trigger" selected="false" />
            <filter-element type="OBJECT" id="synonym" selected="false" />
            <filter-element type="OBJECT" id="sequence" selected="false" />
            <filter-element type="OBJECT" id="procedure" selected="false" />
            <filter-element type="OBJECT" id="function" selected="false" />
            <filter-element type="OBJECT" id="package" selected="false" />
            <filter-element type="OBJECT" id="type" selected="false" />
            <filter-element type="OBJECT" id="dimension" selected="false" />
            <filter-element type="OBJECT" id="cluster" selected="false" />
            <filter-element type="OBJECT" id="dblink" selected="false" />
          </public-schema>
          <any-schema>
            <filter-element type="OBJECT" id="table" selected="true" />
            <filter-element type="OBJECT" id="view" selected="true" />
            <filter-element type="OBJECT" id="materialized view" selected="true" />
            <filter-element type="OBJECT" id="index" selected="true" />
            <filter-element type="OBJECT" id="constraint" selected="true" />
            <filter-element type="OBJECT" id="trigger" selected="true" />
            <filter-element type="OBJECT" id="synonym" selected="true" />
            <filter-element type="OBJECT" id="sequence" selected="true" />
            <filter-element type="OBJECT" id="procedure" selected="true" />
            <filter-element type="OBJECT" id="function" selected="true" />
            <filter-element type="OBJECT" id="package" selected="true" />
            <filter-element type="OBJECT" id="type" selected="true" />
            <filter-element type="OBJECT" id="dimension" selected="true" />
            <filter-element type="OBJECT" id="cluster" selected="true" />
            <filter-element type="OBJECT" id="dblink" selected="true" />
          </any-schema>
        </basic-filter>
        <extended-filter>
          <filter-element type="RESERVED_WORD" id="keyword" selected="true" />
          <filter-element type="RESERVED_WORD" id="function" selected="true" />
          <filter-element type="RESERVED_WORD" id="parameter" selected="true" />
          <filter-element type="RESERVED_WORD" id="datatype" selected="true" />
          <filter-element type="RESERVED_WORD" id="exception" selected="true" />
          <filter-element type="OBJECT" id="schema" selected="true" />
          <filter-element type="OBJECT" id="user" selected="true" />
          <filter-element type="OBJECT" id="role" selected="true" />
          <filter-element type="OBJECT" id="privilege" selected="true" />
          <user-schema>
            <filter-element type="OBJECT" id="table" selected="true" />
            <filter-element type="OBJECT" id="view" selected="true" />
            <filter-element type="OBJECT" id="materialized view" selected="true" />
            <filter-element type="OBJECT" id="index" selected="true" />
            <filter-element type="OBJECT" id="constraint" selected="true" />
            <filter-element type="OBJECT" id="trigger" selected="true" />
            <filter-element type="OBJECT" id="synonym" selected="true" />
            <filter-element type="OBJECT" id="sequence" selected="true" />
            <filter-element type="OBJECT" id="procedure" selected="true" />
            <filter-element type="OBJECT" id="function" selected="true" />
            <filter-element type="OBJECT" id="package" selected="true" />
            <filter-element type="OBJECT" id="type" selected="true" />
            <filter-element type="OBJECT" id="dimension" selected="true" />
            <filter-element type="OBJECT" id="cluster" selected="true" />
            <filter-element type="OBJECT" id="dblink" selected="true" />
          </user-schema>
          <public-schema>
            <filter-element type="OBJECT" id="table" selected="true" />
            <filter-element type="OBJECT" id="view" selected="true" />
            <filter-element type="OBJECT" id="materialized view" selected="true" />
            <filter-element type="OBJECT" id="index" selected="true" />
            <filter-element type="OBJECT" id="constraint" selected="true" />
            <filter-element type="OBJECT" id="trigger" selected="true" />
            <filter-element type="OBJECT" id="synonym" selected="true" />
            <filter-element type="OBJECT" id="sequence" selected="true" />
            <filter-element type="OBJECT" id="procedure" selected="true" />
            <filter-element type="OBJECT" id="function" selected="true" />
            <filter-element type="OBJECT" id="package" selected="true" />
            <filter-element type="OBJECT" id="type" selected="true" />
            <filter-element type="OBJECT" id="dimension" selected="true" />
            <filter-element type="OBJECT" id="cluster" selected="true" />
            <filter-element type="OBJECT" id="dblink" selected="true" />
          </public-schema>
          <any-schema>
            <filter-element type="OBJECT" id="table" selected="true" />
            <filter-element type="OBJECT" id="view" selected="true" />
            <filter-element type="OBJECT" id="materialized view" selected="true" />
            <filter-element type="OBJECT" id="index" selected="true" />
            <filter-element type="OBJECT" id="constraint" selected="true" />
            <filter-element type="OBJECT" id="trigger" selected="true" />
            <filter-element type="OBJECT" id="synonym" selected="true" />
            <filter-element type="OBJECT" id="sequence" selected="true" />
            <filter-element type="OBJECT" id="procedure" selected="true" />
            <filter-element type="OBJECT" id="function" selected="true" />
            <filter-element type="OBJECT" id="package" selected="true" />
            <filter-element type="OBJECT" id="type" selected="true" />
            <filter-element type="OBJECT" id="dimension" selected="true" />
            <filter-element type="OBJECT" id="cluster" selected="true" />
            <filter-element type="OBJECT" id="dblink" selected="true" />
          </any-schema>
        </extended-filter>
      </filters>
      <sorting enabled="true">
        <sorting-element type="RESERVED_WORD" id="keyword" />
        <sorting-element type="RESERVED_WORD" id="datatype" />
        <sorting-element type="OBJECT" id="column" />
        <sorting-element type="OBJECT" id="table" />
        <sorting-element type="OBJECT" id="view" />
        <sorting-element type="OBJECT" id="materialized view" />
        <sorting-element type="OBJECT" id="index" />
        <sorting-element type="OBJECT" id="constraint" />
        <sorting-element type="OBJECT" id="trigger" />
        <sorting-element type="OBJECT" id="synonym" />
        <sorting-element type="OBJECT" id="sequence" />
        <sorting-element type="OBJECT" id="procedure" />
        <sorting-element type="OBJECT" id="function" />
        <sorting-element type="OBJECT" id="package" />
        <sorting-element type="OBJECT" id="type" />
        <sorting-element type="OBJECT" id="dimension" />
        <sorting-element type="OBJECT" id="cluster" />
        <sorting-element type="OBJECT" id="dblink" />
        <sorting-element type="OBJECT" id="schema" />
        <sorting-element type="OBJECT" id="role" />
        <sorting-element type="OBJECT" id="user" />
        <sorting-element type="RESERVED_WORD" id="function" />
        <sorting-element type="RESERVED_WORD" id="parameter" />
      </sorting>
      <format>
        <enforce-code-style-case value="true" />
      </format>
    </code-completion-settings>
    <execution-engine-settings>
      <statement-execution>
        <fetch-block-size value="100" />
        <execution-timeout value="20" />
        <debug-execution-timeout value="600" />
        <focus-result value="false" />
        <prompt-execution value="false" />
      </statement-execution>
      <script-execution>
        <command-line-interfaces />
        <execution-timeout value="300" />
      </script-execution>
      <method-execution>
        <execution-timeout value="30" />
        <debug-execution-timeout value="600" />
        <parameter-history-size value="10" />
      </method-execution>
    </execution-engine-settings>
    <operation-settings>
      <transactions>
        <uncommitted-changes>
          <on-project-close value="ASK" />
          <on-disconnect value="ASK" />
          <on-autocommit-toggle value="ASK" />
        </uncommitted-changes>
        <multiple-uncommitted-changes>
          <on-commit value="ASK" />
          <on-rollback value="ASK" />
        </multiple-uncommitted-changes>
      </transactions>
      <session-browser>
        <disconnect-session value="ASK" />
        <kill-session value="ASK" />
        <reload-on-filter-change value="false" />
      </session-browser>
      <compiler>
        <compile-type value="KEEP" />
        <compile-dependencies value="ASK" />
        <always-show-controls value="false" />
      </compiler>
      <debugger>
        <debugger-type value="ASK" />
        <use-generic-runners value="true" />
      </debugger>
    </operation-settings>
    <ddl-file-settings>
      <extensions>
        <mapping file-type-id="VIEW" extensions="vw" />
        <mapping file-type-id="TRIGGER" extensions="trg" />
        <mapping file-type-id="PROCEDURE" extensions="prc" />
        <mapping file-type-id="FUNCTION" extensions="fnc" />
        <mapping file-type-id="PACKAGE" extensions="pkg" />
        <mapping file-type-id="PACKAGE_SPEC" extensions="pks" />
        <mapping file-type-id="PACKAGE_BODY" extensions="pkb" />
        <mapping file-type-id="TYPE" extensions="tpe" />
        <mapping file-type-id="TYPE_SPEC" extensions="tps" />
        <mapping file-type-id="TYPE_BODY" extensions="tpb" />
      </extensions>
      <general>
        <lookup-ddl-files value="true" />
        <create-ddl-files value="false" />
        <synchronize-ddl-files value="true" />
        <use-qualified-names value="false" />
        <make-scripts-rerunnable value="true" />
      </general>
    </ddl-file-settings>
    <general-settings>
      <regional-settings>
        <date-format value="MEDIUM" />
        <number-format value="UNGROUPED" />
        <locale value="SYSTEM_DEFAULT" />
        <use-custom-formats value="false" />
      </regional-settings>
      <environment>
        <environment-types>
          <environment-type id="development" name="Development" description="Development environment" color="-2430209/-12296320" readonly-code="false" readonly-data="false" />
          <environment-type id="integration" name="Integration" description="Integration environment" color="-2621494/-12163514" readonly-code="true" readonly-data="false" />
          <environment-type id="production" name="Production" description="Productive environment" color="-11574/-10271420" readonly-code="true" readonly-data="true" />
          <environment-type id="other" name="Other" description="" color="-1576/-10724543" readonly-code="false" readonly-data="false" />
        </environment-types>
        <visibility-settings>
          <connection-tabs value="true" />
          <dialog-headers value="true" />
          <object-editor-tabs value="true" />
          <script-editor-tabs value="false" />
          <execution-result-tabs value="true" />
        </visibility-settings>
      </environment>
    </general-settings>
  </component>
  <component name="DBNavigator.Project.StatementExecutionManager">
    <execution-variables />
  </component>
</project>

================================================
FILE: .idea/gradle.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="GradleMigrationSettings" migrationVersion="1" />
  <component name="GradleSettings">
    <option name="linkedExternalProjectsSettings">
      <GradleProjectSettings>
        <option name="testRunner" value="PLATFORM" />
        <option name="distributionType" value="DEFAULT_WRAPPED" />
        <option name="externalProjectPath" value="$PROJECT_DIR$" />
        <option name="modules">
          <set>
            <option value="$PROJECT_DIR$" />
            <option value="$PROJECT_DIR$/app" />
          </set>
        </option>
        <option name="resolveModulePerSourceSet" value="false" />
      </GradleProjectSettings>
    </option>
  </component>
</project>

================================================
FILE: .idea/misc.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="CMakeSettings">
    <configurations>
      <configuration PROFILE_NAME="Debug" CONFIG_NAME="Debug" />
    </configurations>
  </component>
  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK">
    <output url="file://$PROJECT_DIR$/build/classes" />
  </component>
  <component name="ProjectType">
    <option name="id" value="Android" />
  </component>
</project>

================================================
FILE: .idea/runConfigurations.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="RunConfigurationProducerService">
    <option name="ignoredProducers">
      <set>
        <option value="org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer" />
        <option value="org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer" />
        <option value="org.jetbrains.plugins.gradle.execution.test.runner.TestMethodGradleConfigurationProducer" />
      </set>
    </option>
  </component>
</project>

================================================
FILE: .idea/vcs.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="VcsDirectoryMappings">
    <mapping directory="$PROJECT_DIR$" vcs="Git" />
  </component>
</project>

================================================
FILE: CONTRIBUTING.md
================================================
# Contributing Guidelines

### Submitting Code and Documentation Changes
Our process for accepting changes operates by [Pull Request (PR)](https://help.github.com/articles/about-pull-requests/) and has a few steps:

1.  If you haven't submitted anything before, and you aren't (yet!) a member of our organization, **fork and clone** the repo:

        $ git clone git@github.com:<your-username>/<repository-name>.git

    Organization members should clone the upstream repo, instead of working from a personal fork:

        $ git clone git@github.com:chatair/<repository-name>.git

1.  Create a **new branch** for the changes you want to work on. Choose a topic for your branch name that reflects the change:

        $ git checkout -b <branch-name>

1.  **Create or modify the files** with your changes. If you want to show other people work that isn't ready to merge in, commit your changes then create a pull request (PR) with _WIP_ or _Work In Progress_ in the title.

        https://github.com/chatair/<repository-name>/pull/new/master

1.  Once your changes are ready for final review, commit your changes then modify or **create your pull request (PR)**, assign as a reviewer or ping (using "`@<username>`") a Lieutenant (someone able to merge in PRs) active on the project (all Lieutenants can be pinged via `@chatair/lieutenants`)

1.  Allow others sufficient **time for review and comments** before merging. We make use of GitHub's review feature to comment in-line on PRs when possible. There may be some fixes or adjustments you'll have to make based on feedback.

1.  Once you have integrated comments, or waited for feedback, a Lieutenant should merge your changes in!

## Commit Style
### Message Structure
Commit messages should be in the following format:

    #<issue-number> A brief description of changes on one line

### Some **DONT's**

- Don't use Hungarian Notation like `mContext` `mCount` etc
- Don't use underscores in variable names
- All constants should be CAPS. e.g `MINIMUM_TIMEOUT_ERROR_EXTERNAL`


================================================
FILE: LICENSE
================================================
                                 Apache License
                           Version 2.0, January 2004
                        http://www.apache.org/licenses/

   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

   1. Definitions.

      "License" shall mean the terms and conditions for use, reproduction,
      and distribution as defined by Sections 1 through 9 of this document.

      "Licensor" shall mean the copyright owner or entity authorized by
      the copyright owner that is granting the License.

      "Legal Entity" shall mean the union of the acting entity and all
      other entities that control, are controlled by, or are under common
      control with that entity. For the purposes of this definition,
      "control" means (i) the power, direct or indirect, to cause the
      direction or management of such entity, whether by contract or
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
      outstanding shares, or (iii) beneficial ownership of such entity.

      "You" (or "Your") shall mean an individual or Legal Entity
      exercising permissions granted by this License.

      "Source" form shall mean the preferred form for making modifications,
      including but not limited to software source code, documentation
      source, and configuration files.

      "Object" form shall mean any form resulting from mechanical
      transformation or translation of a Source form, including but
      not limited to compiled object code, generated documentation,
      and conversions to other media types.

      "Work" shall mean the work of authorship, whether in Source or
      Object form, made available under the License, as indicated by a
      copyright notice that is included in or attached to the work
      (an example is provided in the Appendix below).

      "Derivative Works" shall mean any work, whether in Source or Object
      form, that is based on (or derived from) the Work and for which the
      editorial revisions, annotations, elaborations, or other modifications
      represent, as a whole, an original work of authorship. For the purposes
      of this License, Derivative Works shall not include works that remain
      separable from, or merely link (or bind by name) to the interfaces of,
      the Work and Derivative Works thereof.

      "Contribution" shall mean any work of authorship, including
      the original version of the Work and any modifications or additions
      to that Work or Derivative Works thereof, that is intentionally
      submitted to Licensor for inclusion in the Work by the copyright owner
      or by an individual or Legal Entity authorized to submit on behalf of
      the copyright owner. For the purposes of this definition, "submitted"
      means any form of electronic, verbal, or written communication sent
      to the Licensor or its representatives, including but not limited to
      communication on electronic mailing lists, source code control systems,
      and issue tracking systems that are managed by, or on behalf of, the
      Licensor for the purpose of discussing and improving the Work, but
      excluding communication that is conspicuously marked or otherwise
      designated in writing by the copyright owner as "Not a Contribution."

      "Contributor" shall mean Licensor and any individual or Legal Entity
      on behalf of whom a Contribution has been received by Licensor and
      subsequently incorporated within the Work.

   2. Grant of Copyright License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      copyright license to reproduce, prepare Derivative Works of,
      publicly display, publicly perform, sublicense, and distribute the
      Work and such Derivative Works in Source or Object form.

   3. Grant of Patent License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      (except as stated in this section) patent license to make, have made,
      use, offer to sell, sell, import, and otherwise transfer the Work,
      where such license applies only to those patent claims licensable
      by such Contributor that are necessarily infringed by their
      Contribution(s) alone or by combination of their Contribution(s)
      with the Work to which such Contribution(s) was submitted. If You
      institute patent litigation against any entity (including a
      cross-claim or counterclaim in a lawsuit) alleging that the Work
      or a Contribution incorporated within the Work constitutes direct
      or contributory patent infringement, then any patent licenses
      granted to You under this License for that Work shall terminate
      as of the date such litigation is filed.

   4. Redistribution. You may reproduce and distribute copies of the
      Work or Derivative Works thereof in any medium, with or without
      modifications, and in Source or Object form, provided that You
      meet the following conditions:

      (a) You must give any other recipients of the Work or
          Derivative Works a copy of this License; and

      (b) You must cause any modified files to carry prominent notices
          stating that You changed the files; and

      (c) You must retain, in the Source form of any Derivative Works
          that You distribute, all copyright, patent, trademark, and
          attribution notices from the Source form of the Work,
          excluding those notices that do not pertain to any part of
          the Derivative Works; and

      (d) If the Work includes a "NOTICE" text file as part of its
          distribution, then any Derivative Works that You distribute must
          include a readable copy of the attribution notices contained
          within such NOTICE file, excluding those notices that do not
          pertain to any part of the Derivative Works, in at least one
          of the following places: within a NOTICE text file distributed
          as part of the Derivative Works; within the Source form or
          documentation, if provided along with the Derivative Works; or,
          within a display generated by the Derivative Works, if and
          wherever such third-party notices normally appear. The contents
          of the NOTICE file are for informational purposes only and
          do not modify the License. You may add Your own attribution
          notices within Derivative Works that You distribute, alongside
          or as an addendum to the NOTICE text from the Work, provided
          that such additional attribution notices cannot be construed
          as modifying the License.

      You may add Your own copyright statement to Your modifications and
      may provide additional or different license terms and conditions
      for use, reproduction, or distribution of Your modifications, or
      for any such Derivative Works as a whole, provided Your use,
      reproduction, and distribution of the Work otherwise complies with
      the conditions stated in this License.

   5. Submission of Contributions. Unless You explicitly state otherwise,
      any Contribution intentionally submitted for inclusion in the Work
      by You to the Licensor shall be under the terms and conditions of
      this License, without any additional terms or conditions.
      Notwithstanding the above, nothing herein shall supersede or modify
      the terms of any separate license agreement you may have executed
      with Licensor regarding such Contributions.

   6. Trademarks. This License does not grant permission to use the trade
      names, trademarks, service marks, or product names of the Licensor,
      except as required for reasonable and customary use in describing the
      origin of the Work and reproducing the content of the NOTICE file.

   7. Disclaimer of Warranty. Unless required by applicable law or
      agreed to in writing, Licensor provides the Work (and each
      Contributor provides its Contributions) on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
      implied, including, without limitation, any warranties or conditions
      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
      PARTICULAR PURPOSE. You are solely responsible for determining the
      appropriateness of using or redistributing the Work and assume any
      risks associated with Your exercise of permissions under this License.

   8. Limitation of Liability. In no event and under no legal theory,
      whether in tort (including negligence), contract, or otherwise,
      unless required by applicable law (such as deliberate and grossly
      negligent acts) or agreed to in writing, shall any Contributor be
      liable to You for damages, including any direct, indirect, special,
      incidental, or consequential damages of any character arising as a
      result of this License or out of the use or inability to use the
      Work (including but not limited to damages for loss of goodwill,
      work stoppage, computer failure or malfunction, or any and all
      other commercial damages or losses), even if such Contributor
      has been advised of the possibility of such damages.

   9. Accepting Warranty or Additional Liability. While redistributing
      the Work or Derivative Works thereof, You may choose to offer,
      and charge a fee for, acceptance of support, warranty, indemnity,
      or other liability obligations and/or rights consistent with this
      License. However, in accepting such obligations, You may act only
      on Your own behalf and on Your sole responsibility, not on behalf
      of any other Contributor, and only if You agree to indemnify,
      defend, and hold each Contributor harmless for any liability
      incurred by, or claims asserted against, such Contributor by reason
      of your accepting any such warranty or additional liability.

   END OF TERMS AND CONDITIONS

   APPENDIX: How to apply the Apache License to your work.

      To apply the Apache License to your work, attach the following
      boilerplate notice, with the fields enclosed by brackets "[]"
      replaced with your own identifying information. (Don't include
      the brackets!)  The text should be enclosed in the appropriate
      comment syntax for the file format. We also recommend that a
      file or class name and description of purpose be included on the
      same "printed page" as the copyright notice for easier
      identification within third-party archives.

   Copyright [yyyy] [name of copyright owner]

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.


================================================
FILE: README.md
================================================
![](https://raw.githubusercontent.com/ChatAir/ChatAir-Android/master/images/ChatAir_Logo.jpg)

# ChatAir
A highly advance featured chat app in android using Firestore

[![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://wajahatkarim.com)

## Why this project and a chat platform?
In this era of the social media craze and internet age, where smartphones have become a core part in peoples' lives. And with millions monthly active users on advanced chat apps such as Facebook Messenger, WhatsApp, WeChat, Telegram etc, we (consumers) have started taking these awesome features as for granted. This have become a trouble and headache for indie developers (especially those who provide development services or freelancing) to create such feature-rich platforms in constrained time.

So, *ChatAir* is an open-source feature-rich chat platform (initially for Android) using Firebase's Cloud Firestore database as backend. Android Developers can easily use this platform in their apps and integrate highly advanced feature-rich chat system within a short time. 

## Why Cloud Firestore?
Cloud Firestore is an extended feature of Google Firebase and a real-time document-collection based database service that is an excellent choice if you don’t want to host your own server. With Firestore, you can have our demo chat app setup and running in under 30 minutes. Firestore has a powerful dashboard that gives you access to your data and a REST API if you need to access data from your server. Some of the advantages of Cloud Firestore include:
 * Self-Hosted
 * Scalable
 * Flexible Authentication
 * Realtime & Fast
 * Pay as you go including Free Tier
 * Cross platform SDKs

## Feature List
Here's a list of features that we plan to include overtime.
- [ ] Authentication (Anonymous, Email, Facebook, Twitter, Google+)
- [ ] Phone Number Authentication
- [ ] Text Messages
- [ ] Image Messages
- [ ] GIF Messages
- [ ] Multiple Image Messages
- [ ] Location Messages
- [ ] Audio Messages
- [ ] Video Messages
- [ ] Link/URL Preview Messages
- [ ] Reply Messages
- [ ] Emojis Support
- [ ] Online/Last Active Status
- [ ] Message Read/Receipt Ticks
- [ ] Unread Messages Count
- [ ] Group Chats
- [ ] Push Notifications
- [ ] Typing Indicator
- [ ] User Mentions
- [ ] Chat / Group Media, Documents, and Links
- [ ] Restore/Export from and to CSV File
- [ ] Chat Heads
- [ ] Block/Unblock Users

# V1 Features
- [ ] Authentication (Anonymous, Email, Facebook, Twitter, Google+)
- [ ] Phone Number Authentication
- [ ] Text Messages

# Get involved!
We're very excited about the project and we're looking for other people to get involved. Over time we would like to make the best messaging framework for mobile. Help is always welcome. The more is done the better it gets!

## Contribution Guidelines
Before contributing be sure to check out the [CONTRIBUTION](https://github.com/ChatAir/ChatAir-android/blob/master/CONTRIBUTING.md) guidelines.

## Communication
Available Communication Channels:
* [Slack](https://chatair.slack.com)

# License

    Copyright 2019 Chat Air

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.


================================================
FILE: app/.gitignore
================================================
/build


================================================
FILE: app/build.gradle
================================================
apply plugin: 'com.android.application'

apply plugin: 'kotlin-android'

apply plugin: 'kotlin-android-extensions'

android {
    compileSdkVersion 29
    buildToolsVersion "29.0.2"
    defaultConfig {
        applicationId "com.chatair_android"
        minSdkVersion 15
        targetSdkVersion 29
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
        vectorDrawables.useSupportLibrary = true
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])

    /*
    First party dependencies
     */
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    implementation 'androidx.appcompat:appcompat:1.1.0'
    implementation 'androidx.core:core-ktx:1.1.0'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    implementation 'androidx.recyclerview:recyclerview:1.0.0'
    implementation 'com.google.android.material:material:1.2.0-alpha01'

    /*
    Testing dependencies
     */
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test:runner:1.2.0'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
}


================================================
FILE: app/proguard-rules.pro
================================================
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
#   http://developer.android.com/guide/developing/tools/proguard.html

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
#   public *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile


================================================
FILE: app/src/androidTest/java/com/chatair_android/ExampleInstrumentedTest.kt
================================================
package com.chatair_android

import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.ext.junit.runners.AndroidJUnit4

import org.junit.Test
import org.junit.runner.RunWith

import org.junit.Assert.*

/**
 * Instrumented test, which will execute on an Android device.
 *
 * See [testing documentation](http://d.android.com/tools/testing).
 */
@RunWith(AndroidJUnit4::class)
class ExampleInstrumentedTest {
    @Test
    fun useAppContext() {
        // Context of the app under test.
        val appContext = InstrumentationRegistry.getInstrumentation().targetContext
        assertEquals("com.chatair_android", appContext.packageName)
    }
}


================================================
FILE: app/src/main/AndroidManifest.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="com.chatair_android">

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/AppTheme"
        tools:ignore="GoogleAppIndexingWarning">
        <activity android:name=".ui.screens.login.LoginActivity"></activity>
        <activity android:name=".ui.screens.splash.SplashActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name=".ui.screens.chat.recent.RecentChatsActivity"
            android:theme="@style/Theme.AppCompat.Light.NoActionBar" />
        <activity
            android:name=".ui.screens.contacts.ContactsActivity"
            android:parentActivityName=".ui.screens.main.MainActivity" />
        <activity android:name=".ui.screens.main.MainActivity" />
        <activity android:name=".ui.screens.forgot_password.ForgotPasswordActivity" />
    </application>

</manifest>

================================================
FILE: app/src/main/java/com/chatair_android/ui/screens/chat/model/Chat.kt
================================================
package com.chatair_android.ui.screens.chat

data class Chat(val name: String, val messageSnippet: String)

================================================
FILE: app/src/main/java/com/chatair_android/ui/screens/chat/recent/OnItemClickListener.kt
================================================
package com.chatair_android.ui.screens.chat.recent

import com.chatair_android.ui.screens.chat.Chat

interface OnItemClickListener {
    fun onItemClicked(chat: Chat)
}

================================================
FILE: app/src/main/java/com/chatair_android/ui/screens/chat/recent/RecentChatsActivity.kt
================================================
package com.chatair_android.ui.screens.chat.recent

import android.os.Bundle
import android.util.Log
import android.view.Menu
import android.view.MenuItem
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.LinearLayoutManager
import com.chatair_android.R
import com.chatair_android.ui.screens.chat.Chat
import com.chatair_android.ui.screens.contacts.ContactsActivity
import com.chatair_android.utils.gotoActivity
import com.chatair_android.utils.showLongToast
import kotlinx.android.synthetic.main.activity_recent_chats.*

class RecentChatsActivity : AppCompatActivity(), OnItemClickListener {


    companion object {
        private val TAG: String = RecentChatsActivity::class.java.simpleName
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_recent_chats)

        setSupportActionBar(toolbar_recent_chats)

        recentChatsRV.layoutManager = LinearLayoutManager(this)
        recentChatsRV.adapter = RecentChatsListAdapter(getDummyRecentChats(), this)
    }

    override fun onCreateOptionsMenu(menu: Menu?): Boolean {
        val menuInflater = menuInflater
        menuInflater.inflate(R.menu.recent_chats_toolbar_menu, menu)
        return super.onCreateOptionsMenu(menu)
    }

    override fun onOptionsItemSelected(item: MenuItem): Boolean {
        when (item.itemId) {
            R.id.action_option_zero -> showLongToast("Option 0 clicked")
            R.id.action_option_one -> showLongToast("Option 1 clicked")
            R.id.action_option_two -> showLongToast("Option 2 clicked")
            else -> Log.d(TAG, "Default case of onOptionsItemSelected")
        }
        return super.onOptionsItemSelected(item)
    }

    private fun getDummyRecentChats(): List<Chat> {
        val recentChats = mutableListOf<Chat>()
        for (i in 0..20) {
            recentChats.add(Chat(name = "User Name $i", messageSnippet = "Message"))
        }
        return recentChats
    }

    override fun onItemClicked(chat: Chat) {
        showLongToast("Open the Chat Screen for chat with ${chat.name} ")
    }

    fun openContactsActivity(view: View) {
        this.gotoActivity(view.context, ContactsActivity::class.java)
    }

}


================================================
FILE: app/src/main/java/com/chatair_android/ui/screens/chat/recent/RecentChatsListAdapter.kt
================================================
package com.chatair_android.ui.screens.chat.recent

import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.chatair_android.R
import com.chatair_android.ui.screens.chat.Chat

class RecentChatsListAdapter(private val chats: List<Chat>, val itemClickListener: OnItemClickListener) : RecyclerView.Adapter<RecentChatsListAdapter.RecentChatVH>() {

    override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): RecentChatVH {
        val view = LayoutInflater.from(parent.context).inflate(R.layout.list_item_recent_chat, parent, false)
        return RecentChatVH(view)
    }

    override fun getItemCount(): Int {
        return chats.size
    }

    override fun onBindViewHolder(holder: RecentChatVH, position: Int) {
        holder.bind(chats[position], itemClickListener)
    }

    class RecentChatVH(itemView: View) : RecyclerView.ViewHolder(itemView) {
        private val nameTextView: TextView = itemView.findViewById(R.id.userNameTextView)
        private val messageSnippetTextView: TextView = itemView.findViewById(R.id.messageSnippetTextView)

        fun bind(chat: Chat, clickListener: OnItemClickListener) {
            nameTextView.text = chat.name
            messageSnippetTextView.text = chat.messageSnippet

            itemView.setOnClickListener {
                clickListener.onItemClicked(chat)
            }
        }

    }
}

================================================
FILE: app/src/main/java/com/chatair_android/ui/screens/contacts/ContactsActivity.kt
================================================
package com.chatair_android.ui.screens.contacts

import android.app.SearchManager
import android.content.Context
import android.os.Bundle
import android.view.Menu
import androidx.appcompat.app.AppCompatActivity
import androidx.appcompat.widget.SearchView
import androidx.recyclerview.widget.LinearLayoutManager
import com.chatair_android.ui.screens.contacts.models.Contact
import kotlinx.android.synthetic.main.activity_contacts.*


class ContactsActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(com.chatair_android.R.layout.activity_contacts)

        setSupportActionBar(toolbar)
        supportActionBar?.setDisplayHomeAsUpEnabled(true)

        contactsList.layoutManager = LinearLayoutManager(this)
        contactsList.adapter = ContactsListAdapter(getDummyContacts())
    }

    override fun onCreateOptionsMenu(menu: Menu): Boolean {
        val menuInflater = menuInflater
        menuInflater.inflate(com.chatair_android.R.menu.contacts_toolbar_menu, menu)

        val searchItem = menu.findItem(com.chatair_android.R.id.action_search)

        val searchManager =
            this@ContactsActivity.getSystemService(Context.SEARCH_SERVICE) as SearchManager

        var searchView: SearchView? = null
        if (searchItem != null) {
            searchView = searchItem.actionView as SearchView
        }
        searchView?.setSearchableInfo(searchManager.getSearchableInfo(this@ContactsActivity.componentName))
        return super.onCreateOptionsMenu(menu)
    }

    private fun getDummyContacts(): List<Contact> {
        val contacts = mutableListOf<Contact>()
        for (i in 0..20) {
            contacts.add(Contact(name = "User $i", status = "Online"))
        }
        return contacts
    }
}


================================================
FILE: app/src/main/java/com/chatair_android/ui/screens/contacts/ContactsListAdapter.kt
================================================
package com.chatair_android.ui.screens.contacts

import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.chatair_android.R
import com.chatair_android.ui.screens.contacts.models.Contact

class ContactsListAdapter(private val contacts: List<Contact>) : RecyclerView.Adapter<ContactsListAdapter.ViewHolder>() {

    override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ViewHolder {
        val view = LayoutInflater.from(parent.context).inflate(R.layout.list_item_contact, parent, false)
        return ViewHolder(view)
    }

    override fun getItemCount(): Int {
        return contacts.size
    }

    override fun onBindViewHolder(holder: ViewHolder, position: Int) {
        holder.bind(contacts[position])
    }

    class ViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) {
        private val nameTextView: TextView = itemView.findViewById(R.id.userNameTextView)
        private val statusTextView: TextView = itemView.findViewById(R.id.statusTextView)

        fun bind(contact: Contact) {
            nameTextView.text = contact.name
            statusTextView.text = contact.status
        }

    }
}

================================================
FILE: app/src/main/java/com/chatair_android/ui/screens/contacts/models/Contact.kt
================================================
package com.chatair_android.ui.screens.contacts.models

data class Contact(val name: String, val status: String)

================================================
FILE: app/src/main/java/com/chatair_android/ui/screens/forgot_password/ForgotPasswordActivity.kt
================================================
package com.chatair_android.ui.screens.forgot_password

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.chatair_android.R
import kotlinx.android.synthetic.main.activity_forgot_password.*

class ForgotPasswordActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_forgot_password)

        setSupportActionBar(toolbar_forgot_password)
        supportActionBar?.setDisplayHomeAsUpEnabled(true)
        supportActionBar?.setDisplayShowTitleEnabled(false)


    }
}


================================================
FILE: app/src/main/java/com/chatair_android/ui/screens/login/LoginActivity.kt
================================================
package com.chatair_android.ui.screens.login

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.chatair_android.R

class LoginActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_login)
    }
}


================================================
FILE: app/src/main/java/com/chatair_android/ui/screens/main/MainActivity.kt
================================================
package com.chatair_android.ui.screens.main

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.chatair_android.R

class MainActivity : AppCompatActivity() {
  override fun onCreate(savedInstanceState: Bundle?) {
    super.onCreate(savedInstanceState)
    setContentView(R.layout.activity_main)
  }
}


================================================
FILE: app/src/main/java/com/chatair_android/ui/screens/splash/SplashActivity.kt
================================================
package com.chatair_android.ui.screens.splash

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
import com.chatair_android.ui.screens.main.MainActivity
import com.chatair_android.R
import com.chatair_android.ui.screens.chat.recent.RecentChatsActivity
import com.chatair_android.ui.screens.contacts.ContactsActivity
import com.chatair_android.ui.screens.login.LoginActivity
import com.chatair_android.utils.gotoActivity

class SplashActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_splash)

        Handler().postDelayed({
            this.gotoActivity(this@SplashActivity, LoginActivity::class.java)
        }, 4000)
    }
}

================================================
FILE: app/src/main/java/com/chatair_android/utils/ktx.kt
================================================
package com.chatair_android.utils

import android.content.Context
import android.content.Intent
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity

fun AppCompatActivity.gotoActivity(context: Context, cls: Class<*>) {
    this.startActivity(Intent(context, cls))
}

fun Context.showLongToast(message: String) {
    Toast.makeText(this, message, Toast.LENGTH_LONG).show()
}

================================================
FILE: app/src/main/res/drawable/background_message_partner.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<shape
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="rectangle">

    <!-- Color -->
    <solid
        android:color="@color/messagePartnerBackground"/>

    <!-- Stroke -->
    <stroke
        android:width="@dimen/borderRegular"
        android:color="@color/messagePartnerStroke"/>

    <!-- Corners -->
    <corners
        android:radius="@dimen/cornerRegular"/>

</shape>

================================================
FILE: app/src/main/res/drawable/background_message_sender.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<shape
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="rectangle">

    <!-- Color -->
    <solid
        android:color="@color/messageSenderBackground"/>

    <!-- Stroke -->
    <stroke
        android:width="@dimen/borderRegular"
        android:color="@color/messageSenderStroke"/>

    <!-- Corners -->
    <corners
        android:radius="@dimen/cornerRegular"/>

</shape>

================================================
FILE: app/src/main/res/drawable/ic_chat_white.xml
================================================
<vector android:height="24.027325dp" android:viewportHeight="23.993"
    android:viewportWidth="29.358" android:width="29.4dp" xmlns:android="http://schemas.android.com/apk/res/android">
    <path android:fillColor="#fff" android:pathData="M26.226,0L3.132,0a3.319,3.319 0,0 0,-3.132 3.473v14.051a3.319,3.319 0,0 0,3.132 3.473L4.574,20.997l-0.491,2.14a0.733,0.733 0,0 0,0.2 0.7,0.584 0.584,0 0,0 0.4,0.159 0.569,0.569 0,0 0,0.261 -0.064l5.7,-2.933L26.226,20.999a3.319,3.319 0,0 0,3.132 -3.473L29.358,3.473A3.319,3.319 0,0 0,26.226 0ZM28.118,17.523a2,2 0,0 1,-1.892 2.1L10.513,19.623a0.57,0.57 0,0 0,-0.261 0.064l-4.645,2.388 0.366,-1.595a0.747,0.747 0,0 0,-0.111 -0.592,0.6 0.6,0 0,0 -0.49,-0.266L3.132,19.622a2,2 0,0 1,-1.892 -2.1L1.24,3.473a2,2 0,0 1,1.892 -2.1L26.226,1.373a2,2 0,0 1,1.892 2.1Z"/>
    <path android:fillColor="#fff" android:pathData="M25.367,12.761L9,12.761c-0.28,0 -0.507,0.607 -0.507,1.355s0.227,1.355 0.507,1.355L25.367,15.471c0.28,0 0.507,-0.607 0.507,-1.355S25.647,12.761 25.367,12.761Z"/>
    <path android:fillColor="#fff" android:pathData="M25.236,6.761h-20.6c-0.353,0 -0.638,0.607 -0.638,1.355s0.286,1.355 0.638,1.355h20.6c0.353,0 0.638,-0.607 0.638,-1.355S25.588,6.761 25.236,6.761Z"/>
</vector>


================================================
FILE: app/src/main/res/drawable/ic_launcher_background.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="108dp"
    android:height="108dp"
    android:viewportWidth="108"
    android:viewportHeight="108">
    <path
        android:fillColor="#008577"
        android:pathData="M0,0h108v108h-108z" />
    <path
        android:fillColor="#00000000"
        android:pathData="M9,0L9,108"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M19,0L19,108"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M29,0L29,108"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M39,0L39,108"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M49,0L49,108"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M59,0L59,108"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M69,0L69,108"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M79,0L79,108"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M89,0L89,108"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M99,0L99,108"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M0,9L108,9"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M0,19L108,19"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M0,29L108,29"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M0,39L108,39"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M0,49L108,49"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M0,59L108,59"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M0,69L108,69"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M0,79L108,79"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M0,89L108,89"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M0,99L108,99"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M19,29L89,29"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M19,39L89,39"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M19,49L89,49"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M19,59L89,59"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M19,69L89,69"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M19,79L89,79"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M29,19L29,89"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M39,19L39,89"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M49,19L49,89"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M59,19L59,89"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M69,19L69,89"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
    <path
        android:fillColor="#00000000"
        android:pathData="M79,19L79,89"
        android:strokeWidth="0.8"
        android:strokeColor="#33FFFFFF" />
</vector>


================================================
FILE: app/src/main/res/drawable/ic_more_vert_24dp.xml
================================================
<vector xmlns:android="http://schemas.android.com/apk/res/android"
        android:width="24dp"
        android:height="24dp"
        android:viewportWidth="24.0"
        android:viewportHeight="24.0">
    <path
        android:fillColor="#1C9EDA"
        android:pathData="M12,8c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2 -2,0.9 -2,2 0.9,2 2,2zM12,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2zM12,16c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2z"/>
</vector>


================================================
FILE: app/src/main/res/drawable/ic_search.xml
================================================
<vector android:height="15.988539dp" android:viewportHeight="16.74"
    android:viewportWidth="16.752" android:width="16dp" xmlns:android="http://schemas.android.com/apk/res/android">
    <path android:fillColor="#1c9eda"
        android:pathData="M16.166,15.737l-4.589,-4.592a6.1,6.1 0,0 0,1.9 -4.4A6.374,6.374 0,0 0,6.986 0.5,6.374 6.374,0 0,0 0.5,6.741a6.374,6.374 0,0 0,6.486 6.241A6.611,6.611 0,0 0,11.117 11.545l4.6,4.6a0.318,0.318 0,0 0,0.437 0.008A0.29,0.29 0,0 0,16.166 15.737ZM6.986,12.387A5.767,5.767 0,0 1,1.117 6.741,5.767 5.767,0 0,1 6.986,1.094a5.767,5.767 0,0 1,5.868 5.646A5.767,5.767 0,0 1,6.986 12.387Z"
        android:strokeColor="#1c9eda" android:strokeWidth="1"/>
</vector>


================================================
FILE: app/src/main/res/drawable/ic_send.xml
================================================
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="24"
    android:viewportHeight="24">
  <path
      android:pathData="M23.878,0.096a0.338,0.338 0,0 0,-0.388 -0.06L0.207,11.725a0.4,0.4 0,0 0,-0.007 0.7l6.589,3.494a0.337,0.337 0,0 0,0.373 -0.038l6.406,-5.173L8.539,16.296a0.406,0.406 0,0 0,-0.1 0.3l0.5,7.046a0.383,0.383 0,0 0,0.246 0.339,0.335 0.335,0 0,0 0.112,0.019 0.348,0.348 0,0 0,0.272 -0.134l3.5,-4.379 4.323,2.232a0.335,0.335 0,0 0,0.3 0.006,0.379 0.379,0 0,0 0.2,-0.239l6.1,-20.981A0.408,0.408 0,0 0,23.878 0.096Z"
      android:fillColor="#1c9eda"/>
</vector>


================================================
FILE: app/src/main/res/drawable/ic_user.xml
================================================
<vector android:height="36dp" android:viewportHeight="35.99"
    android:viewportWidth="40.68" android:width="40.691303dp" xmlns:android="http://schemas.android.com/apk/res/android">
    <path android:fillColor="#556080" android:pathData="M20.689,0.001A20.346,20.346 0,0 0,7.252 35.92a5.4,5.4 0,0 1,0.965 -0.687l6.069,-3.313a2.481,2.481 0,0 0,1.292 -2.178L15.578,27.254a13.508,13.508 0,0 1,-2.461 -5.1,2.043 2.043,0 0,1 -0.941,-1.714L12.176,17.721a2.034,2.034 0,0 1,0.68 -1.509L12.856,12.274s-0.808,-6.128 7.484,-6.128 7.484,6.128 7.484,6.128L27.824,16.211a2.031,2.031 0,0 1,0.68 1.509v2.724a2.043,2.043 0,0 1,-1.448 1.943,14.97 14.97,0 0,1 -2.02,4.074 9.822,9.822 0,0 1,-0.615 0.791L24.421,29.801a2.48,2.48 0,0 0,1.37 2.218l6.5,3.252a5.411,5.411 0,0 1,1.067 0.716A20.355,20.355 0,0 0,20.689 0.001Z"/>
</vector>


================================================
FILE: app/src/main/res/drawable/ic_user_placeholder.xml
================================================
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="24"
    android:viewportHeight="24">
  <path
      android:pathData="M8.191,18.912 L4.476,20.829a3.343,3.343 0,0 0,-0.6 0.4,12.992 12.992,0 0,0 15.987,0.039 3.315,3.315 0,0 0,-0.655 -0.415l-3.978,-1.881a1.429,1.429 0,0 1,-0.839 -1.284L14.391,16.213a5.74,5.74 0,0 0,0.376 -0.458A8.481,8.481 0,0 0,16.009 13.399a1.193,1.193 0,0 0,0.886 -1.124L16.895,10.699a1.15,1.15 0,0 0,-0.416 -0.873L16.479,7.545S16.973,3.999 11.897,3.999s-4.581,3.545 -4.581,3.545v2.278a1.149,1.149 0,0 0,-0.416 0.873v1.576a1.168,1.168 0,0 0,0.576 0.992,7.681 7.681,0 0,0 1.506,2.948v1.44A1.427,1.427 0,0 1,8.191 18.912Z"
      android:fillColor="#e7eced"/>
  <path
      android:pathData="M12.206,0A12.169,12.169 0,0 0,4.279 21.436a3.189,3.189 0,0 1,0.569 -0.41l3.581,-1.977a1.484,1.484 0,0 0,0.762 -1.3V16.264a8.094,8.094 0,0 1,-1.452 -3.041A1.223,1.223 0,0 1,7.184 12.2V10.575a1.22,1.22 0,0 1,0.4 -0.9V7.324S7.108,3.667 12,3.667s4.415,3.657 4.415,3.657v2.35a1.218,1.218 0,0 1,0.4 0.9V12.2a1.217,1.217 0,0 1,-0.854 1.16,8.976 8.976,0 0,1 -1.192,2.431 5.853,5.853 0,0 1,-0.363 0.472v1.523a1.482,1.482 0,0 0,0.808 1.324l3.834,1.94a3.19,3.19 0,0 1,0.629 0.427A12.179,12.179 0,0 0,12.206 0Z"
      android:fillColor="#556080"/>
</vector>


================================================
FILE: app/src/main/res/drawable-v24/ic_launcher_foreground.xml
================================================
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:aapt="http://schemas.android.com/aapt"
    android:width="108dp"
    android:height="108dp"
    android:viewportWidth="108"
    android:viewportHeight="108">
    <path
        android:fillType="evenOdd"
        android:pathData="M32,64C32,64 38.39,52.99 44.13,50.95C51.37,48.37 70.14,49.57 70.14,49.57L108.26,87.69L108,109.01L75.97,107.97L32,64Z"
        android:strokeWidth="1"
        android:strokeColor="#00000000">
        <aapt:attr name="android:fillColor">
            <gradient
                android:endX="78.5885"
                android:endY="90.9159"
                android:startX="48.7653"
                android:startY="61.0927"
                android:type="linear">
                <item
                    android:color="#44000000"
                    android:offset="0.0" />
                <item
                    android:color="#00000000"
                    android:offset="1.0" />
            </gradient>
        </aapt:attr>
    </path>
    <path
        android:fillColor="#FFFFFF"
        android:fillType="nonZero"
        android:pathData="M66.94,46.02L66.94,46.02C72.44,50.07 76,56.61 76,64L32,64C32,56.61 35.56,50.11 40.98,46.06L36.18,41.19C35.45,40.45 35.45,39.3 36.18,38.56C36.91,37.81 38.05,37.81 38.78,38.56L44.25,44.05C47.18,42.57 50.48,41.71 54,41.71C57.48,41.71 60.78,42.57 63.68,44.05L69.11,38.56C69.84,37.81 70.98,37.81 71.71,38.56C72.44,39.3 72.44,40.45 71.71,41.19L66.94,46.02ZM62.94,56.92C64.08,56.92 65,56.01 65,54.88C65,53.76 64.08,52.85 62.94,52.85C61.8,52.85 60.88,53.76 60.88,54.88C60.88,56.01 61.8,56.92 62.94,56.92ZM45.06,56.92C46.2,56.92 47.13,56.01 47.13,54.88C47.13,53.76 46.2,52.85 45.06,52.85C43.92,52.85 43,53.76 43,54.88C43,56.01 43.92,56.92 45.06,56.92Z"
        android:strokeWidth="1"
        android:strokeColor="#00000000" />
</vector>


================================================
FILE: app/src/main/res/layout/activity_chat.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
    android:id="@+id/chat_root"
    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:background="@android:color/white"
    xmlns:tools="http://schemas.android.com/tools">

    <!-- Toolbar -->
    <androidx.appcompat.widget.Toolbar
        android:id="@+id/chat_toolbar"
        style="@style/ChatAirToolbar.Chat"
        tools:title="User Name"
        tools:subtitle="Online"
        tools:logo="@drawable/ic_user_placeholder"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent"/>

    <!-- Chat Recycler -->
    <!-- Add recyclerview here when the Gradle implementation is ready, -->
    <!-- I won't do this here as it is outside the scope of this PR -->

    <!-- Divider -->
    <View
        android:id="@+id/chat_message_divider"
        style="@style/ChatAirDivider.Regular"
        app:layout_constraintBottom_toTopOf="@+id/chat_message_input"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent"/>

    <!-- Chat Message Input -->
    <EditText
        android:id="@+id/chat_message_input"
        style="@style/ChatAirInput.ChatMessage"
        android:importantForAutofill="no"
        android:hint="@string/chat_send_message"
        android:layout_marginEnd="@dimen/marginRegular"
        android:layout_marginRight="@dimen/marginRegular"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toStartOf="@id/chat_send_button"/>

    <!-- Send Button -->
    <ImageButton
        android:id="@+id/chat_send_button"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:src="@drawable/ic_send"
        android:contentDescription="@string/chat_send_message_content_description"
        android:layout_marginEnd="@dimen/marginRegular"
        android:layout_marginRight="@dimen/marginRegular"
        android:background="@android:color/transparent"
        app:layout_constraintTop_toBottomOf="@id/chat_message_divider"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"/>

</androidx.constraintlayout.widget.ConstraintLayout>

================================================
FILE: app/src/main/res/layout/activity_contacts.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".ui.screens.contacts.ContactsActivity">

    <androidx.appcompat.widget.Toolbar
        android:id="@+id/toolbar"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:layout_constraintStart_toStartOf="parent"
        app:title="@string/contacts_label"
        app:titleTextColor="@color/colorApp"
        app:layout_constraintTop_toTopOf="parent" />

    <androidx.recyclerview.widget.RecyclerView
        android:id="@+id/contactsList"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@id/toolbar" />

</androidx.constraintlayout.widget.ConstraintLayout>

================================================
FILE: app/src/main/res/layout/activity_forgot_password.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".ui.screens.forgot_password.ForgotPasswordActivity">

    <androidx.appcompat.widget.Toolbar
        android:id="@+id/toolbar_forgot_password"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

    <com.google.android.material.textview.MaterialTextView
        android:id="@+id/tv_forget_password_title"
        style="@style/ChatAirText.HeadingText"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="@dimen/marginXLarge"
        android:text="@string/forget_password_label"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@id/toolbar_forgot_password" />

    <com.google.android.material.textview.MaterialTextView
        android:id="@+id/tv_forgot_password_prompt"
        style="@style/ChatAirText"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="@dimen/marginMedium"
        android:layout_marginLeft="@dimen/marginMedium"
        android:layout_marginTop="@dimen/marginMedium"
        android:layout_marginEnd="@dimen/marginMedium"
        android:layout_marginRight="@dimen/marginMedium"
        android:text="@string/forget_password_prompt"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@id/tv_forget_password_title" />

    <com.google.android.material.textfield.TextInputLayout
        android:id="@+id/til_forgot_password_email"
        style="@style/ChatAirInput.TextInput"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="@dimen/marginMedium"
        android:layout_marginLeft="@dimen/marginMedium"
        android:layout_marginTop="@dimen/marginXLarge"
        android:layout_marginEnd="@dimen/marginMedium"
        android:layout_marginRight="@dimen/marginMedium"
        app:layout_constraintTop_toBottomOf="@id/tv_forgot_password_prompt">


        <com.google.android.material.textfield.TextInputEditText
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:hint="@string/enter_email_hint"
            android:inputType="textEmailAddress" />

    </com.google.android.material.textfield.TextInputLayout>

    <com.google.android.material.button.MaterialButton
        style="@style/ChatAirButton"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="@dimen/marginMedium"
        android:layout_marginLeft="@dimen/marginMedium"
        android:layout_marginTop="@dimen/marginRegular"
        android:layout_marginEnd="@dimen/marginMedium"
        android:layout_marginRight="@dimen/marginMedium"
        android:text="@string/send_label"
        app:cornerRadius="@dimen/cornerRegular"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@id/til_forgot_password_email" />


</androidx.constraintlayout.widget.ConstraintLayout>

================================================
FILE: app/src/main/res/layout/activity_login.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".ui.screens.login.LoginActivity">


    <androidx.constraintlayout.widget.ConstraintLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:focusable="true"
        android:focusableInTouchMode="true">


        <ImageView
            android:id="@+id/iv_chat_air_logo"
            android:layout_width="196dp"
            android:layout_height="196dp"
            android:layout_marginTop="@dimen/marginXLarge"
            android:src="@drawable/app_logo_icon"
            app:layout_constraintEnd_toStartOf="parent"
            app:layout_constraintStart_toEndOf="parent"
            app:layout_constraintTop_toTopOf="parent" />


        <TextView
            android:id="@+id/tv_sign_in_label"
            style="@style/ChatAirText.HeadingText"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/txt_label_sign_in"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toBottomOf="@id/iv_chat_air_logo"
            tools:text="Sign In" />

        <com.google.android.material.textfield.TextInputLayout
            android:id="@+id/til_email"
            style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginStart="@dimen/marginMedium"
            android:layout_marginTop="@dimen/marginMedium"
            android:layout_marginEnd="@dimen/marginMedium"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toBottomOf="@id/tv_sign_in_label">

            <com.google.android.material.textfield.TextInputEditText
                style="@style/ChatAirInput.TextInput"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:hint="@string/hint_email_address"
                android:inputType="textEmailAddress" />

        </com.google.android.material.textfield.TextInputLayout>

        <com.google.android.material.textfield.TextInputLayout
            android:id="@+id/til_password"
            style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginStart="@dimen/marginMedium"
            android:layout_marginTop="@dimen/marginMedium"
            android:layout_marginEnd="@dimen/marginMedium"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toBottomOf="@id/til_email">

            <com.google.android.material.textfield.TextInputEditText
                style="@style/ChatAirInput.TextInput"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:hint="@string/hint_password"
                android:inputType="textPassword" />

        </com.google.android.material.textfield.TextInputLayout>

        <CheckBox
            android:id="@+id/cb_remember_me"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:layout_constraintStart_toStartOf="@id/til_password"
            app:layout_constraintTop_toBottomOf="@id/til_password" />

        <TextView
            android:id="@+id/tv_remember_me"
            style="@style/ChatAirText"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/txt_label_remember_me"
            android:textColor="@color/colorPrimary"
            app:layout_constraintBottom_toTopOf="@id/cb_remember_me"
            app:layout_constraintStart_toEndOf="@id/cb_remember_me"
            app:layout_constraintTop_toBottomOf="@id/cb_remember_me" />

        <TextView
            android:id="@+id/tv_forgot_password"
            style="@style/ChatAirText"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/txt_label_forgot_password"
            android:textColor="@color/colorPrimary"
            app:layout_constraintBottom_toTopOf="@id/cb_remember_me"
            app:layout_constraintEnd_toEndOf="@id/til_password"
            app:layout_constraintTop_toBottomOf="@id/cb_remember_me" />


        <Button
            android:id="@+id/btn_sign_in"
            style="@style/ChatAirButton"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginStart="@dimen/marginMedium"
            android:layout_marginTop="@dimen/marginMedium"
            android:layout_marginEnd="@dimen/marginMedium"
            android:text="@string/txt_label_sign_in"
            app:layout_constraintTop_toBottomOf="@id/cb_remember_me" />

        <TextView
            android:id="@+id/tv_or"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="@dimen/marginExtraSmall"
            android:fontFamily="@font/segoe_ui_bold"
            android:text="@string/txt_label_or"
            android:textColor="@color/colorPrimary"
            android:textSize="@dimen/textMedium"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toBottomOf="@id/btn_sign_in" />

        <Button
            style="@style/ChatAirOutlinedButton"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginStart="@dimen/marginMedium"
            android:layout_marginTop="@dimen/marginExtraSmall"
            android:layout_marginEnd="@dimen/marginMedium"
            android:text="@string/txt_login_with_google"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toBottomOf="@id/tv_or"
            app:strokeWidth="2dp" />

    </androidx.constraintlayout.widget.ConstraintLayout>

</ScrollView>

================================================
FILE: app/src/main/res/layout/activity_main.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".ui.screens.main.MainActivity"
    >

  <TextView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="Hello World!"
      app:layout_constraintBottom_toBottomOf="parent"
      app:layout_constraintLeft_toLeftOf="parent"
      app:layout_constraintRight_toRightOf="parent"
      app:layout_constraintTop_toTopOf="parent"
      />

</androidx.constraintlayout.widget.ConstraintLayout>

================================================
FILE: app/src/main/res/layout/activity_recent_chats.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".ui.screens.chat.recent.RecentChatsActivity">

    <androidx.appcompat.widget.Toolbar
        android:id="@+id/toolbar_recent_chats"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:menu="@menu/recent_chats_toolbar_menu"
        app:title="ChatAir"
        app:titleTextColor="@color/colorApp" />

    <androidx.recyclerview.widget.RecyclerView
        android:id="@+id/recentChatsRV"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@id/toolbar_recent_chats"
        tools:itemCount="3"
        tools:listitem="@layout/list_item_recent_chat" />

    <com.google.android.material.floatingactionbutton.FloatingActionButton
        android:id="@+id/floatingActionButton"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_margin="@dimen/marginRegular"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:srcCompat="@drawable/ic_chat_white"
        app:backgroundTint="@color/colorPrimary"
        android:onClick="openContactsActivity"/>

</androidx.constraintlayout.widget.ConstraintLayout>

================================================
FILE: app/src/main/res/layout/activity_splash.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".ui.screens.splash.SplashActivity">

    <androidx.appcompat.widget.AppCompatImageView
        android:id="@+id/imgAppLogoIcon"
        android:layout_width="190dp"
        android:layout_height="190dp"
        app:srcCompat="@drawable/app_logo_icon"
        android:layout_marginBottom="60dp"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        />

    <androidx.appcompat.widget.AppCompatTextView
        android:id="@+id/tvChatAir"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/text_chatAir"
        android:textColor="@color/colorApp"
        android:textStyle="bold"
        android:textSize="35sp"
        android:layout_marginStart="60dp"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintBottom_toBottomOf="@+id/imgAppLogoIcon"
        android:layout_marginLeft="50dp"
        android:layout_marginBottom="15dp"/>

    <ProgressBar
        android:id="@+id/progress_chatAir"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginTop="20dp"
        android:theme="@style/AppTheme"
        android:indeterminate="true"
        android:indeterminateTint="@color/colorApp"
        android:layout_marginStart="10dp"
        android:layout_marginEnd="10dp"
        app:layout_constraintStart_toStartOf="@+id/imgAppLogoIcon"
        app:layout_constraintEnd_toEndOf="@+id/imgAppLogoIcon"
        app:layout_constraintTop_toBottomOf="@+id/imgAppLogoIcon"
        style="@style/Widget.AppCompat.ProgressBar.Horizontal"/>

</androidx.constraintlayout.widget.ConstraintLayout>

================================================
FILE: app/src/main/res/layout/list_item_contact.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:paddingStart="@dimen/paddingMedium"
    android:paddingTop="@dimen/paddingMedium"
    android:paddingEnd="@dimen/paddingMedium">

    <ImageView
        android:id="@+id/contactIconImageView"
        android:layout_width="@dimen/iconImageHeight"
        android:layout_height="0dp"
        app:layout_constraintBottom_toBottomOf="@id/divider"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="@id/userNameTextView"
        android:src="@drawable/ic_user" />

    <TextView
        android:id="@+id/userNameTextView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginStart="@dimen/marginMedium"
        android:layout_marginLeft="@dimen/marginMedium"
        android:textColor="@color/textPrimary"
        android:textSize="@dimen/textMedium"
        app:layout_constraintStart_toEndOf="@id/contactIconImageView"
        app:layout_constraintTop_toTopOf="parent"
        tools:text="@tools:sample/lorem" />

    <TextView
        android:id="@+id/statusTextView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textColor="@color/textPrimaryLight"
        android:textSize="@dimen/textMedium"
        app:layout_constraintStart_toStartOf="@id/userNameTextView"
        app:layout_constraintTop_toBottomOf="@id/userNameTextView"
        tools:text="@tools:sample/lorem" />

    <View
        android:id="@+id/divider"
        android:layout_width="0dp"
        android:layout_height="1dp"
        android:layout_marginTop="@dimen/marginMedium"
        android:background="@color/textPrimary"
        app:layout_constraintStart_toStartOf="@id/statusTextView"
        app:layout_constraintTop_toBottomOf="@id/statusTextView" />

</androidx.constraintlayout.widget.ConstraintLayout>

================================================
FILE: app/src/main/res/layout/list_item_recent_chat.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:paddingStart="@dimen/paddingMedium"
    android:paddingTop="@dimen/paddingMedium"
    android:paddingEnd="@dimen/paddingMedium">

    <ImageView
        android:id="@+id/userImageView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:layout_constraintBottom_toBottomOf="@id/divider_recent_chat_item"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="@id/userNameTextView"
        android:src="@drawable/ic_user" />

    <TextView
        android:id="@+id/userNameTextView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginStart="@dimen/marginMedium"
        android:layout_marginLeft="@dimen/marginMedium"
        android:textColor="@color/textPrimary"
        android:textSize="@dimen/textMedium"
        app:layout_constraintStart_toEndOf="@id/userImageView"
        app:layout_constraintTop_toTopOf="parent"
        android:maxLines="1"
        android:ellipsize="end"
        tools:text="User Name" />

    <TextView
        android:id="@+id/messageSnippetTextView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textColor="@color/textPrimaryLight"
        android:textSize="@dimen/textMedium"
        android:maxLines="1"
        android:ellipsize="end"
        app:layout_constraintStart_toStartOf="@id/userNameTextView"
        app:layout_constraintTop_toBottomOf="@id/userNameTextView"
        tools:text="Message" />

    <View
        android:id="@+id/divider_recent_chat_item"
        android:layout_width="0dp"
        android:layout_height="1dp"
        android:layout_marginTop="@dimen/marginSmall"
        android:background="@color/inputHint"
        app:layout_constraintStart_toStartOf="@id/messageSnippetTextView"
        app:layout_constraintTop_toBottomOf="@id/messageSnippetTextView" />

</androidx.constraintlayout.widget.ConstraintLayout>

================================================
FILE: app/src/main/res/layout/row_message_partner.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<TextView
    android:id="@+id/message_partner_text"
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    style="@style/ChatAirText.MessagePartner"
    tools:text="Hi" />

================================================
FILE: app/src/main/res/layout/row_message_sender.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<TextView
    android:id="@+id/message_partner_text"
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    style="@style/ChatAirText.MessageSender"
    tools:text="How are you?"/>

================================================
FILE: app/src/main/res/menu/contacts_toolbar_menu.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <item
        android:id="@+id/action_search"
        android:icon="@drawable/ic_search"
        android:title="@string/search_label"
        app:actionViewClass="androidx.appcompat.widget.SearchView"
        app:showAsAction="always|collapseActionView" />
</menu>

================================================
FILE: app/src/main/res/menu/recent_chats_toolbar_menu.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <item
        android:id="@+id/action_option_zero"
        android:icon="@drawable/ic_more_vert_24dp"
        android:title="Option 0"
        app:showAsAction="never" />

    <item
        android:id="@+id/action_option_one"
        android:title="Option 1"
        app:showAsAction="never"/>

    <item
        android:id="@+id/action_option_two"
        android:title="Option 2"
        app:showAsAction="never"/>
</menu>

================================================
FILE: app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
    <background android:drawable="@drawable/ic_launcher_background" />
    <foreground android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>

================================================
FILE: app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
    <background android:drawable="@drawable/ic_launcher_background" />
    <foreground android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>

================================================
FILE: app/src/main/res/values/colors.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <color name="colorPrimary">#1C9EDA</color>
    <color name="colorPrimaryDark">#00574B</color>
    <color name="colorAccent">#D81B60</color>
    <color name="colorApp">#1C9EDA</color>

    <!-- region Text Input -->
    <color name="inputHint">#5C707070</color>
    <color name="inputText">#707070</color>
    <!-- endregion -->

    <!-- region Text View -->
    <color name="textPrimary">#333333</color>
    <color name="textPrimaryLight">#BEBEBE</color>
    <color name="textContrast">#F5F5F5</color>
    <!-- endregion -->

    <!-- region Chat Message -->
    <color name="messagePartnerBackground">#EEEEEE</color>
    <color name="messagePartnerStroke">#707070</color>
    <color name="messageSenderBackground">@color/colorPrimary</color>
    <color name="messageSenderStroke">#707070</color>
    <!-- endregion -->

</resources>


================================================
FILE: app/src/main/res/values/dimens.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<resources>

    <!-- Margin -->
    <dimen name="marginExtraSmall">4dp</dimen>
    <dimen name="marginSmall">8dp</dimen>
    <dimen name="marginRegular">12dp</dimen>
    <dimen name="marginMedium">16dp</dimen>
    <dimen name="marginXLarge">32dp</dimen>

    <!-- Padding -->
    <dimen name="paddingSmall">8dp</dimen>
    <dimen name="paddingRegular">12dp</dimen>
    <dimen name="paddingMedium">16dp</dimen>
    <dimen name="paddingLarge">32dp</dimen>

    <!-- Text -->
    <dimen name="textExtraSmall">10sp</dimen>
    <dimen name="textSmall">12sp</dimen>
    <dimen name="textRegular">15sp</dimen>
    <dimen name="textMedium">18sp</dimen>
    <dimen name="textLarge">35sp</dimen>

    <!-- Corners -->
    <dimen name="cornerRegular">5dp</dimen>

    <!-- Border -->
    <dimen name="borderRegular">1dp</dimen>

    <!-- Elevation -->
    <dimen name="elevationToolbar">4dp</dimen>
    <dimen name="elevationFAB">8dp</dimen>

    <!-- Divider -->
    <dimen name="dividerRegular">1dp</dimen>

    <!--  Contacts Screen  -->
    <dimen name="iconImageHeight">40dp</dimen>

</resources>


================================================
FILE: app/src/main/res/values/strings.xml
================================================
<resources>
    <string name="app_name">ChatAir-android</string>
    <string name="text_chatAir">ChatAir</string>

    <!-- Chat -->
    <string name="chat_send_message">Enter a message</string>
    <string name="chat_send_message_content_description">Send message</string>

    <!--  Contacts  -->
    <string name="contacts_label">Contacts</string>
    <string name="search_label">Search</string>

    <!-- Forget Password -->
    <string name="forget_password_label">Forget Password</string>
    <string name="forget_password_prompt">If you forget your password. Enter your email in below field we\'ll send you an email with instructions to change the password</string>
    <string name="enter_email_hint">Enter email address</string>
    <string name="send_label">Send</string>

    <!-- Login Screen -->
    <string name="txt_label_sign_in">Sign In</string>
    <string name="hint_email_address">Enter email address</string>
    <string name="hint_password">Enter password</string>
    <string name="txt_label_remember_me">Remember me</string>
    <string name="txt_label_forgot_password">Forgot Password</string>
    <string name="txt_label_or">Or</string>
    <string name="txt_login_with_google">Login with Google</string>

</resources>


================================================
FILE: app/src/main/res/values/styles.xml
================================================
<resources xmlns:tools="http://schemas.android.com/tools">

    <!-- Base application theme. -->
    <style name="AppTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar">
        <!-- Customize your theme here. -->
        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
        <item name="colorAccent">@color/colorAccent</item>

        <item name="colorControlNormal">@color/colorPrimary</item>
    </style>

    <!-- region Toolbar  -->
    <style name="ChatAirToolbar" parent="Widget.MaterialComponents.Toolbar">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">?android:attr/actionBarSize</item>
        <item name="android:background">@android:color/white</item>
        <item name="android:elevation" tools:targetApi="21">@dimen/elevationToolbar</item>
        <item name="contentInsetLeft">0dp</item>
        <item name="contentInsetRight">0dp</item>
        <item name="contentInsetStartWithNavigation">0dp</item>
        <item name="contentInsetEndWithActions">0dp</item>
        <item name="titleMarginStart">@dimen/marginMedium</item>
    </style>

    <style name="ChatAirToolbar.Chat" parent="ChatAirToolbar">
        <item name="titleTextAppearance">@style/ChatAirToolbar.Chat.Title</item>
        <item name="subtitleTextAppearance">@style/ChatAirToolbar.Chat.Subtitle</item>
    </style>

    <style name="ChatAirToolbar.Chat.Title" parent="Widget.MaterialComponents.Toolbar.Primary">
        <item name="android:textColor">@color/colorPrimary</item>
        <item name="android:textSize">@dimen/textRegular</item>
        <item name="fontFamily">@font/segoe_ui_regular</item>
    </style>

    <style name="ChatAirToolbar.Chat.Subtitle" parent="Widget.MaterialComponents.Toolbar">
        <item name="android:textColor">@color/colorPrimary</item>
        <item name="android:textSize">@dimen/textExtraSmall</item>
        <item name="fontFamily">@font/segoe_ui_regular</item>
    </style>
    <!--  endregion -->

    <!-- region Text Input -->
    <style name="ChatAirInput" parent="Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense">
        <item name="android:textSize">@dimen/textMedium</item>
        <item name="fontFamily">@font/segoe_ui_regular</item>
        <item name="android:textColor">@color/inputText</item>
        <item name="android:textColorHint">@color/inputHint</item>
    </style>

    <style name="ChatAirInput.ChatMessage" parent="ChatAirInput">
        <item name="android:layout_width">0dp</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:background">@android:color/white</item>
        <item name="android:inputType">textCapSentences|textMultiLine</item>
        <item name="android:singleLine">false</item>
    </style>

    <style name="ChatAirInput.TextInput" parent="ChatAirInput">
        <item name="boxBackgroundMode">outline</item>
        <item name="boxBackgroundColor">@android:color/transparent</item>
        <item name="boxStrokeColor">@color/colorPrimary</item>
        <item name="boxCornerRadiusBottomEnd">@dimen/cornerRegular</item>
        <item name="boxCornerRadiusBottomStart">@dimen/cornerRegular</item>
        <item name="boxCornerRadiusTopEnd">@dimen/cornerRegular</item>
        <item name="boxCornerRadiusTopStart">@dimen/cornerRegular</item>
        <item name="hintEnabled">true</item>
        <item name="hintAnimationEnabled">true</item>
    </style>
    <!-- endregion -->

    <!-- region Text View -->
    <style name="ChatAirText" parent="Widget.MaterialComponents.TextView">
        <item name="fontFamily">@font/segoe_ui_regular</item>
    </style>

    <style name="ChatAirText.HeadingText" parent="ChatAirText">
        <item name="android:textStyle">bold</item>
        <item name="android:textColor">@color/colorPrimary</item>
        <item name="android:textSize">@dimen/textLarge</item>
    </style>

    <style name="ChatAirText.MessagePartner" parent="ChatAirText">
        <item name="android:textSize">@dimen/textRegular</item>
        <item name="android:layout_width">wrap_content</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:textColor">@color/textPrimary</item>
        <item name="android:paddingTop">@dimen/paddingSmall</item>
        <item name="android:paddingStart">@dimen/paddingSmall</item>
        <item name="android:paddingEnd">@dimen/paddingLarge</item>
        <item name="android:paddingLeft">@dimen/paddingSmall</item>
        <item name="android:paddingRight">@dimen/paddingLarge</item>
        <item name="android:paddingBottom">@dimen/paddingSmall</item>
        <item name="android:layout_marginTop">@dimen/marginMedium</item>
        <item name="android:layout_marginBottom">@dimen/marginMedium</item>
        <item name="android:layout_marginLeft">@dimen/marginRegular</item>
        <item name="android:layout_marginStart">@dimen/marginRegular</item>
        <item name="android:layout_marginRight">@dimen/marginRegular</item>
        <item name="android:layout_marginEnd">@dimen/marginRegular</item>
        <item name="android:background">@drawable/background_message_partner</item>
    </style>

    <style name="ChatAirText.MessageSender" parent="ChatAirText">
        <item name="android:textSize">@dimen/textRegular</item>
        <item name="android:layout_width">wrap_content</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:textColor">@color/textContrast</item>
        <item name="android:paddingTop">@dimen/paddingSmall</item>
        <item name="android:paddingStart">@dimen/paddingLarge</item>
        <item name="android:paddingEnd">@dimen/paddingSmall</item>
        <item name="android:paddingLeft">@dimen/paddingLarge</item>
        <item name="android:paddingRight">@dimen/paddingSmall</item>
        <item name="android:paddingBottom">@dimen/paddingSmall</item>
        <item name="android:layout_marginTop">@dimen/marginMedium</item>
        <item name="android:layout_marginBottom">@dimen/marginMedium</item>
        <item name="android:layout_marginLeft">@dimen/marginRegular</item>
        <item name="android:layout_marginStart">@dimen/marginRegular</item>
        <item name="android:layout_marginRight">@dimen/marginRegular</item>
        <item name="android:layout_marginEnd">@dimen/marginRegular</item>
        <item name="android:background">@drawable/background_message_sender</item>
        <item name="android:layout_gravity">end</item>
    </style>
    <!-- endregion -->

    <!-- region Button -->
    <style name="ChatAirButton" parent="Widget.MaterialComponents.Button">
        <item name="android:textAllCaps">false</item>
        <item name="android:background">@color/colorPrimary</item>
        <item name="android:textColor">@color/textContrast</item>
        <item name="android:textStyle">bold</item>
        <item name="android:textSize">@dimen/textMedium</item>
        <item name="android:padding">@dimen/paddingMedium</item>
        <item name="android:fontFamily">@font/segoe_ui_bold</item>
    </style>

    <style name="ChatAirOutlinedButton" parent="Widget.MaterialComponents.Button.OutlinedButton">
        <item name="android:textAllCaps">false</item>
        <item name="android:textColor">@color/textPrimary</item>
        <item name="android:textStyle">bold</item>
        <item name="android:textSize">@dimen/textMedium</item>
        <item name="android:padding">@dimen/paddingMedium</item>
        <item name="android:fontFamily">@font/segoe_ui_bold</item>
    </style>
    <!-- endregion -->

    <!-- region Divider -->
    <style name="ChatAirDivider" />

    <style name="ChatAirDivider.Regular" parent="ChatAirDivider">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">@dimen/dividerRegular</item>
        <item name="android:background">@color/colorPrimary</item>
    </style>
    <!-- endregion -->

</resources>


================================================
FILE: app/src/test/java/com/chatair_android/ExampleUnitTest.kt
================================================
package com.chatair_android

import org.junit.Test

import org.junit.Assert.*

/**
 * Example local unit test, which will execute on the development machine (host).
 *
 * See [testing documentation](http://d.android.com/tools/testing).
 */
class ExampleUnitTest {
    @Test
    fun addition_isCorrect() {
        assertEquals(4, 2 + 2)
    }
}


================================================
FILE: build.gradle
================================================
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    ext.kotlin_version = '1.3.41'
    repositories {
        google()
        jcenter()

    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.5.0'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        google()
        jcenter()

    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}


================================================
FILE: gradle/wrapper/gradle-wrapper.properties
================================================
#Sun Sep 29 21:22:16 PKT 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip


================================================
FILE: gradle.properties
================================================
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx1536m
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
# AndroidX package structure to make it clearer which packages are bundled with the
# Android operating system, and which are packaged with your app's APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official


================================================
FILE: gradlew
================================================
#!/usr/bin/env sh

##############################################################################
##
##  Gradle start up script for UN*X
##
##############################################################################

# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
    ls=`ls -ld "$PRG"`
    link=`expr "$ls" : '.*-> \(.*\)$'`
    if expr "$link" : '/.*' > /dev/null; then
        PRG="$link"
    else
        PRG=`dirname "$PRG"`"/$link"
    fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`"
cd "$SAVED" >/dev/null

APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`

# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"

warn () {
    echo "$*"
}

die () {
    echo
    echo "$*"
    echo
    exit 1
}

# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
nonstop=false
case "`uname`" in
  CYGWIN* )
    cygwin=true
    ;;
  Darwin* )
    darwin=true
    ;;
  MINGW* )
    msys=true
    ;;
  NONSTOP* )
    nonstop=true
    ;;
esac

CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar

# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
    if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
        # IBM's JDK on AIX uses strange locations for the executables
        JAVACMD="$JAVA_HOME/jre/sh/java"
    else
        JAVACMD="$JAVA_HOME/bin/java"
    fi
    if [ ! -x "$JAVACMD" ] ; then
        die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME

Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
    fi
else
    JAVACMD="java"
    which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.

Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi

# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
    MAX_FD_LIMIT=`ulimit -H -n`
    if [ $? -eq 0 ] ; then
        if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
            MAX_FD="$MAX_FD_LIMIT"
        fi
        ulimit -n $MAX_FD
        if [ $? -ne 0 ] ; then
            warn "Could not set maximum file descriptor limit: $MAX_FD"
        fi
    else
        warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
    fi
fi

# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
    GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi

# For Cygwin, switch paths to Windows format before running java
if $cygwin ; then
    APP_HOME=`cygpath --path --mixed "$APP_HOME"`
    CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
    JAVACMD=`cygpath --unix "$JAVACMD"`

    # We build the pattern for arguments to be converted via cygpath
    ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
    SEP=""
    for dir in $ROOTDIRSRAW ; do
        ROOTDIRS="$ROOTDIRS$SEP$dir"
        SEP="|"
    done
    OURCYGPATTERN="(^($ROOTDIRS))"
    # Add a user-defined pattern to the cygpath arguments
    if [ "$GRADLE_CYGPATTERN" != "" ] ; then
        OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
    fi
    # Now convert the arguments - kludge to limit ourselves to /bin/sh
    i=0
    for arg in "$@" ; do
        CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
        CHECK2=`echo "$arg"|egrep -c "^-"`                                 ### Determine if an option

        if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then                    ### Added a condition
            eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
        else
            eval `echo args$i`="\"$arg\""
        fi
        i=$((i+1))
    done
    case $i in
        (0) set -- ;;
        (1) set -- "$args0" ;;
        (2) set -- "$args0" "$args1" ;;
        (3) set -- "$args0" "$args1" "$args2" ;;
        (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
        (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
        (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
        (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
        (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
        (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
    esac
fi

# Escape application args
save () {
    for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
    echo " "
}
APP_ARGS=$(save "$@")

# Collect all arguments for the java command, following the shell quoting and substitution rules
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"

# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
  cd "$(dirname "$0")"
fi

exec "$JAVACMD" "$@"


================================================
FILE: gradlew.bat
================================================
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem  Gradle startup script for Windows
@rem
@rem ##########################################################################

@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal

set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%

@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS=

@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome

set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto init

echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.

goto fail

:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe

if exist "%JAVA_EXE%" goto init

echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.

goto fail

:init
@rem Get command-line arguments, handling Windows variants

if not "%OS%" == "Windows_NT" goto win9xME_args

:win9xME_args
@rem Slurp the command line arguments.
set CMD_LINE_ARGS=
set _SKIP=2

:win9xME_args_slurp
if "x%~1" == "x" goto execute

set CMD_LINE_ARGS=%*

:execute
@rem Setup the command line

set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar

@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%

:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd

:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if  not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1

:mainEnd
if "%OS%"=="Windows_NT" endlocal

:omega


================================================
FILE: settings.gradle
================================================
include ':app'
rootProject.name='ChatAir-android'
Download .txt
gitextract_mifrjddi/

├── .github/
│   └── pull_request_template.md
├── .gitignore
├── .idea/
│   ├── codeStyles/
│   │   ├── Project.xml
│   │   └── codeStyleConfig.xml
│   ├── dbnavigator.xml
│   ├── gradle.xml
│   ├── misc.xml
│   ├── runConfigurations.xml
│   └── vcs.xml
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── app/
│   ├── .gitignore
│   ├── build.gradle
│   ├── proguard-rules.pro
│   └── src/
│       ├── androidTest/
│       │   └── java/
│       │       └── com/
│       │           └── chatair_android/
│       │               └── ExampleInstrumentedTest.kt
│       ├── main/
│       │   ├── AndroidManifest.xml
│       │   ├── java/
│       │   │   └── com/
│       │   │       └── chatair_android/
│       │   │           ├── ui/
│       │   │           │   └── screens/
│       │   │           │       ├── chat/
│       │   │           │       │   ├── model/
│       │   │           │       │   │   └── Chat.kt
│       │   │           │       │   └── recent/
│       │   │           │       │       ├── OnItemClickListener.kt
│       │   │           │       │       ├── RecentChatsActivity.kt
│       │   │           │       │       └── RecentChatsListAdapter.kt
│       │   │           │       ├── contacts/
│       │   │           │       │   ├── ContactsActivity.kt
│       │   │           │       │   ├── ContactsListAdapter.kt
│       │   │           │       │   └── models/
│       │   │           │       │       └── Contact.kt
│       │   │           │       ├── forgot_password/
│       │   │           │       │   └── ForgotPasswordActivity.kt
│       │   │           │       ├── login/
│       │   │           │       │   └── LoginActivity.kt
│       │   │           │       ├── main/
│       │   │           │       │   └── MainActivity.kt
│       │   │           │       └── splash/
│       │   │           │           └── SplashActivity.kt
│       │   │           └── utils/
│       │   │               └── ktx.kt
│       │   └── res/
│       │       ├── drawable/
│       │       │   ├── background_message_partner.xml
│       │       │   ├── background_message_sender.xml
│       │       │   ├── ic_chat_white.xml
│       │       │   ├── ic_launcher_background.xml
│       │       │   ├── ic_more_vert_24dp.xml
│       │       │   ├── ic_search.xml
│       │       │   ├── ic_send.xml
│       │       │   ├── ic_user.xml
│       │       │   └── ic_user_placeholder.xml
│       │       ├── drawable-v24/
│       │       │   └── ic_launcher_foreground.xml
│       │       ├── layout/
│       │       │   ├── activity_chat.xml
│       │       │   ├── activity_contacts.xml
│       │       │   ├── activity_forgot_password.xml
│       │       │   ├── activity_login.xml
│       │       │   ├── activity_main.xml
│       │       │   ├── activity_recent_chats.xml
│       │       │   ├── activity_splash.xml
│       │       │   ├── list_item_contact.xml
│       │       │   ├── list_item_recent_chat.xml
│       │       │   ├── row_message_partner.xml
│       │       │   └── row_message_sender.xml
│       │       ├── menu/
│       │       │   ├── contacts_toolbar_menu.xml
│       │       │   └── recent_chats_toolbar_menu.xml
│       │       ├── mipmap-anydpi-v26/
│       │       │   ├── ic_launcher.xml
│       │       │   └── ic_launcher_round.xml
│       │       └── values/
│       │           ├── colors.xml
│       │           ├── dimens.xml
│       │           ├── strings.xml
│       │           └── styles.xml
│       └── test/
│           └── java/
│               └── com/
│                   └── chatair_android/
│                       └── ExampleUnitTest.kt
├── build.gradle
├── designs/
│   └── ChatAir Ui.xd
├── gradle/
│   └── wrapper/
│       ├── gradle-wrapper.jar
│       └── gradle-wrapper.properties
├── gradle.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
Condensed preview — 67 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (133K chars).
[
  {
    "path": ".github/pull_request_template.md",
    "chars": 856,
    "preview": "## Description\n- Description of issue\n- Output before solved\n- Changes in Issue\n- Output of solved issue\n\n## Type of Cha"
  },
  {
    "path": ".gitignore",
    "chars": 208,
    "preview": "*.iml\n.gradle\n/local.properties\n/.idea/caches\n/.idea/libraries\n/.idea/modules.xml\n/.idea/workspace.xml\n/.idea/navEditor."
  },
  {
    "path": ".idea/codeStyles/Project.xml",
    "chars": 4761,
    "preview": "<component name=\"ProjectCodeStyleConfiguration\">\n  <code_scheme name=\"Project\" version=\"173\">\n    <JetCodeStyleSettings>"
  },
  {
    "path": ".idea/codeStyles/codeStyleConfig.xml",
    "chars": 215,
    "preview": "<component name=\"ProjectCodeStyleConfiguration\">\n  <state>\n    <option name=\"USE_PER_PROJECT_SETTINGS\" value=\"true\" />\n "
  },
  {
    "path": ".idea/dbnavigator.xml",
    "chars": 22614,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n  <component name=\"DBNavigator.Project.DataEditorManager\">\n"
  },
  {
    "path": ".idea/gradle.xml",
    "chars": 748,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n  <component name=\"GradleMigrationSettings\" migrationVersio"
  },
  {
    "path": ".idea/misc.xml",
    "chars": 515,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n  <component name=\"CMakeSettings\">\n    <configurations>\n   "
  },
  {
    "path": ".idea/runConfigurations.xml",
    "chars": 564,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n  <component name=\"RunConfigurationProducerService\">\n    <o"
  },
  {
    "path": ".idea/vcs.xml",
    "chars": 180,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n  <component name=\"VcsDirectoryMappings\">\n    <mapping dire"
  },
  {
    "path": "CONTRIBUTING.md",
    "chars": 2032,
    "preview": "# Contributing Guidelines\n\n### Submitting Code and Documentation Changes\nOur process for accepting changes operates by ["
  },
  {
    "path": "LICENSE",
    "chars": 11357,
    "preview": "                                 Apache License\n                           Version 2.0, January 2004\n                   "
  },
  {
    "path": "README.md",
    "chars": 3659,
    "preview": "![](https://raw.githubusercontent.com/ChatAir/ChatAir-Android/master/images/ChatAir_Logo.jpg)\n\n# ChatAir\nA highly advanc"
  },
  {
    "path": "app/.gitignore",
    "chars": 7,
    "preview": "/build\n"
  },
  {
    "path": "app/build.gradle",
    "chars": 1395,
    "preview": "apply plugin: 'com.android.application'\n\napply plugin: 'kotlin-android'\n\napply plugin: 'kotlin-android-extensions'\n\nandr"
  },
  {
    "path": "app/proguard-rules.pro",
    "chars": 751,
    "preview": "# Add project specific ProGuard rules here.\n# You can control the set of applied configuration files using the\n# proguar"
  },
  {
    "path": "app/src/androidTest/java/com/chatair_android/ExampleInstrumentedTest.kt",
    "chars": 666,
    "preview": "package com.chatair_android\n\nimport androidx.test.platform.app.InstrumentationRegistry\nimport androidx.test.ext.junit.ru"
  },
  {
    "path": "app/src/main/AndroidManifest.xml",
    "chars": 1380,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:to"
  },
  {
    "path": "app/src/main/java/com/chatair_android/ui/screens/chat/model/Chat.kt",
    "chars": 106,
    "preview": "package com.chatair_android.ui.screens.chat\n\ndata class Chat(val name: String, val messageSnippet: String)"
  },
  {
    "path": "app/src/main/java/com/chatair_android/ui/screens/chat/recent/OnItemClickListener.kt",
    "chars": 168,
    "preview": "package com.chatair_android.ui.screens.chat.recent\n\nimport com.chatair_android.ui.screens.chat.Chat\n\ninterface OnItemCli"
  },
  {
    "path": "app/src/main/java/com/chatair_android/ui/screens/chat/recent/RecentChatsActivity.kt",
    "chars": 2301,
    "preview": "package com.chatair_android.ui.screens.chat.recent\n\nimport android.os.Bundle\nimport android.util.Log\nimport android.view"
  },
  {
    "path": "app/src/main/java/com/chatair_android/ui/screens/chat/recent/RecentChatsListAdapter.kt",
    "chars": 1484,
    "preview": "package com.chatair_android.ui.screens.chat.recent\n\nimport android.view.LayoutInflater\nimport android.view.View\nimport a"
  },
  {
    "path": "app/src/main/java/com/chatair_android/ui/screens/contacts/ContactsActivity.kt",
    "chars": 1827,
    "preview": "package com.chatair_android.ui.screens.contacts\n\nimport android.app.SearchManager\nimport android.content.Context\nimport "
  },
  {
    "path": "app/src/main/java/com/chatair_android/ui/screens/contacts/ContactsListAdapter.kt",
    "chars": 1261,
    "preview": "package com.chatair_android.ui.screens.contacts\n\nimport android.view.LayoutInflater\nimport android.view.View\nimport andr"
  },
  {
    "path": "app/src/main/java/com/chatair_android/ui/screens/contacts/models/Contact.kt",
    "chars": 112,
    "preview": "package com.chatair_android.ui.screens.contacts.models\n\ndata class Contact(val name: String, val status: String)"
  },
  {
    "path": "app/src/main/java/com/chatair_android/ui/screens/forgot_password/ForgotPasswordActivity.kt",
    "chars": 618,
    "preview": "package com.chatair_android.ui.screens.forgot_password\n\nimport androidx.appcompat.app.AppCompatActivity\nimport android.o"
  },
  {
    "path": "app/src/main/java/com/chatair_android/ui/screens/login/LoginActivity.kt",
    "chars": 350,
    "preview": "package com.chatair_android.ui.screens.login\n\nimport androidx.appcompat.app.AppCompatActivity\nimport android.os.Bundle\ni"
  },
  {
    "path": "app/src/main/java/com/chatair_android/ui/screens/main/MainActivity.kt",
    "chars": 334,
    "preview": "package com.chatair_android.ui.screens.main\n\nimport androidx.appcompat.app.AppCompatActivity\nimport android.os.Bundle\nim"
  },
  {
    "path": "app/src/main/java/com/chatair_android/ui/screens/splash/SplashActivity.kt",
    "chars": 799,
    "preview": "package com.chatair_android.ui.screens.splash\n\nimport androidx.appcompat.app.AppCompatActivity\nimport android.os.Bundle\n"
  },
  {
    "path": "app/src/main/java/com/chatair_android/utils/ktx.kt",
    "chars": 397,
    "preview": "package com.chatair_android.utils\n\nimport android.content.Context\nimport android.content.Intent\nimport android.widget.To"
  },
  {
    "path": "app/src/main/res/drawable/background_message_partner.xml",
    "chars": 453,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<shape\n    xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android"
  },
  {
    "path": "app/src/main/res/drawable/background_message_sender.xml",
    "chars": 451,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<shape\n    xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android"
  },
  {
    "path": "app/src/main/res/drawable/ic_chat_white.xml",
    "chars": 1225,
    "preview": "<vector android:height=\"24.027325dp\" android:viewportHeight=\"23.993\"\n    android:viewportWidth=\"29.358\" android:width=\"2"
  },
  {
    "path": "app/src/main/res/drawable/ic_launcher_background.xml",
    "chars": 5606,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<vector xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:wi"
  },
  {
    "path": "app/src/main/res/drawable/ic_more_vert_24dp.xml",
    "chars": 472,
    "preview": "<vector xmlns:android=\"http://schemas.android.com/apk/res/android\"\n        android:width=\"24dp\"\n        android:height=\""
  },
  {
    "path": "app/src/main/res/drawable/ic_search.xml",
    "chars": 697,
    "preview": "<vector android:height=\"15.988539dp\" android:viewportHeight=\"16.74\"\n    android:viewportWidth=\"16.752\" android:width=\"16"
  },
  {
    "path": "app/src/main/res/drawable/ic_send.xml",
    "chars": 665,
    "preview": "<vector xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:width=\"24dp\"\n    android:height=\"24dp\"\n  "
  },
  {
    "path": "app/src/main/res/drawable/ic_user.xml",
    "chars": 812,
    "preview": "<vector android:height=\"36dp\" android:viewportHeight=\"35.99\"\n    android:viewportWidth=\"40.68\" android:width=\"40.691303d"
  },
  {
    "path": "app/src/main/res/drawable/ic_user_placeholder.xml",
    "chars": 1350,
    "preview": "<vector xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    android:width=\"24dp\"\n    android:height=\"24dp\"\n  "
  },
  {
    "path": "app/src/main/res/drawable-v24/ic_launcher_foreground.xml",
    "chars": 1880,
    "preview": "<vector xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:aapt=\"http://schemas.android.com/aapt\"\n    "
  },
  {
    "path": "app/src/main/res/layout/activity_chat.xml",
    "chars": 2534,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<androidx.constraintlayout.widget.ConstraintLayout\n    android:id=\"@+id/chat_root"
  },
  {
    "path": "app/src/main/res/layout/activity_contacts.xml",
    "chars": 1145,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<androidx.constraintlayout.widget.ConstraintLayout xmlns:android=\"http://schemas."
  },
  {
    "path": "app/src/main/res/layout/activity_forgot_password.xml",
    "chars": 3707,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<androidx.constraintlayout.widget.ConstraintLayout xmlns:android=\"http://schemas."
  },
  {
    "path": "app/src/main/res/layout/activity_login.xml",
    "chars": 6709,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<ScrollView xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:"
  },
  {
    "path": "app/src/main/res/layout/activity_main.xml",
    "chars": 791,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<androidx.constraintlayout.widget.ConstraintLayout xmlns:android=\"http://schemas."
  },
  {
    "path": "app/src/main/res/layout/activity_recent_chats.xml",
    "chars": 1814,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<androidx.constraintlayout.widget.ConstraintLayout xmlns:android=\"http://schemas."
  },
  {
    "path": "app/src/main/res/layout/activity_splash.xml",
    "chars": 2206,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<androidx.constraintlayout.widget.ConstraintLayout xmlns:android=\"http://schemas."
  },
  {
    "path": "app/src/main/res/layout/list_item_contact.xml",
    "chars": 2196,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<androidx.constraintlayout.widget.ConstraintLayout xmlns:android=\"http://schemas."
  },
  {
    "path": "app/src/main/res/layout/list_item_recent_chat.xml",
    "chars": 2340,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<androidx.constraintlayout.widget.ConstraintLayout\n    xmlns:android=\"http://sche"
  },
  {
    "path": "app/src/main/res/layout/row_message_partner.xml",
    "chars": 274,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<TextView\n    android:id=\"@+id/message_partner_text\"\n    xmlns:android=\"http://sc"
  },
  {
    "path": "app/src/main/res/layout/row_message_sender.xml",
    "chars": 282,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<TextView\n    android:id=\"@+id/message_partner_text\"\n    xmlns:android=\"http://sc"
  },
  {
    "path": "app/src/main/res/menu/contacts_toolbar_menu.xml",
    "chars": 430,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<menu xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"h"
  },
  {
    "path": "app/src/main/res/menu/recent_chats_toolbar_menu.xml",
    "chars": 590,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<menu xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:app=\"h"
  },
  {
    "path": "app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml",
    "chars": 272,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<adaptive-icon xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <b"
  },
  {
    "path": "app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml",
    "chars": 272,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<adaptive-icon xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <b"
  },
  {
    "path": "app/src/main/res/values/colors.xml",
    "chars": 890,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n    <color name=\"colorPrimary\">#1C9EDA</color>\n    <color name=\"color"
  },
  {
    "path": "app/src/main/res/values/dimens.xml",
    "chars": 1131,
    "preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n\n    <!-- Margin -->\n    <dimen name=\"marginExtraSmall\">4dp</dimen>\n "
  },
  {
    "path": "app/src/main/res/values/strings.xml",
    "chars": 1245,
    "preview": "<resources>\n    <string name=\"app_name\">ChatAir-android</string>\n    <string name=\"text_chatAir\">ChatAir</string>\n\n    <"
  },
  {
    "path": "app/src/main/res/values/styles.xml",
    "chars": 8056,
    "preview": "<resources xmlns:tools=\"http://schemas.android.com/tools\">\n\n    <!-- Base application theme. -->\n    <style name=\"AppThe"
  },
  {
    "path": "app/src/test/java/com/chatair_android/ExampleUnitTest.kt",
    "chars": 344,
    "preview": "package com.chatair_android\n\nimport org.junit.Test\n\nimport org.junit.Assert.*\n\n/**\n * Example local unit test, which wil"
  },
  {
    "path": "build.gradle",
    "chars": 645,
    "preview": "// Top-level build file where you can add configuration options common to all sub-projects/modules.\n\nbuildscript {\n    e"
  },
  {
    "path": "gradle/wrapper/gradle-wrapper.properties",
    "chars": 232,
    "preview": "#Sun Sep 29 21:22:16 PKT 2019\ndistributionBase=GRADLE_USER_HOME\ndistributionPath=wrapper/dists\nzipStoreBase=GRADLE_USER_"
  },
  {
    "path": "gradle.properties",
    "chars": 1163,
    "preview": "# Project-wide Gradle settings.\n# IDE (e.g. Android Studio) users:\n# Gradle settings configured through the IDE *will ov"
  },
  {
    "path": "gradlew",
    "chars": 5296,
    "preview": "#!/usr/bin/env sh\n\n##############################################################################\n##\n##  Gradle start up"
  },
  {
    "path": "gradlew.bat",
    "chars": 2176,
    "preview": "@if \"%DEBUG%\" == \"\" @echo off\n@rem ##########################################################################\n@rem\n@rem "
  },
  {
    "path": "settings.gradle",
    "chars": 50,
    "preview": "include ':app'\nrootProject.name='ChatAir-android'\n"
  }
]

// ... and 2 more files (download for full content)

About this extraction

This page contains the full source code of the ChatAir/ChatAir-android GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 67 files (119.2 KB), approximately 33.2k tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!