Skip to content

Commit

Permalink
[EmptyView] add drop figure and use it as text replacement.
Browse files Browse the repository at this point in the history
Use the drop figure in the launcher icon.
Use the drop figure as text replacement for empty views.
  • Loading branch information
tbarthel-fr committed Jul 24, 2016
1 parent 6b0b218 commit a1dc6b5
Show file tree
Hide file tree
Showing 19 changed files with 44 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">

<ImageView
android:id="@+id/view_color_item_list_page_empty_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:alpha="0.3"
android:scaleType="centerInside"
android:src="@drawable/drop_sad" />

<ListView
android:id="@+id/view_color_item_list_page_list_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:listitem="@layout/row_color_item" />

</merge>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">

<ImageView
android:id="@+id/view_palette_list_empty_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:alpha="0.3"
android:scaleType="centerInside"
android:src="@drawable/drop_sad" />

<ListView
android:id="@+id/view_palette_list_page_list_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:listitem="@layout/row_palette" />

</merge>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a1dc6b5

Please sign in to comment.