Advertisement
Guest User

Untitled

a guest
May 23rd, 2015
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.25 KB | None | 0 0
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2.    xmlns:tools="http://schemas.android.com/tools"
  3.    android:layout_width="match_parent"
  4.    android:layout_height="match_parent"
  5.    android:orientation="vertical"
  6.    android:background="#000000"
  7.    tools:context=".MyBluetoothActivity" >
  8.  
  9.  
  10.     <LinearLayout
  11.        android:orientation="horizontal"
  12.        android:layout_width="250dp"
  13.        android:layout_height="wrap_content"
  14.        android:layout_gravity="center_horizontal"
  15.        android:layout_marginBottom="10dp"
  16.        android:layout_marginTop="20dp">
  17.  
  18.         <Button
  19.            android:id="@+id/btnOn"
  20.            android:layout_width="0dp"
  21.            android:layout_height="wrap_content"
  22.  
  23.  
  24.            android:layout_weight="1"
  25.            android:background="#40E0D0"
  26.            android:layout_marginRight="10dp" />
  27.  
  28.         <Button
  29.            android:id="@+id/btnOff"
  30.            android:layout_width="0dp"
  31.            android:layout_height="fill_parent"
  32.            android:text="@string/action_visibility"
  33.            android:background="#40E0D0"
  34.            android:layout_weight="1" />
  35.     </LinearLayout>
  36.  
  37.     <LinearLayout
  38.        android:orientation="horizontal"
  39.        android:layout_width="250dp"
  40.        android:layout_height="wrap_content"
  41.        android:layout_gravity="center_horizontal"
  42.        android:id="@+id/fnljfb">
  43.  
  44.         <Button
  45.            android:id="@+id/btnScan"
  46.            android:layout_width="0dp"
  47.            android:layout_height="wrap_content"
  48.            android:text="@string/action_scan"
  49.            android:background="#40E0D0"
  50.            android:layout_weight="1"
  51.            android:layout_marginRight="10dp" />
  52.  
  53.         <Button
  54.            android:id="@+id/btnPaired"
  55.            android:layout_width="0dp"
  56.            android:layout_height="wrap_content"
  57.            android:background="#40E0D0"
  58.            android:text="@string/action_paired"
  59.            android:layout_weight="1" />
  60.     </LinearLayout>
  61.  
  62.  
  63.     <ListView
  64.        android:id="@+id/devicesfound"
  65.        android:layout_width="fill_parent"
  66.        android:layout_height="fill_parent"
  67.        android:layout_margin="5dp"
  68.        android:layout_marginTop="10dp" />
  69.  
  70. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement