Created
June 24, 2018 10:53
-
-
Save annchar/56aff2b8e03336858fd24fae3449aca5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<android.support.v7.widget.CardView | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal"> | |
<RelativeLayout | |
android:layout_width="0dp" | |
android:layout_height="wrap_content" | |
android:layout_weight="0.7" | |
android:gravity="center_vertical" | |
android:paddingRight="@dimen/margin_small" | |
android:paddingTop="@dimen/margin_small" | |
android:paddingBottom="@dimen/margin_small"> | |
<ImageView | |
android:id="@+id/imgFlag" | |
android:layout_width="75dp" | |
android:layout_height="50dp" | |
android:background="@drawable/border_black" /> | |
<TextView | |
android:id="@+id/textViewName" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_centerVertical="true" | |
android:layout_marginLeft="@dimen/margin_small" | |
android:layout_toRightOf="@id/imgFlag" | |
android:text="Braaaa" /> | |
</RelativeLayout> | |
<TextView | |
android:id="@+id/textViewRank" | |
android:layout_width="0dp" | |
android:layout_height="wrap_content" | |
android:layout_gravity="center" | |
android:layout_weight="0.25" | |
android:gravity="center" | |
android:text="5" /> | |
<TextView | |
android:id="@+id/textViewPoints" | |
android:layout_width="0dp" | |
android:layout_height="wrap_content" | |
android:layout_gravity="center" | |
android:layout_weight="0.25" | |
android:gravity="center" | |
android:text="5" /> | |
<TextView | |
android:id="@+id/textViewGoals" | |
android:layout_width="0dp" | |
android:layout_height="wrap_content" | |
android:layout_gravity="center" | |
android:layout_weight="0.25" | |
android:gravity="center" | |
android:text="5" /> | |
<TextView | |
android:id="@+id/textViewGoalsAgainst" | |
android:layout_width="0dp" | |
android:layout_height="wrap_content" | |
android:layout_gravity="center" | |
android:layout_weight="0.25" | |
android:gravity="center" | |
android:text="5" /> | |
</LinearLayout> | |
</android.support.v7.widget.CardView> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment