2011 | OriginalPaper | Chapter
Defining and Using Styles
Activate our intelligent search to find suitable subject content or patents.
Select sections of text to find matching patents with Artificial Intelligence. powered by
Select sections of text to find additional relevant content using AI-assisted search. powered by
Every now and then, you will find some code with a cryptic style attribute in a layout element. For example, in the chapter on threading, the following ProgressBar was presented: <?xml version=“1.0” encoding=“utf-8”?> < LinearLayout xmlns:android=“http://schemas.android.com/apk/res/android” android:orientation=“vertical” android:layout_width=“fill_parent” android:layout_height=“fill_parent” > <ProgressBar android:id=“@+id/progress” style=“?android:attr/progressBarStyleHorizontal” android:layout_width=“fill_parent” android:layout_height=“wrap_content” /> </LinearLayout>