Announcement list design update
This commit is contained in:
11
app/src/main/res/layout/list_announcement_body.xml
Normal file
11
app/src/main/res/layout/list_announcement_body.xml
Normal 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"
|
||||
android:padding="20dp">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/FUTheme.itemValue"
|
||||
android:id="@+id/notes"/>
|
||||
</RelativeLayout>
|
||||
18
app/src/main/res/layout/list_announcement_header.xml
Normal file
18
app/src/main/res/layout/list_announcement_header.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?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"
|
||||
android:padding="15dp">
|
||||
<TextView
|
||||
android:id="@+id/title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/FUTheme.itemTitle" />
|
||||
<TextView
|
||||
android:id="@+id/sub_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/title"
|
||||
style="@style/FUTheme.itemValue" />
|
||||
</RelativeLayout>
|
||||
15
app/src/main/res/layout/list_announcement_items.xml
Normal file
15
app/src/main/res/layout/list_announcement_items.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?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"
|
||||
app:animationDuration="300"
|
||||
app:inner_view="@layout/list_announcement_body"
|
||||
app:outer_view="@layout/list_announcement_header"
|
||||
app:startExpanded="false" />
|
||||
<!--
|
||||
|
||||
app:icon="@drawable/ic_event"
|
||||
-->
|
||||
Reference in New Issue
Block a user