Loading and using skills based on Android listview

There are many programmers everywhere, and there are many experts, but there are not many programmers who understand design. I think we should not only become a coder, but also a designer.

I am a person who pays more attention to ued. If the program is the connotation of an app, the design is to reflect the external beauty of the app.

I once saw a message about recruiting user experience designers and asked

If we say that around us, designers have the power to express ideas; Engineers have the power to realize ideas.

So what strength do user experience designers have and are qualified to become team members?

Everyone has his own ideas, and everyone has his own opinions. I won't talk about it much, but I'll leave it to you to think about it.

I don't have many applications installed on my mobile phone. I collected a screenshot of an application loaded with tips on my mobile phone.

Generally, there are three kinds of loading prompts. One is dialog, a dialog with progress circle, the other is a light hint toast without focus, and the other is the top view embedded in the content layout. The above applications seem to be like this.

First, ProgressDialog generally uses less mature products, because it is called simple and customized, which is not high.

Second, if toast is not customized, it is easy to be ignored or even despised by users. However, IOS does well, as shown in the figure.

Third, there will be more use. Generally, a thing called viewstub is used to cover the upper layer of the content layer. In fact, linear layout is also used. In short, it can be controlled properly.

The layout root layout is a relative layout, followed by a listview. Below the listview is a view displayed when the list is empty, and then a loaded viewstub

The previous loaded logo is followed by the logo displayed when the content is empty.

The conclusion is that:

1. The inflate () method of viewstub can only be called once. If inflate () is called, setvisibility (view. Visible) is called; Set to visible, but setvisibility (view. Visible) is called; You can't call inflate (), because this method setvisibility is to inflate the layout first, and then set the visibility.

2. listView.setEmptyView(); This method is also a little fastidious, that is, emptyview and listview are in the same container and are responsible for invalidation.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>