Skip to content

Instantly share code, notes, and snippets.

@frankibem
Created April 8, 2016 00:34
Show Gist options
  • Save frankibem/542ce2d54298430c3bff9b5623cd8474 to your computer and use it in GitHub Desktop.
Save frankibem/542ce2d54298430c3bff9b5623cd8474 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
android:padding="10dp">
<TextView
android:id="@+id/text_rank"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="2"
android:textSize="18sp"
tools:text="1" />
<TextView
android:id="@+id/text_username"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_weight="4"
android:gravity="center"
android:textSize="18sp"
tools:text="gengis cant" />
<TextView
android:id="@+id/text_score"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_weight="4"
android:gravity="right"
android:textSize="18sp"
tools:text="1000" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment