text:
require 'spec_helper'
require 'pdk/cli'

describe 'Running `pdk new module`' do
  subject { PDK::CLI.instance_variable_get(:@new_module_cmd) }

  context 'when not passed a module name' do
    context 'and run without --skip-interview' do
      it 'continues to module interview' do
        expect(PDK::Generate::Module).to receive(:invoke)
        expect(logger).to receive(:info).with(%r{Creating new module:})
        PDK::CLI.run(%w[new module])
      end

      it 'submits the command to analytics' do
        allow(PDK::Generate::Module).to receive(:invoke)

        expect(analytics).to receive(:screen_view).with(
          'new_module',
          output_format: 'default',
          ruby_version: RUBY_VERSION,
        )

        PDK::CLI.run(%w[new module])
      end
    end

    context 'and run with --skip-interview' do
      it 'exits with an error' do
        expect(logger).to receive(:error).with(%r{must specify a module name}i)

        expect { PDK::CLI.run(%w[new module --skip-interview]) }.to exit_nonzero
      end

      it 'submits the command to analytics' do
        expect(analytics).to receive(:screen_view).with(
          'new_module',
          cli_options:   'skip-interview=true',
          output_format: 'default',
          ruby_version:  RUBY_VERSION,
        )

        expect { PDK::CLI.run(%w[new module --skip-interview]) }.to exit_nonzero
      end
    end
  end

  context 'when passed an invalid module name' do
    it 'informs the user that the module name is invalid' do
      expect(logger).to receive(:error).with(a_string_matching(%r{'123test'.*not.*valid module name}m))

      expect { PDK::CLI.run(%w[new module 123test]) }.to exit_nonzero
    end

    # Unlike most other commands, the validation of parameters does not happen
    # at the CLI layer as they can be later modified during the interview.
    # FIXME - extract validation logic so module name can be validated here if
    # specified
    it 'submits the command to analytics' do
      expect(analytics).to receive(:screen_view).with(
        'new_module',
        output_format: 'default',
        ruby_version:  RUBY_VERSION,
      )

      expect { PDK::CLI.run(%w[new module 123test]) }.to exit_nonzero
    end
  end

  context 'when passed a valid module name' do
    let(:module_name) { 'test123' }

    it 'validates the module name' do
      expect(PDK::Generate::Module).to receive(:invoke).with(hash_including(module_name: module_name))
      expect(logger).to receive(:info).with("Creating new module: #{module_name}")
      PDK::CLI.run(['new', 'module', module_name])
    end

    it 'submits the command to analytics' do
      allow(PDK::Generate::Module).to receive(:invoke)

      expect(analytics).to receive(:screen_view).with(
        'new_module',
        output_format: 'default',
        ruby_version:  RUBY_VERSION,
      )

      PDK::CLI.run(['new', 'module', module_name])
    end

    context 'and a target directory' do
      let(:target_dir) { 'target' }

      it 'passes the target directory to PDK::Generate::Module.invoke' do
        expect(PDK::Generate::Module).to receive(:invoke).with(hash_including(module_name: module_name, target_dir: target_dir))
        expect(logger).to receive(:info).with("Creating new module: #{module_name}")
        PDK::CLI.run(['new', 'module', module_name, target_dir])
      end

      it 'submits the command to analytics' do
        allow(PDK::Generate::Module).to receive(:invoke)

        expect(analytics).to receive(:screen_view).with(
          'new_module',
          output_format: 'default',
          ruby_version:  RUBY_VERSION,
        )

        PDK::CLI.run(['new', 'module', module_name, target_dir])
      end
    end

    context 'and the template-url option' do
      let(:template_url) { 'https://github.com/myuser/my-pdk-template' }

      it 'passes the value of the template-url option to PDK::Generate::Module.invoke' do
        expect(PDK::Generate::Module).to receive(:invoke).with(hash_including(:'template-url' => template_url))
        expect(logger).to receive(:info).with("Creating new module: #{module_name}")
        PDK::CLI.run(['new', 'module', '--template-url', template_url, module_name])
      end

      it 'submits the command to analytics' do
        allow(PDK::Generate::Module).to receive(:invoke)

        expect(analytics).to receive(:screen_view).with(
          'new_module',
          cli_options:   'template-url=redacted',
          output_format: 'default',
          ruby_version:  RUBY_VERSION,
        )

        PDK::CLI.run(['new', 'module', '--template-url', template_url, module_name])
      end
    end

    context 'and the template-ref without the template-url option' do
      let(:template_ref) { '1.0.0' }

      it 'does not invoke PDK::Generate::Module' do
        expect(PDK::Generate::Module).not_to receive(:invoke)
        expect { PDK::CLI.run(['new', 'module', '--template-ref', template_ref, module_name]) }.to exit_nonzero
      end

      it 'does not submit a command to analytics' do
        expect(analytics).not_to receive(:screen_view)

        expect { PDK::CLI.run(['new', 'module', '--template-ref', template_ref, module_name]) }.to exit_nonzero
      end
    end

    context 'and the license option' do
      let(:license) { 'MIT' }

      it 'passes the value of the license option to PDK::Generate::Module.invoke' do
        expect(PDK::Generate::Module).to receive(:invoke).with(hash_including(license: license))
        expect(logger).to receive(:info).with("Creating new module: #{module_name}")
        PDK::CLI.run(['new', 'module', '--license', license, module_name])
      end

      it 'submits the command to analytics' do
        allow(PDK::Generate::Module).to receive(:invoke)

        expect(analytics).to receive(:screen_view).with(
          'new_module',
          cli_options:   'license=redacted',
          output_format: 'default',
          ruby_version:  RUBY_VERSION,
        )

        PDK::CLI.run(['new', 'module', '--license', license, module_name])
      end
    end

    context 'and the skip-interview flag' do
      it 'passes true as the value of the skip-interview option to PDK::Generate::Module.invoke' do
        expect(PDK::Generate::Module).to receive(:invoke).with(hash_including(:'skip-interview' => true))
        expect(logger).to receive(:info).with("Creating new module: #{module_name}")
        PDK::CLI.run(['new', 'module', '--skip-interview', module_name])
      end

      it 'submits the command to analytics' do
        allow(PDK::Generate::Module).to receive(:invoke)

        expect(analytics).to receive(:screen_view).with(
          'new_module',
          cli_options:   'skip-interview=true',
          output_format: 'default',
          ruby_version:  RUBY_VERSION,
        )

        PDK::CLI.run(['new', 'module', '--skip-interview', module_name])
      end
    end

    context 'and the full-interview flag' do
      it 'passes true as the value of the full-interview option to PDK::Generate::Module.invoke' do
        expect(PDK::Generate::Module).to receive(:invoke).with(hash_including(:'full-interview' => true))
        expect(logger).to receive(:info).with("Creating new module: #{module_name}")
        PDK::CLI.run(['new', 'module', '--full-interview', module_name])
      end

      it 'submits the command to analytics' do
        allow(PDK::Generate::Module).to receive(:invoke)

        expect(analytics).to receive(:screen_view).with(
          'new_module',
          cli_options:   'full-interview=true',
          output_format: 'default',
          ruby_version:  RUBY_VERSION,
        )

        PDK::CLI.run(['new', 'module', '--full-interview', module_name])
      end
    end

    context 'and the --skip-interview and --full-interview flags have been passed' do
      it 'ignores full-interview and continues with a log message' do
        expect(logger).to receive(:info).with(a_string_matching(%r{Ignoring --full-interview and continuing with --skip-interview.}i))
        expect(PDK::Generate::Module).to receive(:invoke).with(hash_including(:'skip-interview' => true, :'full-interview' => false))

        PDK::CLI.run(['new', 'module', '--skip-interview', '--full-interview', module_name])
      end

      it 'submits the command to analytics' do
        allow(PDK::Generate::Module).to receive(:invoke)

        expect(analytics).to receive(:screen_view).with(
          'new_module',
          cli_options:   'skip-interview=true,full-interview=true',
          output_format: 'default',
          ruby_version:  RUBY_VERSION,
        )

        PDK::CLI.run(['new', 'module', '--skip-interview', '--full-interview', module_name])
      end
    end
  end

  context 'when passed a module name with a forge user' do
    let(:module_name) { 'user-test123' }

    it 'validates and parses the module name' do
      expect(PDK::Generate::Module).to receive(:invoke).with(hash_including(module_name: 'test123', username: 'user'))
      expect(logger).to receive(:info).with("Creating new module: #{module_name}")
      PDK::CLI.run(['new', 'module', module_name])
    end

    it 'submits the command to analytics' do
      allow(PDK::Generate::Module).to receive(:invoke)

      expect(analytics).to receive(:screen_view).with(
        'new_module',
        output_format: 'default',
        ruby_version:  RUBY_VERSION,
      )

      PDK::CLI.run(['new', 'module', module_name])
    end
  end
end


text:
package fr.avianey.androidsvgdrawable.gradle;

import org.gradle.api.*;

import java.util.Set;

/**
 * Task that generates drawable from Scalable Vector Graphics (SVG) files.
 *
 * @author antoine vianey
 */
public class SvgDrawableGradlePlugin implements Plugin<Project> {

    private static final String ANDROID_PLUGIN_CLASS_REGEXP = "com\\.android\\.build\\.gradle\\.(?:AtomPlugin|FeaturePlugin|InstantAppPlugin|AppPlugin|LibraryPlugin)";

    @Override
    public void apply(Project project) {
        // Verify that Android plugin is applied
        Plugin<?> androidPlugin = null;
        for (Plugin<?> p : project.getPlugins()) {
            if (p.getClass().getCanonicalName().matches(ANDROID_PLUGIN_CLASS_REGEXP)) {
                androidPlugin = p;
                break;
            }
        }
        if (androidPlugin == null) {
            throw new GradleException("AndroidSvgDrawable MUST be used with the Android plugin.");
        }

        // Generate SVG on before Android plugin 'preBuild' task.
        project.afterEvaluate(new Action<Project>() {
            @Override
            public void execute(Project project) {
                Set<Task> preBuildTasks = project.getTasksByName("preBuild", false);
                if (preBuildTasks.isEmpty()) {
                    project.getLogger().error("The Android plugin 'preBuild' task could not be found. Skipping SVG generation...");
                } else {
                    preBuildTasks.iterator().next().dependsOn(project.getTasks().withType(SvgDrawableTask.class));
                }
            }
        });
    }

}

redpajama_set_name: RedPajamaGithub


text:
from .base import BaseVisitorWithContext
from nineml.exceptions import NineMLFoundElementException

class ObjectFinder(BaseVisitorWithContext):

    def __init__(self, ref_obj, container):
        super(ObjectFinder, self).__init__()
        self.ref_obj = ref_obj
        self._found = None
        try:
            self.visit(container)
        except NineMLFoundElementException as e:
            self._found = e

    @property
    def found(self):
        return self._found

    def action(self, obj, nineml_cls, **kwargs):  # @UnusedVariable
        if obj == self.ref_obj:
            raise NineMLFoundElementException(obj, self.context)


text:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Mobile Clinic: CurrentVisitViewController Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>

<link href="search/search.css" rel="stylesheet" type="text/css"/>

<link href="doxygen.css" rel="stylesheet" type="text/css" />

Mobile Clinic
    1.0

Senior Project

Main Page

Related Pages

Data Structures

Files

          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)"
               onblur="searchBox.OnSearchFieldFocus(false)"
               onkeyup="searchBox.OnSearchFieldChange(event)"/>

Data Structures

Data Structure Index

Class Hierarchy

Data Fields

 All Data Structures Functions Properties Pages

Public Member Functions |
Protected Attributes |
Properties

CurrentVisitViewController Class Reference

Inheritance diagram for CurrentVisitViewController:

<map name="_current_visit_view_controller_inherit__map" id="_current_visit_view_controller_inherit__map">
</map>
[legend]

Collaboration diagram for CurrentVisitViewController:

<map name="_current_visit_view_controller_coll__map" id="_current_visit_view_controller_coll__map">
</map>
[legend]

Public Member Functions

(IBAction) 	- checkInButton:

(IBAction) 	- quickCheckOutButton:

(void) 	- setScreenHandler:

(BOOL) 	- validateCheckin

Protected Attributes

ScreenHandler 	handler

NSMutableDictionary * 	currentVisit

Properties

NSMutableDictionary * 	patientData

IBOutlet UITextField * 	patientWeightField

IBOutlet UITextField * 	patientBPField

IBOutlet UITextView * 	conditionsTextbox

The documentation for this class was generated from the following files:

Mobile Clinic/CurrentVisitViewController.h

Mobile Clinic/CurrentVisitViewController.m

<address class="footer">
Generated on Sun Mar 3 2013 20:57:26 for Mobile Clinic by

 1.8.1.1
</address>


text:
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="AndroidConfiguredLogFilters">
    <filters>
      <filter>
        <option name="name" value="app: com.day04.homework01" />
        <option name="packageNamePattern" value="com.day04.homework01" />
      </filter>
    </filters>
  </component>
  <component name="AndroidLayouts">
    <shared>
      <config>
        <target>android-22</target>
      </config>
    </shared>
    <layouts>
      <layout url="file://$PROJECT_DIR$/res/layout/activity_splash.xml">
        <config>
          <theme>@android:style/Theme.Holo</theme>
        </config>
      </layout>
    </layouts>
  </component>
  <component name="AndroidLogFilters">
    <option name="TOOL_WINDOW_LOG_LEVEL" value="ERROR" />
  </component>
  <component name="ChangeListManager">
    <list default="true" id="d72332e0-4719-4569-9ff7-afc0a8298c1f" name="Default" comment="" />
    <ignored path="day_04_homework01.iws" />
    <ignored path=".idea/workspace.xml" />
    <ignored path="$PROJECT_DIR$/out/" />
    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
    <option name="TRACKING_ENABLED" value="true" />
    <option name="SHOW_DIALOG" value="false" />
    <option name="HIGHLIGHT_CONFLICTS" value="true" />
    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
    <option name="LAST_RESOLUTION" value="IGNORE" />
  </component>
  <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
  <component name="CreatePatchCommitExecutor">
    <option name="PATCH_PATH" value="" />
  </component>
  <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
  <component name="FavoritesManager">
    <favorites_list name="day_04_homework01" />
  </component>
  <component name="FileEditorManager">
    <leaf>
      <file leaf-file-name="SplashActivity.java" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/src/com/day04/homework01/activity/SplashActivity.java">
          <provider selected="true" editor-type-id="text-editor">
            <state vertical-scroll-proportion="0.0">
              <caret line="49" column="43" selection-start-line="49" selection-start-column="43" selection-end-line="49" selection-end-column="43" />
              <folding>
                <element signature="e#1080#1760#0" expanded="true" />
                <element signature="e#1759#1760#0" expanded="true" />
              </folding>
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="XmlUtil.java" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/src/com/day04/homework01/util/XmlUtil.java">
          <provider selected="true" editor-type-id="text-editor">
            <state vertical-scroll-proportion="0.0">
              <caret line="96" column="32" selection-start-line="96" selection-start-column="32" selection-end-line="96" selection-end-column="32" />
              <folding>
                <element signature="imports" expanded="true" />
              </folding>
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="HomeworkDB.java" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/src/com/day04/homework01/db/HomeworkDB.java">
          <provider selected="true" editor-type-id="text-editor">
            <state vertical-scroll-proportion="0.0">
              <caret line="70" column="46" selection-start-line="70" selection-start-column="46" selection-end-line="70" selection-end-column="46" />
              <folding>
                <element signature="imports" expanded="true" />
                <element signature="e#2225#2226#0" expanded="true" />
                <element signature="e#2262#2263#0" expanded="true" />
                <element signature="e#2297#2298#0" expanded="true" />
                <element signature="e#2332#2333#0" expanded="true" />
              </folding>
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="DBOpenHelper.java" pinned="false" current-in-tab="true">
        <entry file="file://$PROJECT_DIR$/src/com/day04/homework01/db/DBOpenHelper.java">
          <provider selected="true" editor-type-id="text-editor">
            <state vertical-scroll-proportion="0.7741935">
              <caret line="27" column="0" selection-start-line="27" selection-start-column="0" selection-end-line="28" selection-end-column="0" />
              <folding />
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="citys_weather.xml" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/res/xml/citys_weather.xml">
          <provider selected="true" editor-type-id="text-editor">
            <state vertical-scroll-proportion="0.0">
              <caret line="12" column="38" selection-start-line="12" selection-start-column="38" selection-end-line="12" selection-end-column="38" />
              <folding />
            </state>
          </provider>
        </entry>
      </file>
    </leaf>
  </component>
  <component name="FileTemplateManagerImpl">
    <option name="RECENT_TEMPLATES">
      <list>
        <option value="Activity" />
        <option value="Fragment" />
        <option value="layoutResourceFile_vertical" />
        <option value="valueResourceFile" />
        <option value="Class" />
      </list>
    </option>
  </component>
  <component name="GradleLocalSettings">
    <option name="externalProjectsViewState">
      <projects_view />
    </option>
  </component>
  <component name="IdeDocumentHistory">
    <option name="CHANGED_PATHS">
      <list>
        <option value="$PROJECT_DIR$/AndroidManifest.xml" />
        <option value="$PROJECT_DIR$/res/layout/activity_splash.xml" />
        <option value="$PROJECT_DIR$/res/layout/fragment_bookmark.xml" />
        <option value="$PROJECT_DIR$/res/layout/fragment_weather.xml" />
        <option value="$PROJECT_DIR$/res/layout/fragment_news.xml" />
        <option value="$PROJECT_DIR$/res/layout/main.xml" />
        <option value="$PROJECT_DIR$/src/com/day04/homework01/fragment/NewsFragment.java" />
        <option value="$PROJECT_DIR$/src/com/day04/homework01/fragment/BookmarkFragment.java" />
        <option value="$PROJECT_DIR$/src/com/day04/homework01/activity/MainActivity.java" />
        <option value="$PROJECT_DIR$/res/values/raw.xml" />
        <option value="$PROJECT_DIR$/src/com/day04/homework01/fragment/WeatherFragment.java" />
        <option value="$PROJECT_DIR$/src/com/day04/homework01/activity/BaseActivity.java" />
        <option value="$PROJECT_DIR$/src/com/day04/homework01/db/CityDB.java" />
        <option value="$PROJECT_DIR$/src/com/day04/homework01/model/Province.java" />
        <option value="$PROJECT_DIR$/src/com/day04/homework01/model/City.java" />
        <option value="$PROJECT_DIR$/src/com/day04/homework01/model/District.java" />
        <option value="$PROJECT_DIR$/src/com/day04/homework01/util/XmlUtil.java" />
        <option value="$PROJECT_DIR$/src/com/day04/homework01/db/HomeworkDB.java" />
        <option value="$PROJECT_DIR$/src/com/day04/homework01/activity/SplashActivity.java" />
        <option value="$PROJECT_DIR$/src/com/day04/homework01/db/DBOpenHelper.java" />
      </list>
    </option>
  </component>
  <component name="NamedScopeManager">
    <order />
  </component>
  <component name="ProjectFrameBounds">
    <option name="x" value="3" />
    <option name="y" value="-3" />
    <option name="width" value="1448" />
    <option name="height" value="878" />
  </component>
  <component name="ProjectLevelVcsManager" settingsEditedManually="false">
    <OptionsSetting value="true" id="Add" />
    <OptionsSetting value="true" id="Remove" />
    <OptionsSetting value="true" id="Checkout" />
    <OptionsSetting value="true" id="Update" />
    <OptionsSetting value="true" id="Status" />
    <OptionsSetting value="true" id="Edit" />
    <ConfirmationsSetting value="0" id="Add" />
    <ConfirmationsSetting value="0" id="Remove" />
  </component>
  <component name="ProjectView">
    <navigator currentView="ProjectPane" proportions="" version="1">
      <flattenPackages />
      <showMembers />
      <showModules />
      <showLibraryContents />
      <hideEmptyPackages />
      <abbreviatePackageNames />
      <autoscrollToSource />
      <autoscrollFromSource />
      <sortByType />
    </navigator>
    <panes>
      <pane id="Scope" />
      <pane id="Scratches" />
      <pane id="PackagesPane" />
      <pane id="ProjectPane">
        <subPane>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="day_04_homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="day_04_homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="day_04_homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="day_04_homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="day_04_homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="src" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="util" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="day_04_homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="day_04_homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="src" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="model" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="day_04_homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="day_04_homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="src" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="fragment" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="day_04_homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="day_04_homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="src" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="db" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="day_04_homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="day_04_homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="src" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="day_04_homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="day_04_homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="src" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="activity" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="day_04_homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="day_04_homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="res" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="xml" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="day_04_homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="day_04_homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="res" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="values" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="day_04_homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="day_04_homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="res" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="layout" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="day_04_homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="day_04_homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="res" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="day_04_homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="day_04_homework01" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="libs" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
        </subPane>
      </pane>
    </panes>
  </component>
  <component name="PropertiesComponent">
    <property name="settings.editor.selected.configurable" value="File.Encoding" />
    <property name="settings.editor.splitter.proportion" value="0.2" />
    <property name="recentsLimit" value="5" />
    <property name="restartRequiresConfirmation" value="true" />
    <property name="ANDROID_EXTENDED_DEVICE_CHOOSER_SERIALS" value="192.168.19.101:5555" />
    <property name="OverrideImplement.combined" value="true" />
    <property name="OverrideImplement.overriding.sorted" value="false" />
    <property name="last_opened_file_path" value="$PROJECT_DIR$/../../sdk/extras/android/support/v4/src/java" />
    <property name="project.structure.last.edited" value="Modules" />
    <property name="project.structure.proportion" value="0.0" />
    <property name="project.structure.side.proportion" value="0.0" />
  </component>
  <component name="RecentsManager">
    <key name="CopyFile.RECENT_KEYS">
      <recent name="D:\android\workspace2\day_04_homework01\res\raw" />
      <recent name="D:\android\workspace2\day_04_homework01\libs" />
      <recent name="D:\android\workspace2\day_04_homework01\res\drawable-hdpi" />
    </key>
  </component>
  <component name="RunManager" selected="Android Application.day_04_homework01">
    <configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
      <module name="" />
      <option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
      <option name="PROGRAM_PARAMETERS" />
      <method />
    </configuration>
    <configuration default="true" type="AndroidRunConfigurationType" factoryName="Android Application">
      <module name="" />
      <option name="ACTIVITY_CLASS" value="" />
      <option name="MODE" value="default_activity" />
      <option name="DEPLOY" value="true" />
      <option name="ARTIFACT_NAME" value="" />
      <option name="TARGET_SELECTION_MODE" value="EMULATOR" />
      <option name="USE_LAST_SELECTED_DEVICE" value="false" />
      <option name="PREFERRED_AVD" value="" />
      <option name="USE_COMMAND_LINE" value="true" />
      <option name="COMMAND_LINE" value="" />
      <option name="WIPE_USER_DATA" value="false" />
      <option name="DISABLE_BOOT_ANIMATION" value="false" />
      <option name="NETWORK_SPEED" value="full" />
      <option name="NETWORK_LATENCY" value="none" />
      <option name="CLEAR_LOGCAT" value="false" />
      <option name="SHOW_LOGCAT_AUTOMATICALLY" value="true" />
      <option name="FILTER_LOGCAT_AUTOMATICALLY" value="true" />
      <method />
    </configuration>
    <configuration default="true" type="AndroidTestRunConfigurationType" factoryName="Android Tests">
      <module name="" />
      <option name="TESTING_TYPE" value="0" />
      <option name="INSTRUMENTATION_RUNNER_CLASS" value="" />
      <option name="METHOD_NAME" value="" />
      <option name="CLASS_NAME" value="" />
      <option name="PACKAGE_NAME" value="" />
      <option name="TARGET_SELECTION_MODE" value="EMULATOR" />
      <option name="USE_LAST_SELECTED_DEVICE" value="false" />
      <option name="PREFERRED_AVD" value="" />
      <option name="USE_COMMAND_LINE" value="true" />
      <option name="COMMAND_LINE" value="" />
      <option name="WIPE_USER_DATA" value="false" />
      <option name="DISABLE_BOOT_ANIMATION" value="false" />
      <option name="NETWORK_SPEED" value="full" />
      <option name="NETWORK_LATENCY" value="none" />
      <option name="CLEAR_LOGCAT" value="false" />
      <option name="SHOW_LOGCAT_AUTOMATICALLY" value="true" />
      <option name="FILTER_LOGCAT_AUTOMATICALLY" value="true" />
      <method />
    </configuration>
    <configuration default="true" type="Applet" factoryName="Applet">
      <option name="WIDTH" value="400" />
      <option name="HEIGHT" value="300" />
      <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
      <module />
      <method />
    </configuration>
    <configuration default="true" type="Application" factoryName="Application">
      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
      <option name="MAIN_CLASS_NAME" />
      <option name="VM_PARAMETERS" />
      <option name="PROGRAM_PARAMETERS" />
      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
      <option name="ALTERNATIVE_JRE_PATH" />
      <option name="ENABLE_SWING_INSPECTOR" value="false" />
      <option name="ENV_VARIABLES" />
      <option name="PASS_PARENT_ENVS" value="true" />
      <module name="" />
      <envs />
      <method />
    </configuration>
    <configuration default="true" type="GradleRunConfiguration" factoryName="Gradle">
      <ExternalSystemSettings>
        <option name="executionName" />
        <option name="externalProjectPath" />
        <option name="externalSystemIdString" value="GRADLE" />
        <option name="scriptParameters" />
        <option name="taskDescriptions">
          <list />
        </option>
        <option name="taskNames">
          <list />
        </option>
        <option name="vmOptions" />
      </ExternalSystemSettings>
      <method />
    </configuration>
    <configuration default="true" type="JUnit" factoryName="JUnit">
      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
      <module name="" />
      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
      <option name="ALTERNATIVE_JRE_PATH" />
      <option name="PACKAGE_NAME" />
      <option name="MAIN_CLASS_NAME" />
      <option name="METHOD_NAME" />
      <option name="TEST_OBJECT" value="class" />
      <option name="VM_PARAMETERS" value="-ea" />
      <option name="PARAMETERS" />
      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
      <option name="ENV_VARIABLES" />
      <option name="PASS_PARENT_ENVS" value="true" />
      <option name="TEST_SEARCH_SCOPE">
        <value defaultName="singleModule" />
      </option>
      <envs />
      <patterns />
      <method />
    </configuration>
    <configuration default="true" type="JarApplication" factoryName="JAR Application">
      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
      <envs />
      <method />
    </configuration>
    <configuration default="true" type="Remote" factoryName="Remote">
      <option name="USE_SOCKET_TRANSPORT" value="true" />
      <option name="SERVER_MODE" value="false" />
      <option name="SHMEM_ADDRESS" value="javadebug" />
      <option name="HOST" value="localhost" />
      <option name="PORT" value="5005" />
      <method />
    </configuration>
    <configuration default="true" type="TestNG" factoryName="TestNG">
      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
      <module name="" />
      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
      <option name="ALTERNATIVE_JRE_PATH" />
      <option name="SUITE_NAME" />
      <option name="PACKAGE_NAME" />
      <option name="MAIN_CLASS_NAME" />
      <option name="METHOD_NAME" />
      <option name="GROUP_NAME" />
      <option name="TEST_OBJECT" value="CLASS" />
      <option name="VM_PARAMETERS" value="-ea" />
      <option name="PARAMETERS" />
      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
      <option name="OUTPUT_DIRECTORY" />
      <option name="ANNOTATION_TYPE" />
      <option name="ENV_VARIABLES" />
      <option name="PASS_PARENT_ENVS" value="true" />
      <option name="TEST_SEARCH_SCOPE">
        <value defaultName="singleModule" />
      </option>
      <option name="USE_DEFAULT_REPORTERS" value="false" />
      <option name="PROPERTIES_FILE" />
      <envs />
      <properties />
      <listeners />
      <method />
    </configuration>
    <configuration default="false" name="day_04_homework01" type="AndroidRunConfigurationType" factoryName="Android Application">
      <module name="day_04_homework01" />
      <option name="ACTIVITY_CLASS" value="com.day04.homework01.activity.MainActivity" />
      <option name="MODE" value="default_activity" />
      <option name="DEPLOY" value="true" />
      <option name="ARTIFACT_NAME" value="" />
      <option name="TARGET_SELECTION_MODE" value="SHOW_DIALOG" />
      <option name="USE_LAST_SELECTED_DEVICE" value="false" />
      <option name="PREFERRED_AVD" value="" />
      <option name="USE_COMMAND_LINE" value="true" />
      <option name="COMMAND_LINE" value="" />
      <option name="WIPE_USER_DATA" value="false" />
      <option name="DISABLE_BOOT_ANIMATION" value="false" />
      <option name="NETWORK_SPEED" value="full" />
      <option name="NETWORK_LATENCY" value="none" />
      <option name="CLEAR_LOGCAT" value="false" />
      <option name="SHOW_LOGCAT_AUTOMATICALLY" value="true" />
      <option name="FILTER_LOGCAT_AUTOMATICALLY" value="true" />
      <method />
    </configuration>
    <list size="1">
      <item index="0" class="java.lang.String" itemvalue="Android Application.day_04_homework01" />
    </list>
  </component>
  <component name="ShelveChangesManager" show_recycled="false" />
  <component name="SvnConfiguration">
    <configuration />
  </component>
  <component name="TaskManager">
    <task active="true" id="Default" summary="Default task">
      <changelist id="d72332e0-4719-4569-9ff7-afc0a8298c1f" name="Default" comment="" />
      <created>1435311292820</created>
      <option name="number" value="Default" />
      <updated>1435311292820</updated>
    </task>
    <servers />
  </component>
  <component name="ToolWindowManager">
    <frame x="3" y="-3" width="1448" height="878" extended-state="0" />
    <editor active="false" />
    <layout>
      <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="13" side_tool="false" content_ui="tabs" />
      <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32784638" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
      <window_info id="Build Variants" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.24964234" sideWeight="0.5176991" order="3" side_tool="true" content_ui="tabs" />
      <window_info id="Palette	" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
      <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="true" content_ui="tabs" />
      <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
      <window_info id="Documentation" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="FLOATING" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" x="96" y="96" width="1248" height="678" />
      <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
      <window_info id="Preview" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.22603719" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
      <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32784638" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
      <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
      <window_info id="Android" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.5377229" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
      <window_info id="Designer" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24964234" sideWeight="0.48230088" order="4" side_tool="false" content_ui="combo" />
      <window_info id="Memory Monitor" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="true" content_ui="tabs" />
      <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
      <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
      <window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
      <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
      <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="11" side_tool="false" content_ui="tabs" />
      <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="6" side_tool="false" content_ui="combo" />
      <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
      <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
      <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="12" side_tool="false" content_ui="tabs" />
    </layout>
  </component>
  <component name="VcsContentAnnotationSettings">
    <option name="myLimit" value="2678400000" />
  </component>
  <component name="XDebuggerManager">
    <breakpoint-manager />
    <watches-manager />
  </component>
  <component name="antWorkspaceConfiguration">
    <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
    <option name="FILTER_TARGETS" value="false" />
  </component>
  <component name="editorHistoryManager">
    <entry file="file://$PROJECT_DIR$/res/drawable-hdpi/ic_launcher.jpg">
      <provider selected="true" editor-type-id="images">
        <state />
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/AndroidManifest.xml">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.36285096">
          <caret line="8" column="16" selection-start-line="8" selection-start-column="16" selection-end-line="8" selection-end-column="16" />
          <folding>
            <element signature="e#316#334#0" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/../../sdk/sources/android-22/android/os/Message.java">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0">
          <caret line="113" column="42" selection-start-line="113" selection-start-column="29" selection-end-line="113" selection-end-column="42" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/res/layout/fragment_bookmark.xml">
      <provider editor-type-id="android-designer">
        <state />
      </provider>
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.33793104">
          <caret line="7" column="31" selection-start-line="7" selection-start-column="31" selection-end-line="7" selection-end-column="31" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/com/day04/homework01/activity/MainActivity.java">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="3.9935205">
          <caret line="111" column="42" selection-start-line="111" selection-start-column="42" selection-end-line="111" selection-end-column="42" />
          <folding>
            <element signature="e#1743#1744#0" expanded="true" />
            <element signature="e#1784#1785#0" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/res/layout/main.xml">
      <provider editor-type-id="android-designer">
        <state />
      </provider>
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.53103447">
          <caret line="11" column="41" selection-start-line="11" selection-start-column="41" selection-end-line="11" selection-end-column="41" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/res/layout/fragment_news.xml">
      <provider editor-type-id="android-designer">
        <state />
      </provider>
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.3862069">
          <caret line="8" column="28" selection-start-line="8" selection-start-column="28" selection-end-line="8" selection-end-column="28" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/res/layout/fragment_weather.xml">
      <provider editor-type-id="android-designer">
        <state />
      </provider>
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.33793104">
          <caret line="7" column="40" selection-start-line="7" selection-start-column="40" selection-end-line="7" selection-end-column="40" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/com/day04/homework01/activity/BaseActivity.java">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.2987805">
          <caret line="7" column="29" selection-start-line="7" selection-start-column="29" selection-end-line="7" selection-end-column="29" />
          <folding>
            <element signature="imports" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/com/day04/homework01/fragment/NewsFragment.java">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.103658535">
          <caret line="4" column="35" selection-start-line="4" selection-start-column="35" selection-end-line="4" selection-end-column="35" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/com/day04/homework01/fragment/BookmarkFragment.java">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.27439025">
          <caret line="8" column="0" selection-start-line="8" selection-start-column="0" selection-end-line="8" selection-end-column="0" />
          <folding>
            <element signature="imports" expanded="false" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/res/layout/activity_splash.xml">
      <provider editor-type-id="android-designer">
        <state />
      </provider>
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.32112068">
          <caret line="15" column="14" selection-start-line="15" selection-start-column="14" selection-end-line="15" selection-end-column="14" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/com/day04/homework01/fragment/WeatherFragment.java">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.5304878">
          <caret line="15" column="13" selection-start-line="15" selection-start-column="13" selection-end-line="15" selection-end-column="13" />
          <folding>
            <element signature="imports" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/com/day04/homework01/model/Province.java">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.38414633">
          <caret line="9" column="19" selection-start-line="9" selection-start-column="19" selection-end-line="9" selection-end-column="19" />
          <folding>
            <element signature="e#259#260#0" expanded="true" />
            <element signature="e#284#285#0" expanded="true" />
            <element signature="e#317#318#0" expanded="true" />
            <element signature="e#345#346#0" expanded="true" />
            <element signature="e#384#385#0" expanded="true" />
            <element signature="e#419#420#0" expanded="true" />
            <element signature="e#475#476#0" expanded="true" />
            <element signature="e#523#524#0" expanded="true" />
            <element signature="e#562#563#0" expanded="true" />
            <element signature="e#597#598#0" expanded="true" />
            <element signature="e#653#654#0" expanded="true" />
            <element signature="e#701#702#0" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/com/day04/homework01/model/District.java">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.44512194">
          <caret line="47" column="28" selection-start-line="47" selection-start-column="28" selection-end-line="47" selection-end-column="28" />
          <folding>
            <element signature="e#288#289#0" expanded="true" />
            <element signature="e#313#314#0" expanded="true" />
            <element signature="e#346#347#0" expanded="true" />
            <element signature="e#374#375#0" expanded="true" />
            <element signature="e#413#414#0" expanded="true" />
            <element signature="e#448#449#0" expanded="true" />
            <element signature="e#504#505#0" expanded="true" />
            <element signature="e#552#553#0" expanded="true" />
            <element signature="e#591#592#0" expanded="true" />
            <element signature="e#626#627#0" expanded="true" />
            <element signature="e#682#683#0" expanded="true" />
            <element signature="e#730#731#0" expanded="true" />
            <element signature="e#765#766#0" expanded="true" />
            <element signature="e#796#797#0" expanded="true" />
            <element signature="e#844#845#0" expanded="true" />
            <element signature="e#884#885#0" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/com/day04/homework01/model/City.java">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.40243903">
          <caret line="46" column="18" selection-start-line="46" selection-start-column="18" selection-end-line="46" selection-end-column="18" />
          <folding>
            <element signature="e#280#281#0" expanded="true" />
            <element signature="e#305#306#0" expanded="true" />
            <element signature="e#338#339#0" expanded="true" />
            <element signature="e#366#367#0" expanded="true" />
            <element signature="e#401#402#0" expanded="true" />
            <element signature="e#432#433#0" expanded="true" />
            <element signature="e#480#481#0" expanded="true" />
            <element signature="e#520#521#0" expanded="true" />
            <element signature="e#555#556#0" expanded="true" />
            <element signature="e#586#587#0" expanded="true" />
            <element signature="e#634#635#0" expanded="true" />
            <element signature="e#674#675#0" expanded="true" />
            <element signature="e#713#714#0" expanded="true" />
            <element signature="e#748#749#0" expanded="true" />
            <element signature="e#804#805#0" expanded="true" />
            <element signature="e#852#853#0" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/../../sdk/sources/android-22/android/view/ContextThemeWrapper.java">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.33333334">
          <caret line="68" column="21" selection-start-line="68" selection-start-column="21" selection-end-line="68" selection-end-column="21" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/res/xml/citys_weather.xml">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0">
          <caret line="12" column="38" selection-start-line="12" selection-start-column="38" selection-end-line="12" selection-end-column="38" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/com/day04/homework01/util/XmlUtil.java">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0">
          <caret line="96" column="32" selection-start-line="96" selection-start-column="32" selection-end-line="96" selection-end-column="32" />
          <folding>
            <element signature="imports" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/com/day04/homework01/activity/SplashActivity.java">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0">
          <caret line="49" column="43" selection-start-line="49" selection-start-column="43" selection-end-line="49" selection-end-column="43" />
          <folding>
            <element signature="e#1080#1760#0" expanded="true" />
            <element signature="e#1759#1760#0" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/com/day04/homework01/db/HomeworkDB.java">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0">
          <caret line="70" column="46" selection-start-line="70" selection-start-column="46" selection-end-line="70" selection-end-column="46" />
          <folding>
            <element signature="imports" expanded="true" />
            <element signature="e#2225#2226#0" expanded="true" />
            <element signature="e#2262#2263#0" expanded="true" />
            <element signature="e#2297#2298#0" expanded="true" />
            <element signature="e#2332#2333#0" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/com/day04/homework01/db/DBOpenHelper.java">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.7741935">
          <caret line="27" column="0" selection-start-line="27" selection-start-column="0" selection-end-line="28" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
  </component>
  <component name="masterDetails">
    <states>
      <state key="ArtifactsStructureConfigurable.UI">
        <settings>
          <artifact-editor />
          <splitter-proportions>
            <option name="proportions">
              <list>
                <option value="0.2" />
              </list>
            </option>
          </splitter-proportions>
        </settings>
      </state>
      <state key="FacetStructureConfigurable.UI">
        <settings>
          <last-edited>Android</last-edited>
          <splitter-proportions>
            <option name="proportions">
              <list>
                <option value="0.2" />
              </list>
            </option>
          </splitter-proportions>
        </settings>
      </state>
      <state key="GlobalLibrariesConfigurable.UI">
        <settings>
          <splitter-proportions>
            <option name="proportions">
              <list>
                <option value="0.2" />
              </list>
            </option>
          </splitter-proportions>
        </settings>
      </state>
      <state key="JdkListConfigurable.UI">
        <settings>
          <last-edited>1.7</last-edited>
          <splitter-proportions>
            <option name="proportions">
              <list>
                <option value="0.2" />
              </list>
            </option>
          </splitter-proportions>
        </settings>
      </state>
      <state key="ModuleStructureConfigurable.UI">
        <settings>
          <last-edited>day_04_homework01</last-edited>
          <splitter-proportions>
            <option name="proportions">
              <list>
                <option value="0.2" />
              </list>
            </option>
          </splitter-proportions>
        </settings>
      </state>
      <state key="ProjectLibrariesConfigurable.UI">
        <settings>
          <splitter-proportions>
            <option name="proportions">
              <list>
                <option value="0.2" />
              </list>
            </option>
          </splitter-proportions>
        </settings>
      </state>
    </states>
  </component>
