Stories
CleverPush Story Widget
You can also implement CleverPush Stories into your application. For this, please set up a Story Widget in your CleverPush account. You can access stories via generated Widget Id and by following usage guide.
Story View
Story Player
How to use
Add xml to your layout
<com.cleverpush.stories.StoryView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:background_color="#000"
app:border_color="#cA4000"
app:fontFamily="CabinSketch-Bold"
app:story_view_height="500dp"
app:story_view_width="700dp"
app:text_color="#fff"
app:widget_id="o76hjaysdgohltyil" />
widget_id
Set the Story Widget ID using this attribute
Customizations
You can customize the experience of StoryView
using these attributes:
story_view_height
story view height in dpstory_view_width
story view width in dpborder_color
border colorbackground_color
story view background colortext_color
text colorfont_family
text font family