changes made
This commit is contained in:
BIN
source/libs/res/drawable-hdpi/ic_launcher.png
Executable file
BIN
source/libs/res/drawable-hdpi/ic_launcher.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
BIN
source/libs/res/drawable-mdpi/ic_launcher.png
Executable file
BIN
source/libs/res/drawable-mdpi/ic_launcher.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 770 B |
BIN
source/libs/res/drawable-xhdpi/ic_launcher.png
Executable file
BIN
source/libs/res/drawable-xhdpi/ic_launcher.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
BIN
source/libs/res/drawable-xxhdpi/ic_launcher.png
Executable file
BIN
source/libs/res/drawable-xxhdpi/ic_launcher.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
23
source/libs/res/layout/activity_main.xml
Executable file
23
source/libs/res/layout/activity_main.xml
Executable 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>
|
||||
17
source/libs/res/layout/fragment_main_dummy.xml
Executable file
17
source/libs/res/layout/fragment_main_dummy.xml
Executable 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>
|
||||
7
source/libs/res/layout/fragment_teacher_substitution.xml
Executable file
7
source/libs/res/layout/fragment_teacher_substitution.xml
Executable 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" />
|
||||
31
source/libs/res/layout/pull_to_refresh_header.xml
Executable file
31
source/libs/res/layout/pull_to_refresh_header.xml
Executable 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>
|
||||
10
source/libs/res/layout/teacher_substitution_change.xml
Executable file
10
source/libs/res/layout/teacher_substitution_change.xml
Executable 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>
|
||||
110
source/libs/res/layout/teacher_substitution_row_alteration.xml
Executable file
110
source/libs/res/layout/teacher_substitution_row_alteration.xml
Executable 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>
|
||||
11
source/libs/res/layout/teacher_substitution_row_remark.xml
Executable file
11
source/libs/res/layout/teacher_substitution_row_remark.xml
Executable 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>
|
||||
8
source/libs/res/values-sw600dp/dimens.xml
Executable file
8
source/libs/res/values-sw600dp/dimens.xml
Executable 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>
|
||||
9
source/libs/res/values-sw720dp-land/dimens.xml
Executable file
9
source/libs/res/values-sw720dp-land/dimens.xml
Executable 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>
|
||||
11
source/libs/res/values-v11/styles.xml
Executable file
11
source/libs/res/values-v11/styles.xml
Executable 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>
|
||||
12
source/libs/res/values-v14/styles.xml
Executable file
12
source/libs/res/values-v14/styles.xml
Executable 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>
|
||||
8
source/libs/res/values/colors.xml
Executable file
8
source/libs/res/values/colors.xml
Executable 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>
|
||||
7
source/libs/res/values/dimens.xml
Executable file
7
source/libs/res/values/dimens.xml
Executable 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>
|
||||
7
source/libs/res/values/pull_to_refresh_strings.xml
Executable file
7
source/libs/res/values/pull_to_refresh_strings.xml
Executable file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="pull_to_refresh_pull_label">Ziehen zum Aktualisieren…</string>
|
||||
<string name="pull_to_refresh_release_label">Loslassen zum Aktualisieren…</string>
|
||||
<string name="pull_to_refresh_refreshing_label">Aktualisieren…</string>
|
||||
<string name="pull_to_refresh_aborting_label">Aktualisieren abbrechen…</string>
|
||||
</resources>
|
||||
9
source/libs/res/values/strings.xml
Executable file
9
source/libs/res/values/strings.xml
Executable 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>
|
||||
35
source/libs/res/values/styles.xml
Executable file
35
source/libs/res/values/styles.xml
Executable 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>
|
||||
Reference in New Issue
Block a user