Skip to content

Instantly share code, notes, and snippets.

@fernandocamargoai
Created June 16, 2014 18:35
Show Gist options
  • Save fernandocamargoai/a4c01bb619bc58b11641 to your computer and use it in GitHub Desktop.
Save fernandocamargoai/a4c01bb619bc58b11641 to your computer and use it in GitHub Desktop.
fragment_comissarios.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:card="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<include layout="@layout/progress_bar" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<it.gmariotti.cardslib.library.view.CardGridView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/card_grid_view"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
card:list_card_layout_resourceID="@layout/list_card_layout"
style="?grid"/>
</RelativeLayout>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment