Skip to content

Instantly share code, notes, and snippets.

@vvs
Created November 19, 2012 21:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vvs/4114212 to your computer and use it in GitHub Desktop.
Save vvs/4114212 to your computer and use it in GitHub Desktop.
Bottom area layout reduction
<LinearLayout
android:id="@id/bottom_area_layout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:orientation="vertical" >
<!-- Buttons -->
<LinearLayout <!-- NOTE: everything works fine if this LinearLayout is removed -->
android:id="@+id/flashcard_layout_flip"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<Button
android:id="@+id/flip_card"
style="?android:attr/buttonStyleSmall"
android:layout_width="fill_parent"
android:layout_height="15sp"
android:background="@color/blue"
android:lines="1"
android:text="@string/show_answer" />
</LinearLayout>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment