update the layout listing event types

This commit is contained in:
tibbi 2017-02-11 12:35:23 +01:00
parent 4d49c14f44
commit f16cfc63ca
2 changed files with 25 additions and 9 deletions

View File

@ -15,6 +15,10 @@ class ManageEventTypesActivity : SimpleActivity() {
}
updateTextColors(manage_event_types_scrollview)
manage_event_types_fab.setOnClickListener {
}
updateTextColors(manage_event_types_coordinator)
}
}

View File

@ -1,15 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
<android.support.design.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/manage_event_types_scrollview"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/manage_event_types_coordinator"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/manage_event_types_holder"
<android.support.v7.widget.RecyclerView
android:id="@+id/manage_event_types_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
android:clipToPadding="false"
android:paddingLeft="@dimen/activity_margin"
app:layoutManager="android.support.v7.widget.LinearLayoutManager"/>
</LinearLayout>
</ScrollView>
<com.simplemobiletools.commons.views.MyFloatingActionButton
android:id="@+id/manage_event_types_fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="@dimen/activity_margin"
android:src="@drawable/ic_plus"
app:backgroundTint="@color/color_primary"
app:rippleColor="@color/pressed_item_foreground"/>
</android.support.design.widget.CoordinatorLayout>