<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fitsSystemWindows="true">

    <it.sephiroth.android.library.imagezoom.ImageViewTouch
        android:id="@+id/photo"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@android:color/black" />

    <com.lukekorth.photo_paper.views.FavoriteButton
        android:id="@+id/favorites"
        style="@style/button"
        android:layout_alignParentRight="true" />

    <com.lukekorth.photo_paper.views.LikeButton
        android:id="@+id/votes"
        style="@style/button"
        android:layout_toLeftOf="@id/favorites" />

</RelativeLayout>

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fitsSystemWindows="true">

    <it.sephiroth.android.library.imagezoom.ImageViewTouch
        android:id="@+id/photo"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@android:color/black" />

    <com.lukekorth.photo_paper.views.FavoriteButton
        android:id="@+id/favorites"
        style="@style/button"
        android:layout_alignParentRight="true" />

    <com.lukekorth.photo_paper.views.LikeButton
        android:id="@+id/votes"
        style="@style/button"
        android:layout_toLeftOf="@id/favorites"
        android:layout_alignWithParentIfMissing="true"/>

</RelativeLayout>

Fix like button alignment when no favorite gallery selected
Fix like button alignment when no favorite gallery selected
