Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 AutoCompleteTextView 中插入一个进度微调器,而另一个类执行自动完成功能。我在 EditText 中阅读了框架 Layout ed 修复它,但问题是:如何设置进度微调器?以及如何控制它?
在要显示 ProgressBar 的布局中使用它。您可以设置可见性、View.VISIBLE、View.GONE 使其可见和不可见。
<ProgressBar android:layout_width="wrap_content" android:layout_height="wrap_content" style="@android:style/Widget.ProgressBar.Small" android:layout_marginRight="5dp" />