Skip to content

Instantly share code, notes, and snippets.

@yerenutku
Created December 11, 2016 01:07
Show Gist options
  • Save yerenutku/a3955e99f3dee16a90d24658326fd6a5 to your computer and use it in GitHub Desktop.
Save yerenutku/a3955e99f3dee16a90d24658326fd6a5 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:text="Configure your url"/>
<EditText
android:id="@+id/etUrl"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="URL"
android:inputType="text"/>
<Button
android:id="@+id/btAdd"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/add_widget"/>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment