You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
154 lines
7.3 KiB
154 lines
7.3 KiB
<?xml version="1.0" encoding="utf-8"?> |
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
xmlns:tools="http://schemas.android.com/tools" |
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
android:layout_width="match_parent" |
|
android:layout_height="match_parent" |
|
tools:context=".HomeFragment"> |
|
|
|
<android.support.constraint.ConstraintLayout |
|
android:layout_width="match_parent" |
|
android:layout_height="match_parent"> |
|
|
|
<android.support.v7.widget.CardView |
|
android:id="@+id/cardView" |
|
android:layout_width="0dp" |
|
android:layout_height="125dp" |
|
android:layout_marginStart="8dp" |
|
android:layout_marginTop="8dp" |
|
android:layout_marginEnd="8dp" |
|
android:clickable="false" |
|
android:maxHeight="125dp" |
|
app:cardCornerRadius="15dp" |
|
app:cardUseCompatPadding="true" |
|
app:layout_constraintEnd_toEndOf="parent" |
|
app:layout_constraintHorizontal_bias="1.0" |
|
app:layout_constraintStart_toStartOf="parent" |
|
app:layout_constraintTop_toTopOf="parent"> |
|
|
|
<LinearLayout |
|
android:orientation="vertical" |
|
android:layout_width="match_parent" |
|
android:layout_height="match_parent"> |
|
<TextView |
|
android:text="@string/essen_1" |
|
android:layout_width="match_parent" |
|
android:layout_height="wrap_content" android:id="@+id/txtView_Menu1Heading" |
|
android:textStyle="bold" android:textAlignment="center" android:textSize="16sp" |
|
android:typeface="sans" android:fontFamily="sans-serif" android:paddingBottom="5dp"/> |
|
<TextView |
|
android:id="@+id/txtView_Menu1" |
|
android:layout_width="match_parent" |
|
android:layout_height="wrap_content" |
|
android:fontFamily="sans-serif" |
|
android:textAlignment="center" |
|
android:textSize="16sp" |
|
android:textStyle="bold" |
|
android:typeface="sans"/> |
|
</LinearLayout> |
|
</android.support.v7.widget.CardView> |
|
|
|
<android.support.v7.widget.CardView |
|
android:id="@+id/cardView2" |
|
android:layout_width="0dp" |
|
android:layout_height="125dp" |
|
android:layout_marginStart="8dp" |
|
android:layout_marginEnd="8dp" |
|
app:cardCornerRadius="15dp" |
|
app:cardUseCompatPadding="true" |
|
app:layout_constraintEnd_toEndOf="parent" |
|
app:layout_constraintHorizontal_bias="1.0" |
|
app:layout_constraintStart_toStartOf="parent" |
|
app:layout_constraintTop_toBottomOf="@+id/cardView"> |
|
|
|
<LinearLayout |
|
android:orientation="vertical" |
|
android:layout_width="match_parent" |
|
android:layout_height="match_parent"> |
|
<TextView |
|
android:text="@string/essen_2" |
|
android:layout_width="match_parent" |
|
android:layout_height="wrap_content" android:id="@+id/txtView_Menu2Heading" |
|
android:textAlignment="center" android:textStyle="bold" android:textSize="16sp" |
|
android:typeface="sans" android:fontFamily="sans-serif" android:paddingBottom="5dp"/> |
|
<TextView |
|
android:id="@+id/txtView_Menu2" |
|
android:layout_width="match_parent" |
|
android:layout_height="wrap_content" |
|
android:fontFamily="sans-serif" |
|
android:textAlignment="center" |
|
android:textSize="16sp" |
|
android:textStyle="bold" |
|
android:typeface="sans"/> |
|
</LinearLayout> |
|
</android.support.v7.widget.CardView> |
|
|
|
<ScrollView |
|
android:layout_width="0dp" |
|
android:layout_height="0dp" |
|
android:layout_marginTop="12dp" |
|
android:background="@color/colorPrimary" |
|
app:layout_constraintBottom_toBottomOf="parent" |
|
app:layout_constraintEnd_toEndOf="parent" |
|
app:layout_constraintStart_toStartOf="parent" |
|
app:layout_constraintTop_toBottomOf="@+id/cardView2" android:id="@+id/scrollView_TimeTable"> |
|
|
|
<LinearLayout |
|
android:id="@+id/linLayout_TimeTable" |
|
android:layout_width="match_parent" |
|
android:layout_height="wrap_content" |
|
android:orientation="vertical" |
|
android:paddingLeft="5dp" |
|
android:paddingRight="5dp" |
|
app:layout_constraintBottom_toBottomOf="parent" |
|
app:layout_constraintEnd_toEndOf="parent" |
|
app:layout_constraintStart_toStartOf="parent" |
|
app:layout_constraintTop_toBottomOf="@+id/cardView2"> |
|
|
|
<android.support.v7.widget.CardView |
|
android:layout_width="match_parent" |
|
android:layout_height="80dp" |
|
app:cardBackgroundColor="@android:color/holo_red_light" |
|
app:cardCornerRadius="10dp" |
|
app:cardElevation="5dp" |
|
app:cardPreventCornerOverlap="true" |
|
app:cardUseCompatPadding="true" |
|
app:contentPadding="5dp"> |
|
|
|
<LinearLayout |
|
android:layout_width="match_parent" |
|
android:layout_height="match_parent" |
|
android:orientation="horizontal"> |
|
|
|
<TextView |
|
android:id="@+id/textView5" |
|
android:layout_width="wrap_content" |
|
android:layout_height="wrap_content" |
|
android:text="@string/a_lesson" |
|
android:textColor="@android:color/primary_text_light" |
|
android:textSize="14sp" |
|
android:textStyle="bold" |
|
android:typeface="sans"/> |
|
|
|
<TextView |
|
android:id="@+id/textView6" |
|
android:layout_width="0dp" |
|
android:layout_height="wrap_content" |
|
android:layout_weight="1" |
|
android:gravity="end" |
|
android:text="@string/a_time"/> |
|
</LinearLayout> |
|
|
|
</android.support.v7.widget.CardView> |
|
|
|
<include |
|
layout="@layout/lesson_cardview" |
|
android:layout_width="match_parent" |
|
android:layout_height="match_parent"/> |
|
|
|
</LinearLayout> |
|
</ScrollView> |
|
|
|
</android.support.constraint.ConstraintLayout> |
|
|
|
</FrameLayout> |