add AndroidBootstrap lib
This commit is contained in:
50
libraries/AndroidBootstrap/res/values/attrs.xml
Normal file
50
libraries/AndroidBootstrap/res/values/attrs.xml
Normal file
@@ -0,0 +1,50 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<declare-styleable name="BootstrapButton">
|
||||
<attr name="bb_type" format="string"/>
|
||||
<attr name="bb_icon_left" format="string"/>
|
||||
<attr name="bb_icon_right" format="string"/>
|
||||
<attr name="bb_roundedCorners" format="boolean"/>
|
||||
<attr name="bb_text_alignment" format="string"/>
|
||||
<attr name="bb_size" format="string"/>
|
||||
<attr name="bb_text_gravity" format="string"/>
|
||||
<attr name="android:textSize"/>
|
||||
<attr name="android:text"/>
|
||||
<attr name="android:enabled"/>
|
||||
<attr name="android:layout_width"/>
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="FontAwesomeText">
|
||||
<attr name="fa_icon" format="string"/>
|
||||
<attr name="android:textSize"/>
|
||||
<attr name="android:textColor"/>
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="BootstrapEditText">
|
||||
<attr name="be_roundedCorners" format="boolean"/>
|
||||
<attr name="be_state" format="string"/>
|
||||
<attr name="android:textSize"/>
|
||||
<attr name="android:text"/>
|
||||
<attr name="android:hint"/>
|
||||
<attr name="android:enabled"/>
|
||||
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="BootstrapThumbnail">
|
||||
<attr name="bt_roundedCorners" format="boolean"/>
|
||||
<attr name="bt_image" format="integer"/>
|
||||
<attr name="bt_width" format="dimension"/>
|
||||
<attr name="bt_height" format="dimension"/>
|
||||
<attr name="bt_inside_padding" format="dimension"/>
|
||||
<attr name="android:text"/>
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="BootstrapCircleThumbnail">
|
||||
<attr name="bct_image" format="integer"/>
|
||||
<attr name="bct_size" format="string" />
|
||||
<attr name="bct_minimal" format="boolean" />
|
||||
<attr name="android:text"/>
|
||||
</declare-styleable>
|
||||
|
||||
</resources>
|
||||
|
||||
65
libraries/AndroidBootstrap/res/values/colors.xml
Normal file
65
libraries/AndroidBootstrap/res/values/colors.xml
Normal file
@@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="white">#ffffffff</color>
|
||||
<color name="black">#ff000000</color>
|
||||
<color name="bbutton_edittext_border">#ccc</color>
|
||||
<color name="bbutton_edittext_disabled">#ffe0e0e0</color>
|
||||
|
||||
<color name="bbutton_primary">#ff428bca</color>
|
||||
<color name="bbutton_primary_edge">#ff357ebd</color>
|
||||
<color name="bbutton_primary_pressed">#ff3276b1</color>
|
||||
<color name="bbutton_primary_pressed_edge">#ff285e8e</color>
|
||||
<color name="bbutton_primary_disabled">#a5428bca</color>
|
||||
<color name="bbutton_primary_disabled_edge">#a5357ebd</color>
|
||||
|
||||
<color name="bbutton_danger">#ffd9534f</color>
|
||||
<color name="bbutton_danger_edge">#ffd43f3a</color>
|
||||
<color name="bbutton_danger_pressed">#ffd2322d</color>
|
||||
<color name="bbutton_danger_pressed_edge">#ffac2925</color>
|
||||
<color name="bbutton_danger_disabled">#a5d9534f</color>
|
||||
<color name="bbutton_danger_disabled_edge">#a5d43f3a</color>
|
||||
|
||||
|
||||
<color name="bbutton_success">#ff5cb85c</color>
|
||||
<color name="bbutton_success_edge">#ff4cae4c</color>
|
||||
<color name="bbutton_success_pressed">#ff47a447</color>
|
||||
<color name="bbutton_success_pressed_edge">#ff398439</color>
|
||||
<color name="bbutton_success_disabled">#a55cb85c</color>
|
||||
<color name="bbutton_success_disabled_edge">#a54cae4c</color>
|
||||
|
||||
|
||||
<color name="bbutton_warning">#fff0ad4e</color>
|
||||
<color name="bbutton_warning_edge">#ffeea236</color>
|
||||
<color name="bbutton_warning_pressed">#ffed9c28</color>
|
||||
<color name="bbutton_warning_pressed_edge">#ffd58512</color>
|
||||
<color name="bbutton_warning_disabled">#a5f0ad4e</color>
|
||||
<color name="bbutton_warning_disabled_edge">#a5eea236</color>
|
||||
|
||||
<color name="bbutton_info">#ff5bc0de</color>
|
||||
<color name="bbutton_info_edge">#ff46b8da</color>
|
||||
<color name="bbutton_info_pressed">#ff39b3d7</color>
|
||||
<color name="bbutton_info_pressed_edge">#ff269abc</color>
|
||||
<color name="bbutton_info_disabled">#a55bc0de</color>
|
||||
<color name="bbutton_info_disabled_edge">#a546b8da</color>
|
||||
|
||||
<color name="bbutton_default">#ffffffff</color>
|
||||
<color name="bbutton_default_edge">#ffcccccc</color>
|
||||
<color name="bbutton_default_pressed">#ffebebeb</color>
|
||||
<color name="bbutton_default_pressed_edge">#ffadadad</color>
|
||||
<color name="bbutton_default_disabled">#a5ffffff</color>
|
||||
<color name="bbutton_default_disabled_edge">#a5cccccc</color>
|
||||
|
||||
<color name="bbutton_inverse">#ff0a0a0a</color>
|
||||
<color name="bbutton_inverse_edge">#ff141414</color>
|
||||
<color name="bbutton_inverse_pressed">#ff1f1f1f</color>
|
||||
<color name="bbutton_inverse_pressed_edge">#ff292929</color>
|
||||
<color name="bbutton_inverse_disabled">#a50a0a0a</color>
|
||||
<color name="bbutton_inverse_disabled_edge">#a5141414</color>
|
||||
|
||||
<color name="bthumbnail_background">#ffffffff</color>
|
||||
<color name="bthumbnail_placeholder">#e9e9e9</color>
|
||||
<color name="bthumbnail_border">#dbdbdb</color>
|
||||
<color name="bthumbnail_font">#7e7e7e</color>
|
||||
|
||||
|
||||
</resources>
|
||||
14
libraries/AndroidBootstrap/res/values/dimens.xml
Normal file
14
libraries/AndroidBootstrap/res/values/dimens.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<resources>
|
||||
|
||||
<!-- Default screen margins, per the Android Design guidelines. -->
|
||||
<dimen name="activity_horizontal_margin">16dp</dimen>
|
||||
<dimen name="activity_vertical_margin">16dp</dimen>
|
||||
<dimen name="bbuton_rounded_corner_radius">5dp</dimen>
|
||||
|
||||
<dimen name="bthumbnail_rounded_corner_radius">3dp</dimen>
|
||||
|
||||
<dimen name="padding_micro">4dp</dimen>
|
||||
<dimen name="padding_small">8dp</dimen>
|
||||
<dimen name="padding_medium">12dp</dimen>
|
||||
<dimen name="padding_large">16dp</dimen>
|
||||
</resources>
|
||||
8
libraries/AndroidBootstrap/res/values/strings.xml
Normal file
8
libraries/AndroidBootstrap/res/values/strings.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<string name="app_name">BButton</string>
|
||||
<string name="action_settings">Settings</string>
|
||||
<string name="hello_world">Hello world!</string>
|
||||
|
||||
</resources>
|
||||
16
libraries/AndroidBootstrap/res/values/styles.xml
Normal file
16
libraries/AndroidBootstrap/res/values/styles.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<resources>
|
||||
|
||||
<!--
|
||||
Base application theme, dependent on API level. This theme is replaced
|
||||
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
|
||||
-->
|
||||
<style name="AppBaseTheme" parent="android:Theme.Light">
|
||||
<!--
|
||||
Theme customizations available in newer API levels can go in
|
||||
res/values-vXX/styles.xml, while customizations related to
|
||||
backward-compatibility can go here.
|
||||
-->
|
||||
</style>
|
||||
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user