EntitiesFragment

This commit is contained in:
serso
2016-01-17 18:45:20 +01:00
parent c0710801cd
commit b5600114ed
31 changed files with 729 additions and 1029 deletions

View File

@@ -41,10 +41,13 @@
a:layout_width="match_parent"
a:layout_height="match_parent">
<ListView style="@style/CppListView" />
<android.support.v7.widget.RecyclerView
a:id="@+id/entities_recyclerview"
a:layout_width="match_parent"
a:layout_height="match_parent" />
<com.melnykov.fab.FloatingActionButton
a:id="@+id/fab"
a:id="@+id/entities_fab"
style="@style/CppFab"
a:src="@drawable/ic_add_white_36dp"
a:visibility="gone" />

View File

@@ -24,20 +24,18 @@
<LinearLayout
xmlns:a="http://schemas.android.com/apk/res/android"
style="@style/CppListItem"
a:layout_width="match_parent"
a:layout_height="wrap_content"
style="@style/CppListItem.TwoLines"
a:orientation="vertical">
<TextView
a:id="@+id/math_entity_text"
a:id="@+id/entity_text"
style="@style/CppListItemText.Primary"
a:layout_width="match_parent"
a:layout_height="wrap_content" />
<TextView
a:id="@+id/math_entity_short_description"
style="@style/CppListViewItemTextSecondary"
a:id="@+id/entity_description"
style="@style/CppListItemText.Secondary"
a:layout_width="match_parent"
a:layout_height="wrap_content" />