Code cleanup
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/app_bar_layout"
|
||||
android:theme="@style/AppTheme.AppBarOverlay">
|
||||
|
||||
<androidx.appcompat.widget.Toolbar
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/swipe_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<ExpandableListView
|
||||
android:id="@+id/list"
|
||||
android:name=".fragments.moddetails.ModDetailAnnounceFragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginRight="16dp"
|
||||
tools:context=".fragments.moddetails.ModDetailAnnounceFragment"
|
||||
tools:listitem="@layout/list_all_caption" />
|
||||
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
||||
@@ -4,7 +4,8 @@
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/colorFUGreen"
|
||||
android:fitsSystemWindows="true"
|
||||
tools:context="de.sebse.fuplanner.fragments.StartupFragment">
|
||||
tools:context="de.sebse.fuplanner.fragments.StartupFragment"
|
||||
tools:ignore="Overdraw">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@android:dimen/thumbnail_width"
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:ignore="UseCompoundDrawables">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_arrow"
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_margin="4dp">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:id="@+id/string"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/text_margin"
|
||||
tools:text="Caption"
|
||||
android:textAppearance="@style/Base.TextAppearance.AppCompat.Headline" />
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
||||
android:id="@+id/list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
@@ -5,7 +5,6 @@
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/caption"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/text_margin"
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/caption"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/text_margin"
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<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="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:padding="5dip" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/string"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:typeface="sans"
|
||||
tools:text="Test this new stuff!" />
|
||||
</RelativeLayout>
|
||||
@@ -1,7 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<de.sebse.fuplanner.tools.ui.cardview.ExpandableCardView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/profile"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="4dp"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<de.sebse.fuplanner.tools.ui.cardview.ExpandableCardView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/profile"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="4dp"
|
||||
|
||||
@@ -21,13 +21,11 @@
|
||||
<string name="assignments_count">Aufgaben (%1$d)</string>
|
||||
<string name="assignments">Aufgaben</string>
|
||||
<string name="upcoming_events_count">Nächste Veranstaltungen (%1$d)</string>
|
||||
<string name="upcoming_events">Nächste Veranstaltungen</string>
|
||||
<string name="date_scale">%1$s - %2$s</string>
|
||||
<string name="open">Offen</string>
|
||||
<string name="closed">Geschlossen</string>
|
||||
<string name="enter_offline_mode">Starte Offline-Modus (%1$s)</string>
|
||||
<string name="no_items_available">Keine Einträge vorhanden!</string>
|
||||
<string name="past_events">Vergangene Veranstaltungen</string>
|
||||
<string name="events">Veranstaltungen</string>
|
||||
<string name="gradebook">Noten</string>
|
||||
<string name="current_percentage">Aktuelle Prozentzahl: %1$.2f \%%</string>
|
||||
@@ -74,7 +72,6 @@
|
||||
<string name="lecture">Vorlesung</string>
|
||||
<string name="tutorial">Tutorium</string>
|
||||
<string name="exam">Klausur</string>
|
||||
<string name="other">Andere</string>
|
||||
<string name="deadline">Abgabe</string>
|
||||
<string name="winter_semester">Wintersemester %1$d/%2$d</string>
|
||||
<string name="summer_semester">Sommersemester %1$d</string>
|
||||
|
||||
@@ -7,6 +7,4 @@
|
||||
<dimen name="text_margin">16dp</dimen>
|
||||
|
||||
|
||||
<dimen name="default_card_height">50dp</dimen>
|
||||
<dimen name="default_vertical_padding">10dp</dimen>
|
||||
</resources>
|
||||
|
||||
@@ -22,14 +22,12 @@
|
||||
<string name="assignments_count">Assignments (%1$d)</string>
|
||||
<string name="assignments">Assignments</string>
|
||||
<string name="upcoming_events_count">Upcoming Events (%1$d)</string>
|
||||
<string name="upcoming_events">Upcoming Events</string>
|
||||
<string name="date_scale">%1$s - %2$s</string>
|
||||
<string name="open">Open</string>
|
||||
<string name="closed">Closed</string>
|
||||
<string name="hello_blank_fragment" translatable="false" tools:keep="@string/hello_blank_fragment">Hello blank fragment</string>
|
||||
<string name="enter_offline_mode">Enter Offline Mode (%1$s)</string>
|
||||
<string name="no_items_available">No items available!</string>
|
||||
<string name="past_events">Past Events</string>
|
||||
<string name="events">Events</string>
|
||||
<string name="gradebook">Gradebook</string>
|
||||
<string name="current_percentage">Current Percentage: %1$.2f \%%</string>
|
||||
@@ -82,7 +80,6 @@
|
||||
<string name="lecture">Lecture</string>
|
||||
<string name="tutorial">Tutorial</string>
|
||||
<string name="exam">Exam</string>
|
||||
<string name="other">Other</string>
|
||||
<string name="deadline">Deadline</string>
|
||||
<string name="winter_semester">Winter Semester %1$d/%2$d</string>
|
||||
<string name="summer_semester">Summer Semester %1$d</string>
|
||||
|
||||
Reference in New Issue
Block a user