Skip to content

Commit

Permalink
Merge pull request #119 from ritu99/patch-1
Browse files Browse the repository at this point in the history
Added adjustViewBounds
  • Loading branch information
janheinrichmerker authored Aug 14, 2016
2 parents e043797 + 18b4fb6 commit 3e9728c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion library/src/main/res/layout-land/fragment_simple_slide.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
android:layout_weight="1"
android:layout_gravity="center"
android:gravity="center"
android:adjustViewBounds="true"
tools:ignore="ContentDescription"
tools:src="@android:drawable/sym_action_call"/>

Expand Down Expand Up @@ -50,4 +51,4 @@

</LinearLayout>

</LinearLayout>
</LinearLayout>
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:gravity="center"
android:adjustViewBounds="true"
tools:ignore="ContentDescription"
tools:src="@android:drawable/sym_action_call"/>

Expand Down
3 changes: 2 additions & 1 deletion library/src/main/res/layout/fragment_simple_slide.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/mi_baseline"
android:gravity="center"
android:adjustViewBounds="true"
tools:ignore="ContentDescription"
tools:src="@android:drawable/sym_action_call"/>

Expand All @@ -38,4 +39,4 @@
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
tools:text="Lorem ipsum dolor sit amet, consectetur, adipisci velit, …" />

</LinearLayout>
</LinearLayout>
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/mi_baseline"
android:gravity="center"
android:adjustViewBounds="true"
tools:ignore="ContentDescription"
tools:src="@android:drawable/sym_action_call"/>

Expand All @@ -45,4 +46,4 @@

</LinearLayout>

</ScrollView>
</ScrollView>

0 comments on commit 3e9728c

Please sign in to comment.