Created
May 6, 2020 15:32
-
-
Save Xiryl/add26103b9bd806b9c69145db3306df3 to your computer and use it in GitHub Desktop.
WidgetGuide-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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="match_parent" | |
android:orientation="vertical" > | |
<!-- ListView to be shown on widget --> | |
<ListView | |
android:id="@+id/widget_layout_listview" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" /> | |
<!-- Empty view is show if list items are empty --> | |
<TextView | |
android:id="@+id/widget_layout_empty" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:gravity="center" | |
android:text="No Data" | |
android:textColor="#ffffff" | |
android:textSize="20sp" | |
android:visibility="gone" /> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment