Skip to content

Commit

Permalink
📰 Updates Readme.MD and fixes MainActivity Layout
Browse files Browse the repository at this point in the history
  • Loading branch information
goforbg committed Nov 3, 2020
1 parent 6ae2d19 commit cc8aa20
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 17 deletions.
25 changes: 9 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,22 +118,15 @@ class MainActivity : AppCompatActivity(), PollView.CardPollWidgetCallBack {

#### Layout(XML)
```xml
<com.androchef.happytimer.countdowntimer.DynamicCountDownView
android:id="@+id/dynamicCountDownView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:dynamic_timer_text_color="@android:color/white"
app:dynamic_timer_text_separator_color="@color/colorGrey"
app:dynamic_timer_text_size="12sp"
app:dynamic_timer_separator_text_size="15sp"
app:dynamic_timer_text_isBold="true"
app:dynamic_timer_text__separator_isBold="true"
app:dynamic_timer_text_separator=":"
app:dynamic_show_hour="true"
app:dynamic_show_labels="true"
app:dynamic_show_minutes="true"
app:dynamic_show_seconds="true"
/>
<com.androar.droidgram.GradientTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:gradientStartColor="@color/default_gradient_text_view_color_two"
app:gradientEndColor="@color/default_gradient_text_view_color_three"
android:text="You like ice-cream though, don't you?"
android:textSize="26sp"
android:gravity="center"
android:layout_gravity="center"/>
```

#### Activity Or Fragment
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
app:pollBackgroundColor="@color/white"
app:pollOptionsCornerRadius="10dp"
app:questionText="@string/app_name" />
rr

<com.androar.droidgram.GradientTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
Expand Down

0 comments on commit cc8aa20

Please sign in to comment.