</project>


text:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:id="@+id/rlProfileItem"
                xmlns:android="http://schemas.android.com/apk/res/android"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:background="?attr/selectableItemBackground"
                android:clickable="true"
                android:orientation="vertical"
                android:paddingBottom="@dimen/rv_profile_item_padding_bottom"
                android:paddingLeft="@dimen/rv_profile_item_padding_left"
                android:paddingRight="@dimen/rv_profile_item_padding_rigth"
                android:paddingTop="@dimen/rv_profile_item_padding_top">

    <!--android:layout_marginTop="12dp"-->
    <ImageView
        android:id="@+id/ivPhoto"
        android:layout_width="90dp"
        android:layout_height="90dp"
        android:layout_marginLeft="12dp"
        android:layout_marginTop="11dp"
        android:layout_centerVertical="true"/>

    <TextView
        android:id="@+id/unreadMessages"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignTop="@+id/ivPhoto"
        android:layout_marginLeft="-24dp"
        android:layout_marginTop="6dp"
        android:layout_toRightOf="@+id/ivPhoto"
        android:background="?attr/unreadMessages"
        android:gravity="center"
        android:textColor="@color/material_white"
        android:textSize="16sp"/>

    <RelativeLayout
        android:id="@+id/rlProfileInfoContainer"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_alignTop="@+id/ivPhoto"
        android:layout_marginLeft="15dp"
        android:layout_marginStart="15dp"
        android:layout_toRightOf="@+id/ivPhoto">

        <TextView
            android:id="@+id/tvName"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentLeft="true"
            android:layout_alignParentStart="true"
            android:layout_alignParentTop="true"
            android:layout_marginRight="@dimen/rv_profile_item_tv_padding_right"
            android:layout_toLeftOf="@+id/favourites"
            android:layout_toStartOf="@+id/favourites"
            android:ellipsize="end"
            android:gravity="center_vertical"
            android:maxLines="2"
            android:textColor="?attr/colorPrimaryDark"
            android:textSize="20sp"/>

        <TextView
            android:id="@+id/tvStatus"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignEnd="@+id/tvName"
            android:layout_alignParentLeft="true"
            android:layout_alignParentStart="true"
            android:layout_alignRight="@+id/tvName"
            android:layout_below="@+id/tvName"
            android:paddingTop="4dp"
            android:layout_marginRight="@dimen/rv_profile_item_tv_padding_right"
            android:ellipsize="end"
            android:maxLines="2"
            android:textColor="@color/material_black"
            android:textSize="14sp"/>

        <RelativeLayout
            android:id="@+id/favourites"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentRight="true"
            android:layout_alignParentTop="true">

            <ImageButton
                android:id="@+id/ibFavourite"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:background="?attr/selectableItemBackgroundBorderless"
                android:clickable="false"
                android:src="?attr/star"
                android:visibility="visible"/>

            <ProgressBar
                android:id="@+id/pgNotReady"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:indeterminate="true"
                android:layout_margin="5dp"
                android:visibility="visible"/>

            <ImageButton
                android:id="@+id/ibNotFavourite"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:background="?attr/selectableItemBackgroundBorderless"
                android:src="?attr/starOutline"/>

        </RelativeLayout>

        <ImageButton
            android:id="@+id/ibBlock"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignLeft="@+id/favourites"
            android:layout_alignParentEnd="true"
            android:layout_alignParentRight="true"
            android:layout_alignStart="@+id/favourites"
            android:layout_below="@+id/favourites"
            android:background="?attr/selectableItemBackgroundBorderless"
            android:src="@drawable/ic_action_block_user"/>

        <RelativeLayout
            android:id="@+id/statusStats"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingTop="4dp"
            android:layout_alignParentLeft="true"
            android:layout_alignParentRight="false"
            android:layout_alignParentStart="true"
            android:layout_below="@+id/tvStatus">

            <RelativeLayout
                android:id="@+id/rlFriends"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:background="?attr/selectableItemBackgroundBorderless"
                android:paddingBottom="6dp"
                android:paddingTop="6dp">

                <ImageView
                    android:id="@+id/friendsIcon"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:src="?attr/friendsIcon"/>

                <TextView
                    android:id="@+id/friendsNumber"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginTop="-2dp"
                    android:layout_toRightOf="@+id/friendsIcon"
                    android:paddingLeft="6dp"
                    android:textColor="?attr/colorPrimaryDark"
                    android:textSize="20sp"/>

            </RelativeLayout>

            <RelativeLayout
                android:id="@+id/rlLikes"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_toRightOf="@+id/rlFriends"
                android:background="?attr/selectableItemBackgroundBorderless"
                android:paddingBottom="6dp"
                android:paddingLeft="12dp"
                android:paddingTop="6dp">

                <ImageView
                    android:id="@+id/likeIcon"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:src="?attr/iconLikes"/>

                <TextView
                    android:id="@+id/likesNumber"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginTop="-2dp"
                    android:layout_toRightOf="@+id/likeIcon"
                    android:paddingLeft="6dp"
                    android:textColor="?attr/colorPrimaryDark"
                    android:textSize="20sp"/>

            </RelativeLayout>

            <RelativeLayout
                android:id="@+id/rlComments"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_toRightOf="@+id/rlLikes"
                android:background="?attr/selectableItemBackgroundBorderless"
                android:paddingBottom="6dp"
                android:paddingLeft="12dp"
                android:paddingRight="12dp"
                android:paddingTop="6dp">

                <ImageView
                    android:id="@+id/commentIcon"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:src="?attr/iconComments"/>

                <TextView
                    android:id="@+id/commentsNumber"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginTop="-2dp"
                    android:layout_toRightOf="@+id/commentIcon"
                    android:paddingLeft="6dp"
                    android:textColor="?attr/colorPrimaryDark"
                    android:textSize="20sp"/>

            </RelativeLayout>

            <ImageButton
                android:id="@+id/ibRemoveFavourite"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentRight="true"
                android:background="?attr/selectableItemBackgroundBorderless"
                android:paddingBottom="5dp"
                android:paddingLeft="6dp"
                android:paddingRight="6dp"
                android:paddingTop="3dp"
                android:src="@drawable/ic_action_remove_user"
                android:visibility="gone"/>

        </RelativeLayout>

    </RelativeLayout>

    <RelativeLayout
        android:id="@+id/divider"
        android:layout_width="match_parent"
        android:layout_height="1dp"
        android:layout_alignParentBottom="true"
        android:background="@color/material_grey_200"/>

</RelativeLayout>


text:
/* imports and fonts imports */
@import url("polls-pack.css");

/* General */
html { height: 100%; font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { height: 100%; text-align: center; margin: 0; padding: 0; font-size: 13px; line-height: 1.231; min-width: 1000px; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

.cf:before, .cf:after { content: ""; display: table; }
.cf:after { clear: both; }
.cf { zoom: 1; }

.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
h1, h2, h3, h4, h5, h6 { padding: 0; margin: 0; }
a, a:active, a:visited { color: #033b73; }
a:hover, a:active { outline: 0; color: #fb3038; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/* Normalization of fonts */
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

/* Font styles */
body,
#nav_items_0 li:hover ul li a,
#nav_items_0 li.over ul li a,
#address { font-family: 'Fira Sans', sans-serif; }
#pageNav, #pageNav ul li a, #quicklinks a, #nav_items_0 li a, #motto { font-family: 'Fira Sans', sans-serif; }

/* Site Styles */
#wrapper, #wrapper-index { position: relative; margin: 0 auto; width: 100%; min-width: 1000px; height: 100%; min-height: 100%; height: auto!important; text-align: left;background: url('') no-repeat;}

.inside { width: 1000px; margin: 0 auto; }
#wrapper .content { position: relative; margin: 0 auto; background: purple;}
#wrapper .content .inside { width: 958px; padding: 20px; line-height: 20px; background: #fff; border-left: 1px solid #eee7dd; border-right: 1px solid #eee7dd;}
#wrapper .content .inside, #wrapper .neutral, #wrapper table {color: #363636 !important; font-size: 15px !important; font-family: 'Fira Sans', sans-serif !important;}
.content { width: 1000px; text-align: left; margin: 0 auto; padding: 0 0 0px 0;}
.content .inside { position: relative; min-height: 400px; height: auto!important; height: 400px; padding-bottom: ;}
.pageTitle { width: auto; display: block; height: 40px; padding: 10px 0 0 0; margin-bottom: 20px; font-size: 30px; color: #164b09; position: relative; background: url('pagetitle.png') bottom left repeat-x; font-family: 'Roboto Condensed', sans-serif;}

/* Top */
#top { position: relative; position: relative; top: 0; background: #eee7da; width: 100%; z-index: 10000;}
#top #inner {position: relative; width: 1000px; height: 36px; margin: 0 auto; background: none;}
#tabs { width: 214px; height: 32px; padding: 0; background: none; float: right; position: relative;}
#search { position: absolute; right: -4px; bottom: 0;}
#search form { margin: 0; }
#search #search-field { width: 82px; height: 24px; border: 0; padding: 2px 2px 2px 8px; background: none; font-size: 15px; color: #232328; background: url('search_bg.png') no-repeat; font-family: 'Roboto Condensed', sans-serif;}
#search #search-img { vertical-align: top; margin-top: 0; position: relative; right: 4px;}
.ie6 #search #search-img, .ie7 #search #search-img { margin-top: 0; }
#googleTranslate { opacity:0; filter: alpha(opacity = 0); width: 90px!important; height: 28px; }
#preGoogle { position: absolute; left: 0; bottom: 0; height: 28px!important; display:block; overflow:hidden; background:url('translate.png') no-repeat top left ; border:0; }

/* quicklinks */
#quicklinks h2 { width: 0; height: 0; }
#quicklinks { background: none; padding-bottom: 0; width: 550px; height: 36px; left: 147px; position: absolute;}
#quicklinks ul { list-style: none; margin: 0; padding: 0; }
#quicklinks li { list-style: none; display: inline; float: left; margin: 0 padding: 0; }
#quicklinks a { height: 14px; text-decoration: none; padding: 11px 19px; margin: 0; display: block; color: #062e22; background: none; font-size: 15px; text-align: center; position: relative; z-index: 0; font-family: 'Fira Sans', sans-serif; font-weight: 500; text-transform: uppercase;}
#quicklinks a:hover { background: #164B09; color: #fff; }

/* Header */
#header { position: relative; top: 0; z-index: 9999; width: 100%; background: none; height: 170px; }
#header .inside { position: relative; height: 114px; background: url('header_inside.jpg') top right no-repeat; }
#header-name {position: absolute; top: 23px; left: 152px; background: url('header_name.png') no-repeat; width: 464px; height: 68px; }
#top .logo { width: 147px; height: 150px; background: url('header_logo.png') no-repeat; position: absolute; top: 0; left: -11px;}
#motto { position: absolute; right: 55px; top: 100px; color: #4b5f6d; font-size: 20px; text-shadow: 1px 1px #fff; font-weight: bold; }

/* Navigation menu */
#menu { width: 100%; height: 50px; z-index: 10; margin: 0 auto; background: #164b09; position: relative; top: 0; border-bottom: 6px solid #916218; }
#menu h2 { width: 0; height: 0; }
#nav_items_0 { list-style: none; margin: 0; padding: 0; float: right; right: 50%; position: relative; z-index: 9999; }
#nav_items_0 li { list-style: none; display: inline; float: left; left: 50%; position: relative; z-index: 9999; padding: 0; }

#nav_items_0 li a { white-space: nowrap; width: 0; height: 24px; display: block; text-align: center; padding: 13px 8px; font-size: 20px; letter-spacing: 0.3px; text-decoration: none; color: #fff; font-weight: 400; font-family: 'Roboto Condensed', sans-serif;}
#nav_items_0 > li a { width: auto; white-space: normal; }
#nav_items_0 li:hover a, #nav_items_0 li.over a { color: #fff; background: #916218; }

.nav_item_last {background: none !important;}
.nav_item_last ul {left: -88px !important;}

/* Drop down items */
#nav_items_0 ul,
#nav_items_0 li:hover ul ul, #nav_items_0 li.over ul ul,
#nav_items_0 li:hover ul ul ul, #nav_items_0 li.over ul ul ul,
#nav_items_0 li:hover ul ul ul ul, #nav_items_0 li.over ul ul ul ul { position: absolute; right: auto; left: -9999em; top: -9999em; z-index: 9999; width: 184px; margin: 0; padding: 0; font-size: 12px;}
#nav_items_0 ul li { margin: 0; left: auto; }
#nav_items_0 li:hover ul, #nav_items_0 li.over ul { left: auto; top: auto; background: none; }

#nav_items_0 ul li:hover ul, #nav_items_0 ul li.over ul,
#nav_items_0 ul ul li:hover ul, #nav_items_0 ul ul li.over ul,
#nav_items_0 ul ul ul li:hover ul, #nav_items_0 ul ul ul li.over ul { position: absolute; top: 0; left: 100%; }

/* Drop down items colors and formatting */
#nav_items_0 li:hover ul li a, #nav_items_0 li.over ul li a { line-height: 16pt; text-align: left; text-decoration: none; padding: 6px 8px; height: auto; width: 176px;font-size: 13px; letter-spacing: normal; white-space: normal; text-transform: none; text-shadow: none; font-variant: normal;}

#nav_items_0 li:hover ul li a, #nav_items_0 li.over ul li a,
#nav_items_0 li ul li:hover ul a, #nav_items_0 li ul li.over ul a,
#nav_items_0 li ul li ul li:hover ul a, #nav_items_0 li ul li ul li.over ul a,
#nav_items_0 li ul li ul li ul li:hover ul a, #nav_items_0 li ul li ul li ul li.over ul a { color: #fff; background: #916218; }

#nav_items_0 li ul li a:hover,
#nav_items_0 li ul li:hover a, #nav_items_0 li ul li.over a,
#nav_items_0 li ul li:hover ul a:hover, #nav_items_0 li ul li.over ul a:hover,
#nav_items_0 li ul li ul li:hover a, #nav_items_0 li ul li ul li.over a,
#nav_items_0 li ul li ul li:hover ul a:hover, #nav_items_0 li ul li ul li.over ul a:hover,
#nav_items_0 li ul li ul li ul li:hover a, #nav_items_0 li ul li ul li ul li.over a,
#nav_items_0 li ul li ul li ul li:hover ul a:hover, #nav_items_0 li ul li ul li ul li.over ul a:hover { color: #fff; background: #164b09; }

li.nav_items_0  { padding-right: 2px!important; background: url('topnav_sep.png') no-repeat right 0; }

nav#menu ul li span.nav_icon { display: none; }

#nav_items_0 li a bdi:after, #nav_items_0 li a li a bdi:after, #nav_items_0 li a li a li a bdi:after{ content: " \2192";}

/* Index properties */
#index-wrapper {  }
#index-top, #columns { width: 1000px; position: relative;}
#index-top { margin: 0 auto 0; height: 422px; background: none;}
#columns { width: 1000px; padding: 20px 0 0 0; margin: 0; position: relative; background: #fff; border-left: 1px solid #eee7dd; border-right: 1px solid #eee7dd; }
#left-column {margin-left: 19px; width: 610px; margin-right: 10px; position: relative; float: left; display: inline-block;}
#right-column {margin-left: 10px; width: 330px; margin-right: 10px; position: relative; float: left; display: inline-block;}

/* Image shuffles */
.nivoSlider {border-bottom: 2px solid #9a9691 !important;}

/* Mission */
#mission {position: relative; display: block; width: 610px; height: 96px; background: url('mission-.png') no-repeat; margin-bottom: 20px; font-weight: 400; font-family: 'Roboto Condensed', sans-serif;}
#mission p {position: relative; display: block; padding: 0; margin: 0; color: #fff; font-size: 17px; font-style: italic; line-height: 20px; text-align: center; padding: 17px 0px;}
#mission a {position: relative; text-transform: uppercase; font-style: normal; color: #ffcb00; font-size: 16px; text-decoration: none;}
#mission a:hover {text-decoration: underline;}

/* Homepage Sections */
section { margin-bottom: 10px; position: relative; }

/* Homepage Section Headers */
#wrapper-index .content section h2 {  }
#wrapper-index .content section h2 a { width: auto;height: 38px; font-size: 30px; text-decoration: none; font-weight: normal; margin: 0; padding: 0 0 0 10px;  color: #164b09; display: block; }

#wrapper-index .content #left-column section h2 a {background: url('left_column_section_title.png') bottom left no-repeat;}
#wrapper-index .content #right-column section h2 a {background: url('right_column_section_title.png') bottom left no-repeat;}

/* Homepage Sections Containers */
.container {position: relative; margin-top: 0; padding: 20px 0; background: #fff; color: #363636; font-size: 15px; font-family: 'Fira Sans', sans-serif; }
#news .container, #bulletin .container {padding-top: 10px;}

/* Links */
#links {position: relative; display: block; margin-bottom: 20px;}
#links ul {position: relative; display: block; padding: 0; margin: 0;}
#links ul li {position: relative; display: block; padding: 0; margin: 5px 0 0 0; list-style: none;}
#links ul li a {position: relative; display: block; padding: 0 0 0 20px; margin: 0; height: 49px; width: auto; text-decoration: none; text-transform: uppercase; background-image: url('links_bg.png'); background-repeat: no-repeat; color: #fff; font-size: 27px; line-height: 47px; font-family: 'Roboto Condensed', sans-serif;}
#links ul li:first-child {margin-top: 0}
#link-1 a {background-position: 0 0; text-shadow: 1px 1px #0c3b02;}
#link-2 a {background-position: 0 -53px; text-shadow: 1px 1px #a77103; }
#link-3 a {background-position: 0 -108px; text-shadow: 1px 1px #46280a;}
#link-4 a {background-position: 0 -163px; text-shadow: 1px 1px #1d1d1d;}
#links ul li a:hover {opacity: .8;}

#links li ul {padding: 10px 0; background: #164b09; display: none; }
#links li:hover ul {display: block;}
#links li li {margin: 0;}
#links li li a {background: url('top_bull.png') center left no-repeat #164b09; font-size: 17px; text-shadow: none; font-family: 'Fira Sans', sans-serif; text-transform: none; padding: 10px 0 10px 35px; height: 20px; line-height: 20px}
#links li li a:hover {color: #ffcb00;}

/* Events */
#events .container {padding-left: 10px; padding-left; padding-right: 10px;}
#events #hp-events .v3 .dayInfoWrap {border: 1px solid #eee7dd; border-radius:  0 !important; padding: 0 !important; color: #916218; text-transform: uppercase; background: url('date.png') no-repeat; width: 40px; height: 48px;}
#events #hp-events .v3 span.month {font-size: 14px; padding-top: 4px; margin-bottom: -6px;}
#events #hp-events .v3 span.day {font-size: 28px;  font-family: 'Roboto Condensed', sans-serif; }
#events #hp-events .v3 ul {padding-left: 58px;}
#events #hp-events ul li.event div {color: #363636; font-size: 15px; font-family: 'Fira Sans', sans-serif; }
#events #hp-events ul li.event div a {color: #164b09; text-decoration: none; font-weight: 500; font-size: 17px; }
#events #hp-events .hpeventlinks div a {display: block; margin-top: 5px; text-decoration: none; border-left: 6px solid #ffcc00; height: 20px; color: #b15c1a; font-style: italic; font-family: 'Noto Serif', serif; padding-left: 10px; font-weight: 400;}

/* Featured Video */
.HPVideo {margin-bottom: 20px; position: relative;}
.HPVideo h2 a {width: auto;height: 38px; font-size: 30px; text-decoration: none; font-weight: normal; margin: 0; padding: 0 0 0 10px;  color: #164b09; display: block; background: url('right_column_section_title.png') bottom left no-repeat;}
.HPVideo .videowrapper {position: relative; margin-top: 0; padding: 0 0 1px; background: #fff;}
.HPVideo p {padding: 0; margin: 0;}
.HPVideo p a {text-align: center; text-decoration: none; height: 36px; display: block; line-height: 36px; background: #164b09; font-weight: 400; font-size: 17px; color: #fff;}

/* Spotlight */
#spotlight3404wrapper {margin-bottom: 20px; position: relative;}
#spotlight3404wrapper h2 a {width: auto;height: 38px; font-size: 30px; text-decoration: none; font-weight: normal; margin: 0; padding: 0 0 0 10px;  color: #164b09; display: block; background: url('right_column_section_title.png') bottom left no-repeat;}
#spotlight3404wrapper #spotlight3404 {position: relative; margin: 0; padding: 0 0 1px; background: none;}
#spotlight3404wrapper #spotlight3404 a {text-decoration: none; background: url('spotlight_bg.png') repeat; display: block; height: 160px; margin-bottom: 10px;}
#spotlight3404wrapper div#spotlight3404 div.imgWrapper {overflow: hidden; border: 0; box-shadow: none; float: left; padding: 0;}
#spotlight3404wrapper div#spotlight3404 h3 {margin: 0 auto; text-align: left; color: #fff; font-family: 'Roboto Condensed', sans-serif; font-size: 28px; font-weight: 400; float: left; width: 130px; padding-left: 15px;line-height: 32px; padding-top: 80px; text-transform: uppercase;}

/* News */
#wrapper-index .content #news table tr:nth-child(even) #r  {background: #f6f1ea;}
#wrapper-index .content #news table #r {padding: 10px;}

/* Homepage Section Table Includes */
#wrapper-index .content table { width: 100%; padding: 0; margin: 0; }

/* Other homepage section extras */
.dark {background-color: #164B09 !important; color: #fff !important;}
.light {background-color: #fdfafa !important; }
.dark a, .dark a:visited, .dark a:link, .dark a:hover, .dark a:active {color: #fff !important;}

#wrapper-index .content table { color: #363636; font-size: 15px; font-family: 'Fira Sans', sans-serif; }
#wrapper-index .content section table a { color: #164b09; text-decoration: none; font-weight: 500; font-size: 17px; }
#wrapper-index .content table #l { padding-top: 10px; } /* Put Display None if you want to hide bullet */
#wrapper-index .content #news table #l {display: none;}
#wrapper-index .content table #r { border-bottom: 0; padding: 10px 0 10px 0; }
#wrapper-index .content table #r b a { display: block; margin-top: 5px; text-decoration: none; border-left: 6px solid #ffcc00; height: 20px; color: #b15c1a; font-style: italic; font-family: 'Noto Serif', serif; padding-left: 10px; }

.autoCalendarLinks td, #showAll-0, #showAll-hpbbmessages #r, #showAll-hplinks #r, #showAll-0 #r { border-bottom: 0!important; padding-left: 0!important; padding-bottom: 0!important; padding-top: 2px!important; }

#wrapper-index .content table tr:first-child td, .autoCalendarLinks, #showAll-0, #showAll-hplinks #r, #showAll-0 #r { border-left: 0!important; }

#wrapper-index .content table tr:last-child td { border-bottom: 0!important; }

/* Quick Poll */
.HPQuickpoll h2 { display: none; }
.HPQuickPoll .bar-color { background-color: #003270; } /* results bar color */
.HPQuickPoll .results, .HPQuickPoll .choices, .HPQuickPoll .results_only { margin: 0 auto; width: 70%; }

/* Side Image */
img.sub {border:0;}
#wrapper img.sub {margin-left: 20px;}

/* Page navigation */
#pageNav { border: 0; font-size: 14px; position: relative; background: url('pagenav.jpg') repeat #000; margin-left: 20px;}
#pageNav ul, #pageNav ul li { list-style: none; line-height: 16px; }
#pageNav ul { padding: 15px 0 0!important; margin: 0 auto!important; width: 250px;  height: auto!important;  }
#pageNav ul li { padding: 0 0 8px!important; margin: 0 0 8px!important; zoom: 1; /* important for IE6 */ }
#pageNav td img { display: none; }
#pageNav ul li a, #pageNav ul li b {  min-height: 20px;text-decoration: none; padding: 8px 30px 8px 20px; margin: 0; display: block; font-size: 20px; text-align: left; position: relative; z-index: 0; font-family: 'Roboto Condensed', sans-serif;
font-weight: 400; line-height: 24px;}
#pageNav ul li b,#pageNav ul li a:hover { background: url('pagenav_hover.png') right center no-repeat #20740c; color: #fff; }
#pageNav ul li a { text-decoration: none; color: #fff; background: none; }

/* Footer */
#footer { width: 100%; position: relative; bottom: 0; text-align: left; background: #252525; height: 234px;}
#footer #wrap {position: relative; width: 100%; background: #164b09; border-top: 6px solid #916218; border-bottom: 6px solid #175607; }
#footer .inside { height: 185px; margin-top: 0; position: relative; }
#footer #name { position: absolute; width: 403px; height: 39px; background: url('footer_name.png') no-repeat; left: 173px; top: 24px; }
#logo { width: 156px; height: 156px; background: url('footer_logo.png'); position: absolute; left: -5px; top: 12px; }
#address { color: #fff; padding: 0 0 0 0; margin: 0; font-size: 15px; line-height: 18px; position: absolute; left: 178px; top: 76px; text-shadow: 0 0 2px #0c2a05; }
#social {position: absolute; width: 180px; height: 30px; left: 178px; top: 130px;}
#social a {position: relative; display: inline-block; float: left; height: 30px; width: 30px; background-image: url('social_sprite.png'); background-repeat: no-repeat; margin-right: 4px;}
#facebook {background-position: 0 0;}
#twitter {background-position: -34px 0;}
#youtube {background-position: -72px 0;}
#instagram {background-position: -108px 0;}
#google-plus {background-position: -144px 0;}
#social a:hover {opacity: .8;}
#footer-links {position: absolute; width: 250px; height: 185px; left: 750px; top: 0;}
#footer-links ul {position: relative; display: block; padding: 23px 0 0 0; margin: 0;}
#footer-links li {position: relative; display: block; padding: 0 0 0 10px; margin: 0; list-style: none; float: left; width: 105px;}
#footer-links li a {position: relative; display: block; padding: 4px 0; margin: 0; color: #ffcb00; font-size: 16px; text-decoration: none;}
#footer-links li a:hover {color: #fff;}
#edunet { width: 189px; height: 26px; background: url('edunet.png') no-repeat; position: absolute; left: 406px; top: 197px; }


text:
package br.copacabana;

import java.lang.reflect.Type;

import com.google.appengine.api.datastore.Key;
import com.google.appengine.api.datastore.KeyFactory;
import com.google.gson.JsonElement;
import com.google.gson.JsonPrimitive;
import com.google.gson.JsonSerializationContext;
import com.google.gson.JsonSerializer;

public class KeySerializer implements JsonSerializer<Key> {

	public KeySerializer() {

	}

	public JsonElement serialize(Key src, Type typeOfSrc, JsonSerializationContext context) {

		JsonElement json = new JsonPrimitive(KeyFactory.keyToString(src));
		return json;
	}

}


text:
"use strict";

var sbmidi = require("../lib/spacebrew-midi");

// Connect to Spacebrew, passing a callback to run when the connection is ready
sbmidi.connect(function () {
  var port = +process.argv[2] || 0;

  // Passing only a port will start listening for the next two Note On events
  // to use as lower and upper bounds for the added range
  sbmidi.addInputRange(port);

});


text: ©2015 Fira. Site by Antikode.


text:
echo ""
echo "### Documents App Upgrade"
echo ""

if [[ "$USER" != "root" ]]; then
  echo ""
  echo "### Please run this script as root.";
  echo ""
  exit;
fi

CWD=$PWD

cd /opt/documents

echo ""
echo "### Pulling updates from Github repository."
echo ""

# Credits: http://stackoverflow.com/a/13242127
git fetch

for file in `git diff HEAD..origin/master --name-status | awk '/^A/ {print $2}'`
	do rm -f -- "$file"; done

for file in `git diff --name-status | awk '/^[CDMRTUX]/ {print $2}'`
	do git checkout -- "$file"; done

git pull

echo ""
echo "### Upgrading NPM packages."
echo ""

npm update

echo ""
echo "### Upgrading Bower packages."
echo ""

cd pub
#bower update -s --allow-root
bower update -s --allow-root --no-interactive | xargs echo
cd ..

echo ""
echo "### Restarting service."
echo ""

systemctl restart documents

echo ""
echo "### All done."
echo ""

cd $CWD