changes made

This commit is contained in:
Sebastian Seedorf
2020-12-06 21:10:12 +01:00
parent 14d8abc9e8
commit 0dc942251e
158 changed files with 1902 additions and 2 deletions

0
source/.classpath Normal file → Executable file
View File

0
source/.project Normal file → Executable file
View File

0
source/.settings/org.eclipse.jdt.core.prefs Normal file → Executable file
View File

0
source/AndroidManifest.xml Normal file → Executable file
View File

0
source/bin/AndroidManifest.xml Normal file → Executable file
View File

View File

View File

0
source/bin/classes/me/caesar2011/vpherder/R$attr.class Normal file → Executable file
View File

View File

View File

View File

0
source/bin/classes/me/caesar2011/vpherder/R$id.class Normal file → Executable file
View File

View File

View File

View File

0
source/bin/classes/me/caesar2011/vpherder/R.class Normal file → Executable file
View File

0
source/bin/jarlist.cache Normal file → Executable file
View File

6
source/gen/me/caesar2011/vpherder/BuildConfig.java Normal file → Executable file
View File

@@ -1,6 +1,8 @@
/** Automatically generated file. DO NOT MODIFY */
/*___Generated_by_IDEA___*/
package me.caesar2011.vpherder;
/* This stub is only used by the IDE. It is NOT the BuildConfig class actually packed into the APK */
public final class BuildConfig {
public final static boolean DEBUG = true;
public final static boolean DEBUG = Boolean.parseBoolean(null);
}

View File

@@ -0,0 +1,7 @@
/*___Generated_by_IDEA___*/
package me.caesar2011.vpherder;
/* This stub is only used by the IDE. It is NOT the Manifest class actually packed into the APK */
public final class Manifest {
}

0
source/gen/me/caesar2011/vpherder/R.java Normal file → Executable file
View File

0
source/ic_launcher-web.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

9
source/libs/.classpath Executable file
View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>

33
source/libs/.project Executable file
View File

@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>vpHerder</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

View File

@@ -0,0 +1,4 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.source=1.6

27
source/libs/AndroidManifest.xml Executable file
View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.caesar2011.vpherder"
android:versionCode="1"
android:versionName="1.0" >
<uses-permission android:name="android.permission.INTERNET"/>
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="19" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="me.caesar2011.vpherder.MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>

0
source/libs/android-support-v4.jar Normal file → Executable file
View File

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.caesar2011.vpherder"
android:versionCode="1"
android:versionName="1.0" >
<uses-permission android:name="android.permission.INTERNET"/>
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="19" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="me.caesar2011.vpherder.MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

3
source/libs/bin/jarlist.cache Executable file
View File

@@ -0,0 +1,3 @@
# cache for current jar dependency. DO NOT EDIT.
# format is <lastModified> <length> <SHA-1> <path>
# Encoding is UTF-8

0
source/libs/commons-io-2.4.jar Normal file → Executable file
View File

View File

@@ -0,0 +1,8 @@
/*___Generated_by_IDEA___*/
package me.caesar2011.vpherder;
/* This stub is only used by the IDE. It is NOT the BuildConfig class actually packed into the APK */
public final class BuildConfig {
public final static boolean DEBUG = Boolean.parseBoolean(null);
}

View File

@@ -0,0 +1,7 @@
/*___Generated_by_IDEA___*/
package me.caesar2011.vpherder;
/* This stub is only used by the IDE. It is NOT the Manifest class actually packed into the APK */
public final class Manifest {
}

View File

@@ -0,0 +1,103 @@
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package me.caesar2011.vpherder;
public final class R {
public static final class attr {
}
public static final class color {
public static final int block=0x7f040002;
public static final int cancelled=0x7f040004;
public static final int fragment_background=0x7f040003;
public static final int subject=0x7f040000;
public static final int teacher=0x7f040001;
}
public static final class dimen {
/** Default screen margins, per the Android Design guidelines.
Customize dimensions originally defined in res/values/dimens.xml (such as
screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here.
*/
public static final int activity_horizontal_margin=0x7f050000;
public static final int activity_vertical_margin=0x7f050001;
}
public static final class drawable {
public static final int ic_launcher=0x7f020000;
}
public static final class id {
public static final int box_subject=0x7f080008;
public static final int cancelbar=0x7f08000f;
public static final int changes=0x7f080007;
public static final int listview=0x7f080003;
public static final int main=0x7f080005;
public static final int pager=0x7f080000;
public static final int pager_title_strip=0x7f080001;
public static final int remark=0x7f08000e;
public static final int section_label=0x7f080002;
public static final int subject=0x7f080009;
public static final int subject_subinfo=0x7f08000a;
public static final int teacher=0x7f080006;
public static final int text=0x7f080004;
public static final int textview_from=0x7f08000b;
public static final int textview_to=0x7f08000d;
public static final int to_arrow=0x7f08000c;
}
public static final class layout {
public static final int activity_main=0x7f030000;
public static final int fragment_main_dummy=0x7f030001;
public static final int fragment_teacher_substitution=0x7f030002;
public static final int pull_to_refresh_header=0x7f030003;
public static final int teacher_substitution_change=0x7f030004;
public static final int teacher_substitution_row_alteration=0x7f030005;
public static final int teacher_substitution_row_remark=0x7f030006;
}
public static final class string {
public static final int action_settings=0x7f060007;
public static final int app_name=0x7f060004;
public static final int pull_to_refresh_aborting_label=0x7f060003;
public static final int pull_to_refresh_pull_label=0x7f060000;
public static final int pull_to_refresh_refreshing_label=0x7f060002;
public static final int pull_to_refresh_release_label=0x7f060001;
public static final int title_section1=0x7f060005;
public static final int title_section2=0x7f060006;
public static final int to_arrow=0x7f060008;
}
public static final class style {
/**
Base application theme, dependent on API level. This theme is replaced
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
Theme customizations available in newer API levels can go in
res/values-vXX/styles.xml, while customizations related to
backward-compatibility can go here.
Base application theme for API 11+. This theme completely replaces
AppBaseTheme from res/values/styles.xml on API 11+ devices.
API 11 theme customizations can go here.
Base application theme for API 14+. This theme completely replaces
AppBaseTheme from BOTH res/values/styles.xml and
res/values-v11/styles.xml on API 14+ devices.
API 14 theme customizations can go here.
*/
public static final int AppBaseTheme=0x7f070000;
/** Application theme.
All customizations that are NOT specific to a particular API-level can go here.
*/
public static final int AppTheme=0x7f070005;
public static final int TextSize_Large=0x7f070002;
public static final int TextSize_Medium=0x7f070003;
public static final int TextSize_Small=0x7f070004;
public static final int TextSize_VeryLarge=0x7f070001;
}
}

BIN
source/libs/ic_launcher-web.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,20 @@
# To enable ProGuard in your project, edit project.properties
# to define the proguard.config property as described in that file.
#
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in ${sdk.dir}/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the ProGuard
# include property in project.properties.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

14
source/libs/project.properties Executable file
View File

@@ -0,0 +1,14 @@
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system edit
# "ant.properties", and override values to adapt the script to your
# project structure.
#
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# Project target.
target=android-19

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 770 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -0,0 +1,23 @@
<android.support.v4.view.ViewPager xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/pager"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity" >
<!--
This title strip will display the currently visible page title, as well as the page
titles for adjacent pages.
-->
<android.support.v4.view.PagerTitleStrip
android:id="@+id/pager_title_strip"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:background="#fd0"
android:paddingBottom="4dp"
android:paddingTop="4dp"
android:textColor="#000" />
</android.support.v4.view.ViewPager>

View File

@@ -0,0 +1,17 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context=".MainActivity$DummySectionFragment"
android:background="@color/fragment_background" >
<TextView
android:id="@+id/section_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</RelativeLayout>

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<me.caesar2011.vpherder.views.PullToRefreshListView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/listview"
android:listSelector="@android:color/transparent"
android:background="@color/fragment_background" />

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:background="#777"
android:layout_width="match_parent"
android:layout_height="0sp"
android:padding="0sp"
android:layout_margin="0sp"
android:visibility="gone"
android:gravity="center" >
<LinearLayout
android:background="#777"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="0sp"
android:layout_margin="0sp"
android:gravity="center"
android:layout_centerVertical="true"
android:orientation="horizontal" >
<TextView
android:text="@string/pull_to_refresh_pull_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingRight="0sp"
android:paddingTop="0sp"
android:paddingBottom="0sp"
android:paddingLeft="10sp"
android:layout_margin="0sp"
android:visibility="gone"
android:id="@+id/text" />
</LinearLayout>
</RelativeLayout>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/text"
style="@android:style/TextAppearance.Small" />
</RelativeLayout>

View File

