Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dupengtao/BubbleTextView
Android Bubble View
https://github.com/dupengtao/BubbleTextView
Last synced: about 2 months ago
JSON representation
Android Bubble View
- Host: GitHub
- URL: https://github.com/dupengtao/BubbleTextView
- Owner: dupengtao
- Created: 2015-07-26T06:29:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-08T03:33:33.000Z (almost 8 years ago)
- Last Synced: 2024-08-09T13:16:02.569Z (5 months ago)
- Language: Java
- Homepage:
- Size: 94.7 KB
- Stars: 668
- Watchers: 19
- Forks: 132
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-android-ui - https://github.com/dupengtao/BubbleTextView
README
# BubbleTextView
- Custom arrow position
- Custom fillet radius
- Custom background color
- Can be placed anywhere
- Two default style
- Two default theme## Snapshot
![BubbleTextView 2.0](http://7d9pic.com1.z0.glb.clouddn.com/bubblew_view3.png)
![BubbleTextView 1.0](http://7d9pic.com1.z0.glb.clouddn.com/bubblew_view.png)
## Custom Attribute
```xml
```
## Custom Style
```xml
<item name="bubbleBackgroundColor">@color/bubbleView_dark_background</item>
<item name="bubbleTextColor">@color/bubbleView_dark_text_color</item>
<item name="bubbleCornerRadius">@dimen/bubbleView_default_radius</item>
<item name="bubbleTextSize">@dimen/bubbleView_default_text_size</item>
<item name="bubbleBackgroundPressColor">@color/bubbleView_dark_press_background</item>
<item name="bubbleBackgroundColor">@color/bubbleView_light_background</item>
<item name="bubbleTextColor">@color/bubbleView_light_text_color</item>
<item name="bubbleBackgroundPressColor">@color/bubbleView_light_press_background</item>
<item name="bubbleBackgroundColor">@color/bubbleView_dark_background</item>
<item name="bubbleTextColor">@color/bubbleView_dark_text_color</item>
<item name="bubbleBackgroundPressColor">@color/bubbleView_dark_press_background</item>
```## License
Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.