Skip to content
This repository has been archived by the owner on Aug 16, 2018. It is now read-only.

Commit

Permalink
added welcome activity
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenDeDauw committed Apr 29, 2011
1 parent c26ad6a commit 6eb341c
Show file tree
Hide file tree
Showing 13 changed files with 114 additions and 654 deletions.
17 changes: 12 additions & 5 deletions AndroidManifest.xml
Expand Up @@ -20,15 +20,22 @@
-->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="pam.widget"
android:versionCode="2"
android:versionName="0.2">
<application android:icon="@drawable/icon" android:label="@string/app_name">
package="pam.widget.activities"
android:versionCode="3"
android:versionName="0.3">
<application android:label="@string/app_name" android:description="@string/app_desc" android:icon="@drawable/icon">
<activity android:name=".WelcomeActivity" android:label="@string/app_name"
android:configChanges="keyboardHidden|orientation">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<activity android:name=".EntityBoardActivity" android:label="@string/app_name"
android:theme="@android:style/Theme.Dialog" android:configChanges="keyboardHidden|orientation">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<!--<category android:name="android.intent.category.LAUNCHER" />-->
</intent-filter>
</activity>

Expand Down
50 changes: 0 additions & 50 deletions gen/pam/widget/R.java

This file was deleted.

20 changes: 20 additions & 0 deletions res/layout/activity_getspace.xml
@@ -1,4 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>

<!--
Copyright 2011 by Jeroen De Dauw
This file is part of Pamela widget for Android.
Pamela for Android is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
It is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this code. If not, see <http://www.gnu.org/licenses/>.
-->

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:paddingLeft="8dp"
Expand Down
19 changes: 19 additions & 0 deletions res/layout/liveboardrow.xml
@@ -1,5 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>

<!--
Copyright 2011 by Jeroen De Dauw
This file is part of Pamela widget for Android.
Pamela for Android is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
It is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this code. If not, see <http://www.gnu.org/licenses/>.
-->

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal" android:layout_width="fill_parent"
android:layout_height="wrap_content">
Expand Down
20 changes: 20 additions & 0 deletions res/layout/main.xml
@@ -1,4 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>

<!--
Copyright 2011 by Jeroen De Dauw
This file is part of Pamela widget for Android.
Pamela for Android is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
It is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this code. If not, see <http://www.gnu.org/licenses/>.
-->

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="wrap_content">
Expand Down
27 changes: 25 additions & 2 deletions res/values/strings.xml
@@ -1,9 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>

<!--
Copyright 2011 by Jeroen De Dauw
This file is part of Pamela widget for Android.
Pamela for Android is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
It is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this code. If not, see <http://www.gnu.org/licenses/>.
-->

<resources>
<string name="hello">Hello World, main!</string>
<string name="app_name">Pamela Widget</string>
<string name="app_name">PAMELA Widget</string>
<string name="app_desc">Simple Android client for PAMELA</string>
<string name="lang">en</string>
<string name="pamela_widget">Pamela widget</string>
<string name="pamela_widget">PAMELA widget</string>
<string name="add_pamela_widget">Add new PAMELA widget</string>
<string name="loading">Loading</string>
<string name="member">member</string>
<string name="device">device</string>
Expand All @@ -12,4 +34,5 @@
<string name="unknown">unknown</string>
<string name="open">open</string>
<string name="closed">closed</string>
<string name="txt_add_more">Adding more PAMELA widgets:\n\n* Long press on your HomeScreen\n\n* Select &quot;Shortcuts&quot;\n\n* Select &quot;PAMELA widget&quot;.</string>
</resources>
18 changes: 18 additions & 0 deletions res/values/styles.xml
Expand Up @@ -40,4 +40,22 @@
<item name="android:textColor">#FF0000</item>
</style>

<style name="HomeButton">
<item name="android:layout_gravity">center_vertical</item>
<item name="android:gravity">center</item>
<item name="android:textSize">16sp</item>
<item name="android:textStyle">bold</item>
<item name="android:textColor">@color/darkblue</item>
<item name="android:background">@null</item>
</style>

<style name="HomeButton2">
<item name="android:layout_gravity">center_vertical</item>
<item name="android:gravity">center</item>
<item name="android:textSize">15sp</item>
<item name="android:textStyle">italic</item>
<item name="android:textColor">@color/darkblue</item>
<item name="android:background">@null</item>
</style>

</resources>
88 changes: 0 additions & 88 deletions src/pam/widget/Entity.java

This file was deleted.

82 changes: 0 additions & 82 deletions src/pam/widget/EntityAdapter.java

This file was deleted.

0 comments on commit 6eb341c

Please sign in to comment.