@@ -0,0 +1,110 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/main" >
<TextView
android:layout_width="58sp"
android:layout_height="match_parent"
android:padding="6sp"
android:id="@+id/teacher"
android:layout_gravity="center"
android:layout_centerVertical="true"
style="@style/TextSize:VeryLarge"
android:textColor="@color/teacher" />
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentRight="true"
android:layout_toRightOf="@+id/teacher"
android:layout_toLeftOf="@+id/changes"
android:id="@+id/box_subject"
android:layout_gravity="center"
android:layout_centerVertical="true"
style="@android:style/TextAppearance.Large" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="6sp"
android:paddingTop="6sp"
android:paddingRight="6sp"
android:paddingBottom="0sp"
android:id="@+id/subject"
style="@android:style/TextAppearance.Medium"
android:textColor="@color/subject" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="6sp"
android:paddingTop="0sp"
android:paddingRight="6sp"
android:paddingBottom="6sp"
android:id="@+id/subject_subinfo"
android:layout_below="@+id/subject"
android:layout_alignLeft="@+id/subject"
style="@android:style/TextAppearance.Small"
android:textColor="@color/block" />
</RelativeLayout>
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:id="@+id/changes"
android:layout_alignParentRight="true"
style="@android:style/TextAppearance.Large" >
<TextView
android:layout_width="45sp"
android:layout_height="match_parent"
android:id="@+id/textview_from"
android:layout_toLeftOf="@+id/to_arrow"
android:gravity="center"
android:layout_centerVertical="true"
style="@android:style/TextAppearance.Small" />
<TextView
android:padding="6sp"
android:layout_width="30sp"
android:layout_height="match_parent"
android:text="@string/to_arrow"
android:id="@+id/to_arrow"
android:layout_toLeftOf="@+id/textview_to"
android:gravity="center"
android:layout_centerVertical="true"
style="@style/TextSize:VeryLarge" />
<TextView
android:layout_width="45sp"
android:layout_height="match_parent"
android:id="@+id/textview_to"
android:layout_alignParentRight="true"
android:gravity="center"
android:layout_centerVertical="true"
style="@android:style/TextAppearance.Small" />
</RelativeLayout>
</RelativeLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/remark"
android:layout_below="@+id/main"
android:layout_centerVertical="true"
style="@android:style/TextAppearance.Medium"
android:textStyle="italic"
android:padding="6sp" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/cancelbar"
android:layout_alignLeft="@+id/main"
android:layout_alignTop="@+id/main"
android:layout_alignRight="@+id/main"
android:layout_alignBottom="@+id/main">
<View
android:background="@color/cancelled"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginLeft="15sp"
android:layout_marginRight="15sp"
android:layout_centerInParent="true" />
</RelativeLayout>
</RelativeLayout>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="6sp"
android:id="@+id/text"
style="@android:style/TextAppearance.Medium" />
</RelativeLayout>

View File

@@ -0,0 +1,8 @@
<resources>
<!--
Customize dimensions originally defined in res/values/dimens.xml (such as
screen margins) for sw600dp devices (e.g. 7" tablets) here.
-->
</resources>

View File

@@ -0,0 +1,9 @@
<resources>
<!--
Customize dimensions originally defined in res/values/dimens.xml (such as
screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here.
-->
<dimen name="activity_horizontal_margin">128dp</dimen>
</resources>

View File

@@ -0,0 +1,11 @@
<resources>
<!--
Base application theme for API 11+. This theme completely replaces
AppBaseTheme from res/values/styles.xml on API 11+ devices.
-->
<style name="AppBaseTheme" parent="android:Theme.Holo.Light">
<!-- API 11 theme customizations can go here. -->
</style>
</resources>

View File

@@ -0,0 +1,12 @@
<resources>
<!--
Base application theme for API 14+. This theme completely replaces
AppBaseTheme from BOTH res/values/styles.xml and
res/values-v11/styles.xml on API 14+ devices.
-->
<style name="AppBaseTheme" parent="android:Theme.Holo.Light.DarkActionBar">
<!-- API 14 theme customizations can go here. -->
</style>
</resources>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="subject">#d34937</color>
<color name="teacher">#000</color>
<color name="block">#888</color>
<color name="fragment_background">#fff</color>
<color name="cancelled">#f00</color>
</resources>

View File

@@ -0,0 +1,7 @@
<resources>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
</resources>

Some files were not shown because too many files have changed in this diff Show More