Skip to content

Commit

Permalink
Merge pull request #25 from rheinfabrik/feature/fix_layout_bug
Browse files Browse the repository at this point in the history
Fix layout bug
  • Loading branch information
Giulio Petek committed Jun 21, 2015
2 parents 86145c7 + 604b204 commit a38ba6d
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions sample/src/main/res/layout/item_view_trakt_tv_list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,27 +31,29 @@
android:textStyle="bold"
tools:text="Title"/>

<!-- Number of likes -->
<TextView
android:id="@+id/likeCountTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:textColor="@color/red_orange"
android:textSize="14sp"
tools:text="100"/>

<!-- Description -->
<TextView
android:id="@+id/descriptionTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/titleTextView"
android:layout_toLeftOf="@+id/likeCountTextView"
android:textColor="@color/bunker"
android:textSize="14sp"
tools:text="Description"/>

<!-- Number of likes -->
<TextView
android:id="@+id/likeCountTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:textColor="@color/red_orange"
android:textSize="14sp"
tools:text="100 Likes"/>

</RelativeLayout>

</android.support.v7.widget.CardView>

0 comments on commit a38ba6d

Please sign in to comment.