Created
December 11, 2017 03:15
-
-
Save mitchtabian/9c3f1fd149af7b9b9f710cbcf94fe80b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context="codingwithmitch.com.dialogfragmentactivity.MainActivity"> | |
<RelativeLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:id="@+id/activity_container"> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_centerHorizontal="true" | |
android:text="This is an Activity" | |
android:id="@+id/heading" | |
android:textSize="18sp" | |
android:textColor="#000"/> | |
<Button | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="open dialog" | |
android:layout_centerHorizontal="true" | |
android:id="@+id/open_dialog" | |
android:layout_below="@+id/heading" | |
android:layout_marginTop="20sp"/> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:id="@+id/input_display" | |
android:layout_below="@+id/open_dialog" | |
android:layout_marginTop="20dp" | |
android:layout_centerHorizontal="true" | |
android:textSize="15sp" | |
android:textColor="#000"/> | |
</RelativeLayout> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment