session-android/res/layout/giphy_fragment.xml

35 lines
1.2 KiB
XML
Raw Normal View History

2016-10-16 19:05:07 -07:00
<?xml version="1.0" encoding="utf-8"?>
2020-01-13 15:29:06 +11:00
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto">
2016-10-16 19:05:07 -07:00
<android.support.v7.widget.RecyclerView
2020-01-13 15:29:06 +11:00
android:id="@+id/giphy_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scrollbars="vertical"/>
2016-10-16 19:05:07 -07:00
2020-01-13 15:29:06 +11:00
<com.github.ybq.android.spinkit.SpinKitView
style="@style/SpinKitView.Large.ThreeBounce"
android:id="@+id/loading_progress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_gravity="center"
android:visibility="visible"
app:SpinKit_Color="@color/text" />
2016-10-16 19:05:07 -07:00
2020-01-13 15:29:06 +11:00
<TextView
android:id="@+id/no_results"
android:text="@string/giphy_fragment__nothing_found"
android:gravity="center"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/text"
android:textSize="@dimen/medium_font_size"
android:visibility="gone"
android:layout_gravity="center"/>
2016-10-16 19:05:07 -07:00
</FrameLayout>