Skip to content

Commit 34863e6

Browse files
Update README.md
1 parent 0d6bc37 commit 34863e6

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

README.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,46 @@ Displays images in a rectangular View, themed with BootstrapBrand.
158158
/>
159159
```
160160
<img src="https://raw.github.com/Bearded-Hen/Android-Bootstrap/master/images/bootstrap_thumbnail.png" width="450" alt="BootstrapThumbnail">
161+
162+
###BootstrapWell
163+
Displays a view in a themed container.
164+
165+
```xml
166+
<com.beardedhen.androidbootstrap.BootstrapWell
167+
android:layout_width="match_parent"
168+
android:layout_height="wrap_content"
169+
android:layout_gravity="center"
170+
android:layout_margin="8dp"
171+
app:bootstrapSize="xl">
172+
173+
<TextView
174+
android:layout_width="wrap_content"
175+
android:layout_height="wrap_content"
176+
android:gravity="right"
177+
android:text="Look, I'm in a large well!"
178+
/>
179+
</com.beardedhen.androidbootstrap.BootstrapWell>
180+
```
181+
<img src="https://raw.github.com/Bearded-Hen/Android-Bootstrap/master/images/bootstrap_well.png" width="450" alt="BootstrapWell">
182+
183+
184+
###BootstrapDropDown
185+
Displays a view with dropdown options, supplied by an array of strings.
186+
187+
```xml
188+
<com.beardedhen.androidbootstrap.BootstrapDropDown
189+
android:layout_width="wrap_content"
190+
android:layout_height="wrap_content"
191+
android:layout_marginLeft="8dp"
192+
app:bootstrapText="Medium {fa_thumbs_o_up}"
193+
app:bootstrapBrand="regular"
194+
app:roundedCorners="true"
195+
app:bootstrapSize="md"
196+
app:dropdownResource="@array/bootstrap_dropdown_example_data"
197+
app:bootstrapExpandDirection="down"/>
198+
```
199+
<img src="https://raw.github.com/Bearded-Hen/Android-Bootstrap/master/images/bootstrap_dropdown.png" width="450" alt="BootstrapDropdown">
200+
161201
Custom Styles
162202
============
163203
Custom styles can be applied to any of the views in this library by creating a class which implements
@@ -173,6 +213,9 @@ BootstrapBrand, and setting it on the View. Please see the sample code of Bootst
173213
btn.setBootstrapBrand(new CustomBootstrapStyle(this);
174214
```
175215

216+
217+
218+
176219
Contributing
177220
============
178221
Contributions are very welcome! There are 3 main ways you can help out:

0 commit comments

Comments
 (0)