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

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>

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="pull_to_refresh_pull_label">Ziehen zum Aktualisieren&#8230;</string>
<string name="pull_to_refresh_release_label">Loslassen zum Aktualisieren&#8230;</string>
<string name="pull_to_refresh_refreshing_label">Aktualisieren&#8230;</string>
<string name="pull_to_refresh_aborting_label">Aktualisieren abbrechen&#8230;</string>
</resources>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">vpHerder</string>
<string name="title_section1">Heute</string>
<string name="title_section2">Einstellungen</string>
<string name="action_settings">Menü</string>
<string name="to_arrow"></string>
</resources>

View File

@@ -0,0 +1,35 @@
<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>
<style name="TextSize:VeryLarge">
<item name="android:textSize">32sp</item>
</style>
<style name="TextSize:Large">
<item name="android:textSize">22sp</item>
</style>
<style name="TextSize:Medium">
<item name="android:textSize">18sp</item>
</style>
<style name="TextSize:Small">
<item name="android:textSize">14sp</item>
</style>
<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
<item name="android:windowActionBar">false</item>
<item name="android:windowNoTitle">true</item>
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
</resources>