handling about clicks

This commit is contained in:
mmk2410 2015-02-15 10:04:11 +01:00
parent fb5123ffec
commit 1c47c45ebe
4 changed files with 379 additions and 263 deletions

View file

@ -34,8 +34,10 @@
<option name="TOOL_WINDOW_CONFIGURED_FILTER" value="app: de.marcelkapfer.morseconverter" />
</component>
<component name="ChangeListManager">
<list default="true" id="5f42ecb6-1f27-452b-9bea-873556b497b4" name="Default" comment="">
<list default="true" id="5f42ecb6-1f27-452b-9bea-873556b497b4" name="Default" comment="handling about clicks">
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/app/src/main/java/de/marcelkapfer/morseconverter/MainActivity.java" afterPath="$PROJECT_DIR$/app/src/main/java/de/marcelkapfer/morseconverter/MainActivity.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/app/src/main/res/layout/fragment_about.xml" afterPath="$PROJECT_DIR$/app/src/main/res/layout/fragment_about.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/app/src/main/res/values/styles.xml" afterPath="$PROJECT_DIR$/app/src/main/res/values/styles.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
</list>
<ignored path="Morse Converter.iws" />
@ -59,14 +61,14 @@
</component>
<component name="FileEditorManager">
<leaf>
<file leaf-file-name="MainActivity.java" pinned="false" current="false" current-in-tab="false">
<file leaf-file-name="MainActivity.java" pinned="false" current="true" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/app/src/main/java/de/marcelkapfer/morseconverter/MainActivity.java">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="555">
<caret line="19" column="16" selection-start-line="19" selection-start-column="16" selection-end-line="19" selection-end-column="16" />
<state vertical-scroll-proportion="0.33333334" vertical-offset="158" max-vertical-offset="1860">
<caret line="31" column="10" selection-start-line="31" selection-start-column="10" selection-end-line="31" selection-end-column="10" />
<folding>
<element signature="e#643#678#0" expanded="true" />
<element signature="e#734#763#0" expanded="true" />
<element signature="e#840#875#0" expanded="true" />
<element signature="e#931#960#0" expanded="true" />
</folding>
</state>
</provider>
@ -74,41 +76,34 @@
</file>
<file leaf-file-name="fragment_main.xml" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/fragment_main.xml">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="90" max-vertical-offset="1650">
<caret line="20" column="17" selection-start-line="20" selection-start-column="17" selection-end-line="20" selection-end-column="17" />
<folding />
</state>
</provider>
<provider editor-type-id="android-designer">
<state />
</provider>
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="-8.076923" vertical-offset="90" max-vertical-offset="1650">
<caret line="20" column="17" selection-start-line="20" selection-start-column="17" selection-end-line="20" selection-end-column="17" />
<folding>
<element signature="e#3153#3176#0" expanded="true" />
<element signature="e#3711#3734#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="fragment_morse.xml" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/fragment_morse.xml">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="330" max-vertical-offset="1665">
<caret line="22" column="0" selection-start-line="22" selection-start-column="0" selection-end-line="22" selection-end-column="0" />
<folding />
</state>
</provider>
<provider editor-type-id="android-designer">
<state />
</provider>
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="9.196078" vertical-offset="799" max-vertical-offset="1665">
<caret line="22" column="0" selection-start-line="22" selection-start-column="0" selection-end-line="22" selection-end-column="0" />
<folding>
<element signature="e#2271#2293#0" expanded="true" />
<element signature="e#3153#3176#0" expanded="true" />
<element signature="e#3711#3734#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="build.gradle" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/app/build.gradle">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="-17.4" vertical-offset="0" max-vertical-offset="570">
<state vertical-scroll-proportion="0.0" vertical-offset="435" max-vertical-offset="570">
<caret line="29" column="52" selection-start-line="29" selection-start-column="52" selection-end-line="29" selection-end-column="52" />
<folding />
</state>
@ -118,7 +113,7 @@
<file leaf-file-name="strings.xml" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/app/src/main/res/values/strings.xml">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="-12.44" vertical-offset="364" max-vertical-offset="945">
<state vertical-scroll-proportion="0.0" vertical-offset="675" max-vertical-offset="945">
<caret line="45" column="57" selection-start-line="45" selection-start-column="57" selection-end-line="45" selection-end-column="57" />
<folding />
</state>
@ -128,25 +123,18 @@
<file leaf-file-name="strings.xml" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/app/src/main/res/values-de/strings.xml">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="-17.24" vertical-offset="259" max-vertical-offset="840">
<state vertical-scroll-proportion="0.0" vertical-offset="690" max-vertical-offset="840">
<caret line="46" column="35" selection-start-line="46" selection-start-column="35" selection-end-line="46" selection-end-column="35" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="Translations Editor" pinned="false" current="false" current-in-tab="false">
<entry file="mock:///Translations Editor">
<provider selected="true" editor-type-id="string-resource-editor">
<state />
</provider>
</entry>
</file>
<file leaf-file-name="styles.xml" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/app/src/main/res/values/styles.xml">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="630">
<caret line="33" column="67" selection-start-line="33" selection-start-column="67" selection-end-line="33" selection-end-column="67" />
<state vertical-scroll-proportion="0.0" vertical-offset="24" max-vertical-offset="630">
<caret line="25" column="46" selection-start-line="25" selection-start-column="46" selection-end-line="25" selection-end-column="46" />
<folding />
</state>
</provider>
@ -154,45 +142,45 @@
</file>
<file leaf-file-name="activity_main.xml" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/activity_main.xml">
<provider editor-type-id="android-designer">
<state />
</provider>
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="-0.0" vertical-offset="0" max-vertical-offset="255">
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="255">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="fragment_about.xml" pinned="false" current="true" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/fragment_about.xml">
<provider editor-type-id="android-designer">
<state />
</provider>
</entry>
</file>
<file leaf-file-name="fragment_about.xml" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/fragment_about.xml">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.57239056" vertical-offset="0" max-vertical-offset="2865">
<caret line="34" column="37" selection-start-line="34" selection-start-column="37" selection-end-line="34" selection-end-column="37" />
<state vertical-scroll-proportion="16.346153" vertical-offset="2390" max-vertical-offset="2970">
<caret line="131" column="41" selection-start-line="131" selection-start-column="41" selection-end-line="131" selection-end-column="41" />
<folding>
<element signature="e#1715#1739#0" expanded="true" />
<element signature="e#1984#2006#0" expanded="true" />
<element signature="e#2383#2409#0" expanded="true" />
<element signature="e#2606#2630#0" expanded="true" />
<element signature="e#2956#2980#0" expanded="true" />
<element signature="e#3177#3199#0" expanded="true" />
<element signature="e#3525#3549#0" expanded="true" />
<element signature="e#3746#3768#0" expanded="true" />
<element signature="e#4094#4118#0" expanded="true" />
<element signature="e#4315#4337#0" expanded="true" />
<element signature="e#4663#4683#0" expanded="true" />
<element signature="e#4928#4946#0" expanded="true" />
<element signature="e#5272#5292#0" expanded="true" />
<element signature="e#5537#5555#0" expanded="true" />
<element signature="e#5881#5905#0" expanded="true" />
<element signature="e#6150#6172#0" expanded="true" />
<element signature="e#1762#1786#0" expanded="true" />
<element signature="e#2031#2053#0" expanded="true" />
<element signature="e#2428#2454#0" expanded="true" />
<element signature="e#2651#2675#0" expanded="true" />
<element signature="e#3048#3072#0" expanded="true" />
<element signature="e#3269#3291#0" expanded="true" />
<element signature="e#3664#3688#0" expanded="true" />
<element signature="e#3885#3907#0" expanded="true" />
<element signature="e#4280#4304#0" expanded="true" />
<element signature="e#4501#4523#0" expanded="true" />
<element signature="e#4892#4912#0" expanded="true" />
<element signature="e#5157#5175#0" expanded="true" />
<element signature="e#5546#5566#0" expanded="true" />
<element signature="e#5811#5829#0" expanded="true" />
<element signature="e#6206#6230#0" expanded="true" />
<element signature="e#6475#6497#0" expanded="true" />
</folding>
</state>
</provider>
<provider editor-type-id="android-designer">
<state />
</provider>
</entry>
</file>
</leaf>
@ -816,10 +804,10 @@
<option value="$PROJECT_DIR$/app/src/main/res/layout/fragment_morse.xml" />
<option value="$PROJECT_DIR$/app/build.gradle" />
<option value="$PROJECT_DIR$/app/src/main/res/values/strings.xml" />
<option value="$PROJECT_DIR$/app/src/main/res/values/styles.xml" />
<option value="$PROJECT_DIR$/app/src/main/java/de/marcelkapfer/morseconverter/MainActivity.java" />
<option value="$PROJECT_DIR$/app/src/main/res/values-de/strings.xml" />
<option value="$PROJECT_DIR$/app/src/main/res/values/styles.xml" />
<option value="$PROJECT_DIR$/app/src/main/res/layout/fragment_about.xml" />
<option value="$PROJECT_DIR$/app/src/main/java/de/marcelkapfer/morseconverter/MainActivity.java" />
</list>
</option>
</component>
@ -855,7 +843,8 @@
<sortByType />
</navigator>
<panes>
<pane id="Scope" />
<pane id="ProjectPane" />
<pane id="PackagesPane" />
<pane id="AndroidView">
<subPane>
<PATH>
@ -998,8 +987,7 @@
</PATH>
</subPane>
</pane>
<pane id="ProjectPane" />
<pane id="PackagesPane" />
<pane id="Scope" />
</panes>
</component>
<component name="PropertiesComponent">
@ -1212,15 +1200,39 @@
<created>1423963567259</created>
<updated>1423963567259</updated>
</task>
<option name="localTasksCounter" value="6" />
<task id="LOCAL-00006" summary="Change dp to sp on fonts">
<created>1423963762218</created>
<updated>1423963762218</updated>
</task>
<option name="localTasksCounter" value="7" />
<servers />
</component>
<component name="TodoView" selected-index="4">
<todo-panel id="selected-file">
<are-packages-shown value="false" />
<are-modules-shown value="false" />
<flatten-packages value="false" />
<is-autoscroll-to-source value="true" />
</todo-panel>
<todo-panel id="all">
<are-packages-shown value="true" />
<are-modules-shown value="false" />
<flatten-packages value="false" />
<is-autoscroll-to-source value="true" />
</todo-panel>
<todo-panel id="default-changelist">
<are-packages-shown value="false" />
<are-modules-shown value="false" />
<flatten-packages value="false" />
<is-autoscroll-to-source value="false" />
</todo-panel>
</component>
<component name="ToolWindowManager">
<frame x="1" y="39" width="1918" height="1059" extended-state="6" />
<editor active="true" />
<layout>
<window_info id="Changes" 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="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32944915" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<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="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32838982" sideWeight="0.5" order="7" 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.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
@ -1229,7 +1241,7 @@
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32838982" sideWeight="0.5" order="7" 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="7" side_tool="false" content_ui="tabs" />
<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="3" side_tool="false" content_ui="tabs" />
<window_info id="Preview" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3054371" sideWeight="0.5" order="3" 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.3054371" 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.32944915" 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.32944915" sideWeight="0.5" order="7" 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.32944915" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
@ -1301,7 +1313,9 @@
<MESSAGE value="Better KitKat support" />
<MESSAGE value="Language Support" />
<MESSAGE value="Finishing Materializing" />
<option name="LAST_COMMIT_MESSAGE" value="Finishing Materializing" />
<MESSAGE value="Change dp to sp on fonts" />
<MESSAGE value="handling about clicks" />
<option name="LAST_COMMIT_MESSAGE" value="handling about clicks" />
</component>
<component name="XDebuggerManager">
<breakpoint-manager>
@ -1309,30 +1323,55 @@
</breakpoint-manager>
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/fragment_about.xml">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="570" max-vertical-offset="2865">
<caret line="38" column="12" selection-start-line="38" selection-start-column="12" selection-end-line="38" selection-end-column="12" />
<folding>
<element signature="e#1762#1786#0" expanded="true" />
<element signature="e#2031#2053#0" expanded="true" />
<element signature="e#2428#2454#0" expanded="true" />
<element signature="e#2651#2675#0" expanded="true" />
<element signature="e#3048#3072#0" expanded="true" />
<element signature="e#3269#3291#0" expanded="true" />
<element signature="e#3664#3688#0" expanded="true" />
<element signature="e#3885#3907#0" expanded="true" />
<element signature="e#4280#4304#0" expanded="true" />
<element signature="e#4501#4523#0" expanded="true" />
<element signature="e#4892#4912#0" expanded="true" />
<element signature="e#5157#5175#0" expanded="true" />
<element signature="e#5546#5566#0" expanded="true" />
<element signature="e#5811#5829#0" expanded="true" />
<element signature="e#6206#6230#0" expanded="true" />
<element signature="e#6475#6497#0" expanded="true" />
</folding>
</state>
</provider>
<provider editor-type-id="android-designer">
<state />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/de/marcelkapfer/morseconverter/MainActivity.java">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="495">
<caret line="19" column="37" selection-start-line="19" selection-start-column="37" selection-end-line="19" selection-end-column="37" />
<folding>
<element signature="e#643#678#0" expanded="true" />
<element signature="e#734#763#0" expanded="true" />
<element signature="e#840#875#0" expanded="true" />
<element signature="e#931#960#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/fragment_main.xml">
<provider editor-type-id="android-designer">
<state />
</provider>
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="759" max-vertical-offset="1650">
<caret line="74" column="16" selection-start-line="74" selection-start-column="16" selection-end-line="74" selection-end-column="16" />
<folding>
<element signature="e#3153#3176#0" expanded="true" />
<element signature="e#3711#3734#0" expanded="true" />
</folding>
<folding />
</state>
</provider>
<provider editor-type-id="android-designer">
<state />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/values/strings.xml">
<provider selected="true" editor-type-id="text-editor">
@ -1346,7 +1385,6 @@
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="120" max-vertical-offset="330">
<caret line="8" column="3" selection-start-line="8" selection-start-column="3" selection-end-line="8" selection-end-column="3" />
<folding />
</state>
</provider>
</entry>
@ -1378,56 +1416,55 @@
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="135" max-vertical-offset="345">
<caret line="9" column="29" selection-start-line="9" selection-start-column="29" selection-end-line="9" selection-end-column="29" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/fragment_about.xml">
<provider editor-type-id="android-designer">
<state />
</provider>
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="200" max-vertical-offset="795">
<caret line="22" column="3" selection-start-line="22" selection-start-column="3" selection-end-line="22" selection-end-column="3" />
<folding>
<element signature="e#1715#1739#0" expanded="true" />
<element signature="e#1984#2006#0" expanded="true" />
<element signature="e#2383#2409#0" expanded="true" />
<element signature="e#2606#2630#0" expanded="true" />
<element signature="e#2956#2980#0" expanded="true" />
<element signature="e#3177#3199#0" expanded="true" />
<element signature="e#3525#3549#0" expanded="true" />
<element signature="e#3746#3768#0" expanded="true" />
<element signature="e#4094#4118#0" expanded="true" />
<element signature="e#4315#4337#0" expanded="true" />
<element signature="e#4663#4683#0" expanded="true" />
<element signature="e#4928#4946#0" expanded="true" />
<element signature="e#5272#5292#0" expanded="true" />
<element signature="e#5537#5555#0" expanded="true" />
<element signature="e#5881#5905#0" expanded="true" />
<element signature="e#6150#6172#0" expanded="true" />
<element signature="e#1762#1786#0" expanded="true" />
<element signature="e#2031#2053#0" expanded="true" />
<element signature="e#2428#2454#0" expanded="true" />
<element signature="e#2651#2675#0" expanded="true" />
<element signature="e#3048#3072#0" expanded="true" />
<element signature="e#3269#3291#0" expanded="true" />
<element signature="e#3664#3688#0" expanded="true" />
<element signature="e#3885#3907#0" expanded="true" />
<element signature="e#4280#4304#0" expanded="true" />
<element signature="e#4501#4523#0" expanded="true" />
<element signature="e#4892#4912#0" expanded="true" />
<element signature="e#5157#5175#0" expanded="true" />
<element signature="e#5546#5566#0" expanded="true" />
<element signature="e#5811#5829#0" expanded="true" />
<element signature="e#6206#6230#0" expanded="true" />
<element signature="e#6475#6497#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/activity_main.xml">
<provider editor-type-id="android-designer">
<state />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/activity_main.xml">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="255">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
<provider editor-type-id="android-designer">
<state />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/de/marcelkapfer/morseconverter/MainActivity.java">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="480">
<caret line="16" column="43" selection-start-line="16" selection-start-column="43" selection-end-line="16" selection-end-column="43" />
<folding>
<element signature="e#643#678#0" expanded="true" />
<element signature="e#734#763#0" expanded="true" />
<element signature="e#840#875#0" expanded="true" />
<element signature="e#931#960#0" expanded="true" />
</folding>
</state>
</provider>
@ -1444,7 +1481,6 @@
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="120" max-vertical-offset="330">
<caret line="8" column="3" selection-start-line="8" selection-start-column="3" selection-end-line="8" selection-end-column="3" />
<folding />
</state>
</provider>
</entry>
@ -1476,56 +1512,55 @@
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="135" max-vertical-offset="345">
<caret line="9" column="29" selection-start-line="9" selection-start-column="29" selection-end-line="9" selection-end-column="29" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/fragment_about.xml">
<provider editor-type-id="android-designer">
<state />
</provider>
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="200" max-vertical-offset="795">
<caret line="22" column="3" selection-start-line="22" selection-start-column="3" selection-end-line="22" selection-end-column="3" />
<folding>
<element signature="e#1715#1739#0" expanded="true" />
<element signature="e#1984#2006#0" expanded="true" />
<element signature="e#2383#2409#0" expanded="true" />
<element signature="e#2606#2630#0" expanded="true" />
<element signature="e#2956#2980#0" expanded="true" />
<element signature="e#3177#3199#0" expanded="true" />
<element signature="e#3525#3549#0" expanded="true" />
<element signature="e#3746#3768#0" expanded="true" />
<element signature="e#4094#4118#0" expanded="true" />
<element signature="e#4315#4337#0" expanded="true" />
<element signature="e#4663#4683#0" expanded="true" />
<element signature="e#4928#4946#0" expanded="true" />
<element signature="e#5272#5292#0" expanded="true" />
<element signature="e#5537#5555#0" expanded="true" />
<element signature="e#5881#5905#0" expanded="true" />
<element signature="e#6150#6172#0" expanded="true" />
<element signature="e#1762#1786#0" expanded="true" />
<element signature="e#2031#2053#0" expanded="true" />
<element signature="e#2428#2454#0" expanded="true" />
<element signature="e#2651#2675#0" expanded="true" />
<element signature="e#3048#3072#0" expanded="true" />
<element signature="e#3269#3291#0" expanded="true" />
<element signature="e#3664#3688#0" expanded="true" />
<element signature="e#3885#3907#0" expanded="true" />
<element signature="e#4280#4304#0" expanded="true" />
<element signature="e#4501#4523#0" expanded="true" />
<element signature="e#4892#4912#0" expanded="true" />
<element signature="e#5157#5175#0" expanded="true" />
<element signature="e#5546#5566#0" expanded="true" />
<element signature="e#5811#5829#0" expanded="true" />
<element signature="e#6206#6230#0" expanded="true" />
<element signature="e#6475#6497#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/activity_main.xml">
<provider editor-type-id="android-designer">
<state />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/activity_main.xml">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="255">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
<provider editor-type-id="android-designer">
<state />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/de/marcelkapfer/morseconverter/MainActivity.java">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="390">
<caret line="13" column="88" selection-start-line="13" selection-start-column="88" selection-end-line="13" selection-end-column="88" />
<folding>
<element signature="e#643#678#0" expanded="true" />
<element signature="e#734#763#0" expanded="true" />
<element signature="e#840#875#0" expanded="true" />
<element signature="e#931#960#0" expanded="true" />
</folding>
</state>
</provider>
@ -1547,46 +1582,43 @@
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/fragment_about.xml">
<provider editor-type-id="android-designer">
<state />
</provider>
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="215" max-vertical-offset="795">
<caret line="31" column="23" selection-start-line="31" selection-start-column="23" selection-end-line="31" selection-end-column="23" />
<folding>
<element signature="e#1715#1739#0" expanded="true" />
<element signature="e#1984#2006#0" expanded="true" />
<element signature="e#2383#2409#0" expanded="true" />
<element signature="e#2606#2630#0" expanded="true" />
<element signature="e#2956#2980#0" expanded="true" />
<element signature="e#3177#3199#0" expanded="true" />
<element signature="e#3525#3549#0" expanded="true" />
<element signature="e#3746#3768#0" expanded="true" />
<element signature="e#4094#4118#0" expanded="true" />
<element signature="e#4315#4337#0" expanded="true" />
<element signature="e#4663#4683#0" expanded="true" />
<element signature="e#4928#4946#0" expanded="true" />
<element signature="e#5272#5292#0" expanded="true" />
<element signature="e#5537#5555#0" expanded="true" />
<element signature="e#5881#5905#0" expanded="true" />
<element signature="e#6150#6172#0" expanded="true" />
<element signature="e#1762#1786#0" expanded="true" />
<element signature="e#2031#2053#0" expanded="true" />
<element signature="e#2428#2454#0" expanded="true" />
<element signature="e#2651#2675#0" expanded="true" />
<element signature="e#3048#3072#0" expanded="true" />
<element signature="e#3269#3291#0" expanded="true" />
<element signature="e#3664#3688#0" expanded="true" />
<element signature="e#3885#3907#0" expanded="true" />
<element signature="e#4280#4304#0" expanded="true" />
<element signature="e#4501#4523#0" expanded="true" />
<element signature="e#4892#4912#0" expanded="true" />
<element signature="e#5157#5175#0" expanded="true" />
<element signature="e#5546#5566#0" expanded="true" />
<element signature="e#5811#5829#0" expanded="true" />
<element signature="e#6206#6230#0" expanded="true" />
<element signature="e#6475#6497#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/fragment_main.xml">
<provider editor-type-id="android-designer">
<state />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/fragment_main.xml">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="699" max-vertical-offset="1590">
<caret line="58" column="27" selection-start-line="58" selection-start-column="27" selection-end-line="58" selection-end-column="27" />
<folding>
<element signature="e#3153#3176#0" expanded="true" />
<element signature="e#3711#3734#0" expanded="true" />
</folding>
<folding />
</state>
</provider>
<provider editor-type-id="android-designer">
<state />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/build.gradle">
<provider selected="true" editor-type-id="text-editor">
@ -1596,15 +1628,15 @@
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/fragment_morse.xml">
<provider editor-type-id="android-designer">
<state />
</provider>
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="1020" max-vertical-offset="1290">
<caret line="68" column="0" selection-start-line="68" selection-start-column="0" selection-end-line="68" selection-end-column="0" />
<folding />
</state>
</provider>
<provider editor-type-id="android-designer">
<state />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/build.gradle">
<provider selected="true" editor-type-id="text-editor">
@ -1618,8 +1650,8 @@
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="405">
<caret line="15" column="74" selection-start-line="15" selection-start-column="74" selection-end-line="15" selection-end-column="74" />
<folding>
<element signature="e#643#678#0" expanded="true" />
<element signature="e#734#763#0" expanded="true" />
<element signature="e#840#875#0" expanded="true" />
<element signature="e#931#960#0" expanded="true" />
</folding>
</state>
</provider>
@ -1641,46 +1673,43 @@
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/fragment_about.xml">
<provider editor-type-id="android-designer">
<state />
</provider>
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="645" max-vertical-offset="795">
<caret line="43" column="34" selection-start-line="43" selection-start-column="34" selection-end-line="43" selection-end-column="34" />
<folding>
<element signature="e#1715#1739#0" expanded="true" />
<element signature="e#1984#2006#0" expanded="true" />
<element signature="e#2383#2409#0" expanded="true" />
<element signature="e#2606#2630#0" expanded="true" />
<element signature="e#2956#2980#0" expanded="true" />
<element signature="e#3177#3199#0" expanded="true" />
<element signature="e#3525#3549#0" expanded="true" />
<element signature="e#3746#3768#0" expanded="true" />
<element signature="e#4094#4118#0" expanded="true" />
<element signature="e#4315#4337#0" expanded="true" />
<element signature="e#4663#4683#0" expanded="true" />
<element signature="e#4928#4946#0" expanded="true" />
<element signature="e#5272#5292#0" expanded="true" />
<element signature="e#5537#5555#0" expanded="true" />
<element signature="e#5881#5905#0" expanded="true" />
<element signature="e#6150#6172#0" expanded="true" />
<element signature="e#1762#1786#0" expanded="true" />
<element signature="e#2031#2053#0" expanded="true" />
<element signature="e#2428#2454#0" expanded="true" />
<element signature="e#2651#2675#0" expanded="true" />
<element signature="e#3048#3072#0" expanded="true" />
<element signature="e#3269#3291#0" expanded="true" />
<element signature="e#3664#3688#0" expanded="true" />
<element signature="e#3885#3907#0" expanded="true" />
<element signature="e#4280#4304#0" expanded="true" />
<element signature="e#4501#4523#0" expanded="true" />
<element signature="e#4892#4912#0" expanded="true" />
<element signature="e#5157#5175#0" expanded="true" />
<element signature="e#5546#5566#0" expanded="true" />
<element signature="e#5811#5829#0" expanded="true" />
<element signature="e#6206#6230#0" expanded="true" />
<element signature="e#6475#6497#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/fragment_main.xml">
<provider editor-type-id="android-designer">
<state />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/fragment_main.xml">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="872" max-vertical-offset="1590">
<caret line="73" column="23" selection-start-line="73" selection-start-column="23" selection-end-line="73" selection-end-column="23" />
<folding>
<element signature="e#3153#3176#0" expanded="true" />
<element signature="e#3711#3734#0" expanded="true" />
</folding>
<folding />
</state>
</provider>
<provider editor-type-id="android-designer">
<state />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/build.gradle">
<provider selected="true" editor-type-id="text-editor">
@ -1690,15 +1719,15 @@
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/fragment_morse.xml">
<provider editor-type-id="android-designer">
<state />
</provider>
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="710" max-vertical-offset="1290">
<caret line="68" column="0" selection-start-line="68" selection-start-column="0" selection-end-line="68" selection-end-column="0" />
<folding />
</state>
</provider>
<provider editor-type-id="android-designer">
<state />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/build.gradle">
<provider selected="true" editor-type-id="text-editor">
@ -1708,15 +1737,15 @@
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/activity_main.xml">
<provider editor-type-id="android-designer">
<state />
</provider>
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="255">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
<provider editor-type-id="android-designer">
<state />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/build.gradle">
<provider selected="true" editor-type-id="text-editor">
@ -1737,7 +1766,6 @@
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="345">
<caret line="9" column="29" selection-start-line="9" selection-start-column="29" selection-end-line="9" selection-end-column="29" />
<folding />
</state>
</provider>
</entry>
@ -1745,7 +1773,6 @@
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="330">
<caret line="8" column="3" selection-start-line="8" selection-start-column="3" selection-end-line="8" selection-end-column="3" />
<folding />
</state>
</provider>
</entry>
@ -1758,50 +1785,38 @@
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/activity_main.xml">
<provider editor-type-id="android-designer">
<state />
</provider>
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="-0.0" vertical-offset="0" max-vertical-offset="255">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
<provider editor-type-id="android-designer">
<state />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/build.gradle">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="-17.4" vertical-offset="0" max-vertical-offset="570">
<state vertical-scroll-proportion="0.0" vertical-offset="435" max-vertical-offset="570">
<caret line="29" column="52" selection-start-line="29" selection-start-column="52" selection-end-line="29" selection-end-column="52" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/fragment_morse.xml">
<provider editor-type-id="android-designer">
<state />
</provider>
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="9.196078" vertical-offset="799" max-vertical-offset="1665">
<state vertical-scroll-proportion="0.0" vertical-offset="330" max-vertical-offset="1665">
<caret line="22" column="0" selection-start-line="22" selection-start-column="0" selection-end-line="22" selection-end-column="0" />
<folding>
<element signature="e#2271#2293#0" expanded="true" />
<element signature="e#3153#3176#0" expanded="true" />
<element signature="e#3711#3734#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/values/styles.xml">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="630">
<caret line="33" column="67" selection-start-line="33" selection-start-column="67" selection-end-line="33" selection-end-column="67" />
<folding />
</state>
</provider>
<provider editor-type-id="android-designer">
<state />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/values/strings.xml">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="-12.44" vertical-offset="364" max-vertical-offset="945">
<state vertical-scroll-proportion="0.0" vertical-offset="675" max-vertical-offset="945">
<caret line="45" column="57" selection-start-line="45" selection-start-column="57" selection-end-line="45" selection-end-column="57" />
<folding />
</state>
@ -1809,61 +1824,66 @@
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/values-de/strings.xml">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="-17.24" vertical-offset="259" max-vertical-offset="840">
<state vertical-scroll-proportion="0.0" vertical-offset="690" max-vertical-offset="840">
<caret line="46" column="35" selection-start-line="46" selection-start-column="35" selection-end-line="46" selection-end-column="35" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/de/marcelkapfer/morseconverter/MainActivity.java">
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/fragment_main.xml">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="555">
<caret line="19" column="16" selection-start-line="19" selection-start-column="16" selection-end-line="19" selection-end-column="16" />
<folding>
<element signature="e#643#678#0" expanded="true" />
<element signature="e#734#763#0" expanded="true" />
</folding>
<state vertical-scroll-proportion="0.0" vertical-offset="90" max-vertical-offset="1650">
<caret line="20" column="17" selection-start-line="20" selection-start-column="17" selection-end-line="20" selection-end-column="17" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/fragment_main.xml">
<provider editor-type-id="android-designer">
<state />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/values/styles.xml">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="-8.076923" vertical-offset="90" max-vertical-offset="1650">
<caret line="20" column="17" selection-start-line="20" selection-start-column="17" selection-end-line="20" selection-end-column="17" />
<folding>
<element signature="e#3153#3176#0" expanded="true" />
<element signature="e#3711#3734#0" expanded="true" />
</folding>
<state vertical-scroll-proportion="0.0" vertical-offset="24" max-vertical-offset="630">
<caret line="25" column="46" selection-start-line="25" selection-start-column="46" selection-end-line="25" selection-end-column="46" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/fragment_about.xml">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="16.346153" vertical-offset="2390" max-vertical-offset="2970">
<caret line="131" column="41" selection-start-line="131" selection-start-column="41" selection-end-line="131" selection-end-column="41" />
<folding>
<element signature="e#1762#1786#0" expanded="true" />
<element signature="e#2031#2053#0" expanded="true" />
<element signature="e#2428#2454#0" expanded="true" />
<element signature="e#2651#2675#0" expanded="true" />
<element signature="e#3048#3072#0" expanded="true" />
<element signature="e#3269#3291#0" expanded="true" />
<element signature="e#3664#3688#0" expanded="true" />
<element signature="e#3885#3907#0" expanded="true" />
<element signature="e#4280#4304#0" expanded="true" />
<element signature="e#4501#4523#0" expanded="true" />
<element signature="e#4892#4912#0" expanded="true" />
<element signature="e#5157#5175#0" expanded="true" />
<element signature="e#5546#5566#0" expanded="true" />
<element signature="e#5811#5829#0" expanded="true" />
<element signature="e#6206#6230#0" expanded="true" />
<element signature="e#6475#6497#0" expanded="true" />
</folding>
</state>
</provider>
<provider editor-type-id="android-designer">
<state />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/de/marcelkapfer/morseconverter/MainActivity.java">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.57239056" vertical-offset="0" max-vertical-offset="2865">
<caret line="34" column="37" selection-start-line="34" selection-start-column="37" selection-end-line="34" selection-end-column="37" />
<state vertical-scroll-proportion="0.33333334" vertical-offset="158" max-vertical-offset="1860">
<caret line="31" column="10" selection-start-line="31" selection-start-column="10" selection-end-line="31" selection-end-column="10" />
<folding>
<element signature="e#1715#1739#0" expanded="true" />
<element signature="e#1984#2006#0" expanded="true" />
<element signature="e#2383#2409#0" expanded="true" />
<element signature="e#2606#2630#0" expanded="true" />
<element signature="e#2956#2980#0" expanded="true" />
<element signature="e#3177#3199#0" expanded="true" />
<element signature="e#3525#3549#0" expanded="true" />
<element signature="e#3746#3768#0" expanded="true" />
<element signature="e#4094#4118#0" expanded="true" />
<element signature="e#4315#4337#0" expanded="true" />
<element signature="e#4663#4683#0" expanded="true" />
<element signature="e#4928#4946#0" expanded="true" />
<element signature="e#5272#5292#0" expanded="true" />
<element signature="e#5537#5555#0" expanded="true" />
<element signature="e#5881#5905#0" expanded="true" />
<element signature="e#6150#6172#0" expanded="true" />
<element signature="e#840#875#0" expanded="true" />
<element signature="e#931#960#0" expanded="true" />
</folding>
</state>
</provider>

View file

@ -4,33 +4,122 @@ import android.content.Intent;
import android.content.res.Resources;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import it.neokree.materialnavigationdrawer.MaterialNavigationDrawer;
import it.neokree.materialnavigationdrawer.elements.MaterialSection;
public class MainActivity extends MaterialNavigationDrawer {
//Declaring the Material Sections
private MaterialSection writtenMorse, normalMorse, about;
//The MaterialNavigationDrawer init() methode replaces the normal onCreate() methode
@Override
public void init(Bundle savedInstanceState) {
Resources res = getResources();
//Declaring the Material Sections
writtenMorse = this.newSection("writtenMorse", new MainFragment());
normalMorse = this.newSection(res.getString(R.string.normalMorse), new MorseFragment());
about = this.newSection(res.getString(R.string.about), new AboutFragment());
//Adding the Sections
this.addSection(writtenMorse);
this.addSection(normalMorse);
this.addDivisor();
this.addSection(about);
//set drawer image
//TODO create 16:9 image
this.setDrawerHeaderImage(this.getResources().getDrawable(R.drawable.feature_graphics));
allowArrowAnimation();
this.disableLearningPattern();
allowArrowAnimation(); //Drawer Arrow rotations
this.disableLearningPattern(); //Doesn't open the drawer always when the app starts
}
public void developerProfile(){
Intent gplusProfile = new Intent(Intent.ACTION_VIEW, Uri.parse("https://plus.google.com/+MarcelMichaelKapfer/posts"));
startActivity(gplusProfile);
//called when clicking on the version entry in the about fragment
//opens the app page (de.marcelkapfer.morseconverter)
public void versionEntry(View view){
try{
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://play.google.com/store/apps/details?id=de.marcelkapfer.morseconverter"));
startActivity(browserIntent);
} catch(Exception e){
e.printStackTrace();
}
}
//called when clicking on the developer entry in the about fragment
//opens the gplus profile of +MarcelMichaelKapfer
public void developerEntry(View view){
try{
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://plus.google.com/+MarcelMichaelKapfer/posts"));
startActivity(browserIntent);
} catch(Exception e){
e.printStackTrace();
}
}
//called when clicking on the website entry in the about fragment
//opens marcel-kapfer.de/projects/morse/
public void websiteEntry(View view){
try{
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://marcel-kapfer.de/projects/morse/"));
startActivity(browserIntent);
} catch(Exception e){
e.printStackTrace();
}
}
//called when clicking on the contact entry in the about fragment
//opens mail app with mail to marcelmichaelkapfer@yahoo.co.nz
public void contactEntry(View view){
try{
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("mailto:marcelmichaelkapfer@yahoo.co.nz"));
startActivity(browserIntent);
} catch(Exception e){
e.printStackTrace();
}
}
//called when clicking on the license entry in the about fragment
//opens the license web page
public void licenseEntry(View view){
try{
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://gnu.org/copyleft/gpl.html"));
startActivity(browserIntent);
} catch(Exception e){
e.printStackTrace();
}
}
//called when clicking on the developer entry in the about fragment
//opens mail app with mail to marcelmichaelkapfer@yahoo.co.nz
public void bugEntry(View view){
try{
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("mailto:marcelmichaelkapfer@yahoo.co.nz?subject=Bug Report"));
startActivity(browserIntent);
} catch(Exception e){
e.printStackTrace();
}
}
//called when clicking on the developer entry in the about fragment
//opens the howto webpage
public void howtoEntry(View view){
try{
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://marcel-kapfer.de/projects/morse/index.html#howto_android"));
startActivity(browserIntent);
} catch(Exception e){
e.printStackTrace();
}
}
//called when clicking on the developer entry in the about fragment
//opens mail app with mail to marcelmichaelkapfer@yahoo.co.nz
public void missingCodeEntry(View view){
try{
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("mailto:marcelmichaelkapfer@yahoo.co.nz?subject=Missing Code"));
startActivity(browserIntent);
} catch(Exception e){
e.printStackTrace();
}
}
}

View file

@ -37,7 +37,8 @@
style="@style/LinearLayoutListContainer">
<LinearLayout
style="@style/LinearLayoutList">
style="@style/LinearLayoutList"
android:onClick="versionEntry">
<TextView
android:layout_width="match_parent"
@ -56,7 +57,7 @@
<LinearLayout
style="@style/LinearLayoutList"
android:onClick="developerProfile">
android:onClick="developerEntry">
<TextView
android:layout_width="match_parent"
@ -73,7 +74,8 @@
</LinearLayout>
<LinearLayout
style="@style/LinearLayoutList">
style="@style/LinearLayoutList"
android:onClick="websiteEntry">
<TextView
android:layout_width="match_parent"
@ -90,7 +92,8 @@
</LinearLayout>
<LinearLayout
style="@style/LinearLayoutList">
style="@style/LinearLayoutList"
android:onClick="contactEntry">
<TextView
android:layout_width="match_parent"
@ -107,7 +110,8 @@
</LinearLayout>
<LinearLayout
style="@style/LinearLayoutList">
style="@style/LinearLayoutList"
android:onClick="licenseEntry">
<TextView
android:layout_width="match_parent"
@ -124,7 +128,8 @@
</LinearLayout>
<LinearLayout
style="@style/LinearLayoutList">
style="@style/LinearLayoutList"
android:onClick="bugEntry">
<TextView
android:layout_width="match_parent"
@ -142,7 +147,8 @@
</LinearLayout>
<LinearLayout
style="@style/LinearLayoutList">
style="@style/LinearLayoutList"
android:onClick="howtoEntry">
<TextView
android:layout_width="match_parent"
@ -160,7 +166,8 @@
</LinearLayout>
<LinearLayout
style="@style/LinearLayoutList">
style="@style/LinearLayoutList"
android:onClick="missingCodeEntry">
<TextView
android:layout_width="match_parent"

View file

@ -23,7 +23,7 @@
<item name="android:layout_height">wrap_content</item>
<item name="android:orientation">vertical</item>
<item name="android:layout_marginTop">8dp</item>
<item name="android:layout_marginBottom">8dp</item>
<item name="android:layout_marginEnd">8dp</item>
<item name="android:paddingLeft">16dp</item>
<item name="android:paddingRight">16dp</item>
</style>