Skip to content

Instantly share code, notes, and snippets.

@Dmuasya
Created February 11, 2021 18:51
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 Dmuasya/c808d8d7db7238737322b9a6543afecd to your computer and use it in GitHub Desktop.
Save Dmuasya/c808d8d7db7238737322b9a6543afecd to your computer and use it in GitHub Desktop.
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin"
tools:context="com.dennism.DialogDemoActivity">
<Button
android:id="@+id/button1"
android:text="show"
android:layout_centerInParent="true"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment