List of usage examples for android.widget ProgressBar setScaleY
public void setScaleY(float scaleY)
From source file:app.android.example.com.commontcents.ListContentFragment.java
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View recyclerView = inflater.inflate(R.layout.item_list, container, false); final ProgressBar progressBar = (ProgressBar) recyclerView.findViewById(R.id.progress_bar); progressBar.setScaleY(3f); final Handler mHandler = new Handler(); mHandler.post(new Runnable() { public void run() { progressBar.incrementProgressBy(10 * poolCounter.getCount()); progressBar.setProgress(progressBar.getProgress()); }//from w w w. j a v a2 s . co m }); return recyclerView; }