Skip to content

Instantly share code, notes, and snippets.

@Nalin12opal
Created July 24, 2015 03:00
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 Nalin12opal/23de581b23ae469170e8 to your computer and use it in GitHub Desktop.
Save Nalin12opal/23de581b23ae469170e8 to your computer and use it in GitHub Desktop.
<LinearLayout 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"
android:orientation="vertical"
tools:context=".MainActivity"
android:weightSum="1"
android:background="#249CBC" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:autoLink="web"
android:text="LED Control"
android:textStyle="bold"
android:textColor="#FFFFFF"/>
<Button
android:id="@+id/doon"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="CONNECT"
android:onClick="doGo"
android:textColor="#249CBC"/>
<WebView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/webView1"
/>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment