You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/content.html
+40Lines changed: 40 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -136,6 +136,46 @@ <h4><a name="modifying-the-appearance">4 Modifying the dialog's appearance</a></
136
136
137
137
<p>If a dialog, which is created by the class <ahref="javadoc/de/mrapp/android/dialog/MaterialDialog.Builder.html" target="_blank" class="code">MaterialDialog.Builder</a>, should use an individual theme instead of the App's default theme, the theme's resource ID can be passed to the builder's constructor.</p>
138
138
139
+
<p>Besides using the setter methods mentioned above, theme attributes can be used to change the appearance of dialogs. The following table shows all available attributes. They must either be defined in the app's global theme or in the theme, whose ID is pased to the builder's constructor, if any.</p>
140
+
141
+
<table>
142
+
<tr>
143
+
<th>Theme attribute</th>
144
+
<th>Explaination</th>
145
+
<th>Format</th>
146
+
</tr>
147
+
<tr>
148
+
<td><tt>materialDialogTitleColor</tt></td>
149
+
<td>Specified the color of the dialogs' title.</td>
150
+
<td><center><tt>color</center></td>
151
+
</tr>
152
+
<tr>
153
+
<td><tt>materialDialogMessageColor</tt></td>
154
+
<td>Specifies the color of the dialogs' message.</td>
155
+
<td><center><tt>color</tt></center></td>
156
+
</tr>
157
+
<tr>
158
+
<td><tt>materialDialogItemColor</tt></td>
159
+
<td>Specifies the color of the dialogs' list items.</td>
160
+
<td><center><tt>color</tt></center></td>
161
+
</tr>
162
+
<tr>
163
+
<td><tt>materialDialogItemControlColor</tt></td>
164
+
<td>Specifies the color of the dialogs' item controls (e.g. checkboxes).</td>
165
+
<td><center><tt>color</tt></center></td>
166
+
</tr>
167
+
<tr>
168
+
<td><tt>materialDialogButtonTextColor</tt></td>
169
+
<td>Specifies the text color of the dialogs' buttons.</td>
<h4><aname="show-list-items">5 Use the dialog to show list items</a></h4>
140
180
141
181
<p>A dialog, which is created by the class <ahref="javadoc/de/mrapp/android/dialog/MaterialDialog.Builder.html" target="_blank" class="code">MaterialDialog.Builder</a> can also be used to show list items. Three different choice modes are available. Each one of them will be discussed in one of the following subsections.</p>
0 commit comments