Skip to content

Instantly share code, notes, and snippets.

@mrabelwahed
Created December 23, 2017 14:44
Show Gist options
  • Select an option

  • Save mrabelwahed/7e51751fe844026b848429d646345348 to your computer and use it in GitHub Desktop.

Select an option

Save mrabelwahed/7e51751fe844026b848429d646345348 to your computer and use it in GitHub Desktop.
This is recyclerview item
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="25dp"
android:orientation="horizontal">
<TextView
android:id="@+id/repo_name"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:textColor="@color/colorPrimary"
android:textSize="20sp" />
<TextView
android:id="@+id/repo_id"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@android:color/black"
android:textSize="15sp" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment