ProjectLaogai/app/src/main/res/layout/lesson_cardview.xml

35 lines
1.3 KiB
XML
Raw Normal View History

2018-10-24 18:22:05 +02:00
<?xml version="1.0" encoding="utf-8"?>
2018-10-26 00:50:37 +02:00
<androidx.cardview.widget.CardView
2018-10-24 18:22:05 +02:00
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
2018-10-25 16:44:36 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardBackgroundColor="@android:color/background_light"
2018-11-18 19:46:21 +01:00
app:cardElevation="5dp"
app:cardUseCompatPadding="true" app:cardPreventCornerOverlap="false" app:contentPadding="5dp">
2018-10-24 18:22:05 +02:00
<LinearLayout
2018-10-25 16:44:36 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
2018-10-24 18:22:05 +02:00
<TextView
2018-10-25 16:44:36 +02:00
android:id="@+id/txtView_Lesson"
2018-10-24 18:22:05 +02:00
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
2018-10-25 16:44:36 +02:00
android:id="@+id/txtView_Time"
2018-10-24 18:22:05 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="end"
android:text="@string/a_time"/>
</LinearLayout>
2018-10-26 00:50:37 +02:00
</androidx.cardview.widget.CardView>