Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <layout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto">
- <data>
- <variable
- name="state"
- type="bd.edu.daffodilvarsity.classmanager.common.models.LoadStates" />
- </data>
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:gravity="center"
- app:bindErrorState="@{state}">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/ic_sad_cloud"
- android:tint="?attr/colorOnSurface"
- android:layout_marginBottom="4dp"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textSize="@dimen/standardTextSize"
- android:textColor="?android:attr/textColorPrimary"/>
- </LinearLayout>
- </layout>
Add Comment
Please, Sign In to add comment