First try...

This commit is contained in:
crille committed 2013-02-28 09:45:24 +01:00
1 parent 586570a897
commit 5eda993d7a
59 files changed
+3 -86

No files matched your search

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

+37
View File
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TextView
android:id="@+id/generalTitle"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingTop="6dip"
android:textColor="@color/general_title"
android:textSize="20sp" />
<TextView
android:id="@+id/generalDate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="left"
android:paddingBottom="4dip"
android:textColor="#acacac"
android:textSize="12sp" />
<TextView
android:id="@+id/generalDescription"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textColor="#acacac"
android:textSize="14sp"/>
<TextView
android:visibility="invisible"
android:id="@+id/generalLink"
android:layout_width="fill_parent"
android:layout_height="0dp"/>
</LinearLayout>
+33
View File
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/bg_gubben"
android:orientation="vertical" >
<EditText
android:id="@+id/tfUsername"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:ems="10"
android:hint="@string/usernameHint" >
<requestFocus />
</EditText>
<EditText
android:id="@+id/tfPassword"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:hint="@string/passwordHint"
android:inputType="textPassword" />
<Button
android:id="@+id/btnTryLogin"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/btnLoginText" />
</LinearLayout>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<ListView
android:id="@+id/myDayList"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
</ListView>
</LinearLayout>
+46
View File
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TextView
android:id="@+id/mydayTitle"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingTop="6dip"
android:textColor="@color/general_title"
android:textSize="20sp" />
<TextView
android:id="@+id/mydayDate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="left"
android:paddingBottom="4dip"
android:textColor="#acacac"
android:textSize="12sp" />
<TextView
android:id="@+id/mydayTag"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="left"
android:paddingBottom="4dip"
android:textColor="#acacac"
android:textSize="12sp" />
<TextView
android:id="@+id/mydayDescription"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textColor="#acacac"
android:textSize="14sp" />
<TextView
android:id="@+id/mydayLink"
android:layout_width="fill_parent"
android:layout_height="0dp"
android:visibility="invisible" />
</LinearLayout>
+20
View File
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<Button
android:id="@+id/btnLogin"
android:layout_width="fill_parent"
android:layout_height="50dp"
android:text="@string/btnLoginText" />
<ListView
android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_height="0dip"
android:layout_weight="0.91" />
</LinearLayout>
+30
View File
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="?android:attr/listPreferredItemHeight"
android:orientation="vertical"
android:padding="6dip" >
<TextView
android:id="@+id/tweet_from"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textColor="@color/general_title"
android:textSize="20sp" />
<TextView
android:id="@+id/tweet_date"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textColor="#acacac"
android:textSize="12sp" />
<TextView
android:id="@+id/tweet_text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingTop="6dip"
android:textColor="#acacac"
android:textSize="14sp" />
</LinearLayout>
+7
View File
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<WebView
android:id="@+id/webreader"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
</WebView>
+16
View File
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TextView
android:id="@+id/tvAbout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="6dip"
android:text="@string/txtAbout"
android:textColor="@color/general_title"
android:textSize="14sp" />
</LinearLayout>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:id="@+id/menuSave"
android:icon="@drawable/icon_save"
android:title="Spara inloggning"/>
<item
android:id="@+id/menuMail"
android:icon="@drawable/icon_mail"
android:title="Öppna min mail"/>
</menu>
+17
View File
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:id="@+id/menuAbout"
android:icon="@drawable/icon_about"
android:title="Om appen"/>
<item
android:id="@+id/menuPrefs"
android:icon="@drawable/icon_settings"
android:title="Inställningar"/>
<item
android:id="@+id/menuTwitter"
android:icon="@drawable/icon_twitter"
android:title="HV på Twitter"/>
</menu>
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="hv_bgColor">#ff000000</color>
<color name="hv_txtColor">#ffff0000</color>
<color name="general_title">#ff0099cc</color>
</resources>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Din Dag på HV</string>
<string name="hello_world">Hello world!</string>
<string name="menu_settings">Settings</string>
<string name="btnLoginText">Logga in</string>
<string name="usernameHint">Användarnamn</string>
<string name="passwordHint">Lösenord</string>
<string name="txtAbout">Denna app har utvecklats av Crille, Malin, Johan och Victor. Om du visste hur mycket blod som ligger bakom utvecklingen av den här appen skulle du omedelbart springa hit och bjuda oss på kaffe.</string>
<string name="twitterTitle">Tweets från Högskolan Väst</string>
</resources>
+20
View File
@@ -0,0 +1,20 @@
<resources>
<!--
Base application theme, dependent on API level. This theme is replaced
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
-->
<style name="AppBaseTheme" parent="android:Theme.Light">
<!--
Theme customizations available in newer API levels can go in
res/values-vXX/styles.xml, while customizations related to
backward-compatibility can go here.
-->
</style>
<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
</resources>
+9
View File
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="hvTheme" parent="android:Theme">
<item name="android:textColorPrimary">@color/hv_txtColor</item>
<item name="android:windowBackground">@color/hv_bgColor</item>
<item name="android:colorBackgroundCacheHint">@color/hv_bgColor</item>
</style>
</resources>