-
-
Save LondonAppDev/b2b3c2ed59dae9d94eeac3de4d260c20 to your computer and use it in GitHub Desktop.
1602 Layout Snippet
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
<EditText | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:inputType="textPersonName" | |
android:hint="GitHub Username" | |
android:text="LondonAppDev" | |
android:ems="10" | |
android:layout_alignParentTop="true" | |
android:layout_alignParentLeft="true" | |
android:layout_alignParentStart="true" | |
android:id="@+id/et_github_user" | |
android:layout_alignParentRight="true" | |
android:layout_alignParentEnd="true" /> | |
<Button | |
android:text="Get Repos" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_below="@+id/et_github_user" | |
android:layout_alignParentLeft="true" | |
android:layout_alignParentStart="true" | |
android:id="@+id/btn_get_repos" | |
android:layout_alignParentRight="true" | |
android:layout_alignParentEnd="true" | |
android:onClick="getReposClicked" /> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_below="@+id/btn_get_repos" | |
android:layout_alignParentLeft="true" | |
android:layout_alignParentStart="true" | |
android:id="@+id/tv_repo_list" | |
android:layout_alignParentBottom="true" | |
android:layout_alignParentRight="true" | |
android:scrollbars="vertical" | |
android:layout_alignParentEnd="true" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment