I hereby claim:
- I am cirion on github.
- I am chris_king (https://keybase.io/chris_king) on keybase.
- I have a public key ASARvo9Dwo2ZHR2HfYmnP7RXkpvkj9GITxbL_eBfFPg3jAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="190dp" | |
android:layout_height="190dp" | |
android:orientation="vertical" | |
android:padding="8dp" | |
> | |
<TextView | |
android:id="@+id/bookItem_title" | |
android:layout_width="match_parent" |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
android:id="@+id/bookRow_itemHolder" | |
> | |
<include layout="@layout/book_item_vary_columns"/> | |
<include layout="@layout/book_item_vary_columns"/> | |
<include layout="@layout/book_item_vary_columns"/> | |
<include layout="@layout/book_item_vary_columns"/> |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
android:id="@+id/bookRow_itemHolder" | |
> | |
<include layout="@layout/book_item"/> | |
<include layout="@layout/book_item"/> | |
</LinearLayout> |
@Override | |
public int getCount() | |
{ | |
int totalCount = 0; | |
for (int i = 0; i < sectionsCount; ++i) | |
{ | |
int count = getCountInSection(i); | |
if (count > 0) | |
totalCount += (getCountInSection(i)-1) / colCount + 1; | |
} |