Skip to content

Commit

Permalink
code clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhargav Mogra committed Jul 4, 2016
1 parent 7c8ecf4 commit fd5c9fb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion library/src/main/java/com/example/podslider/PodSlider.java
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,6 @@ protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
}

int numberOfPods = this.numberOfPods;
// float podRadius = height / 7;
int desiredWidth = height * numberOfPods;

//Measure Width
Expand Down
2 changes: 1 addition & 1 deletion sample/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

<com.example.podslider.PodSlider
android:id="@+id/pager_slider"
android:layout_width="match_parent"
android:layout_width="wrap_content"
android:layout_height="48dp"
app:mainSliderColor="@color/mainPodSlider"
app:podColor="#4CAF50"
Expand Down

0 comments on commit fd5c9fb

Please sign in to comment.