Advertisement
AntonioLinux

active_main_example

Aug 17th, 2012
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.11 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout
  3.  xmlns:android="http://schemas.android.com/apk/res/android"
  4.  android:orientation="vertical"
  5.  android:layout_width="match_parent"
  6.  android:layout_height="match_parent"
  7.  android:paddingLeft="8dp"
  8.  android:paddingRight="8dp">
  9.  
  10.   <Button
  11.    android:id="@+id/buttonStart"
  12.    android:layout_width="fill_parent"
  13.    android:layout_height="wrap_content"
  14.    android:text="Start" />
  15.  
  16.    <Button
  17.    android:id="@+id/buttonAllarm"
  18.    android:layout_width="fill_parent"
  19.    android:layout_height="wrap_content"
  20.    android:text="Allarm" />
  21.  
  22.    <ListView
  23.    android:id="@android:id/list"
  24.    android:layout_width="match_parent"
  25.    android:layout_height="match_parent"
  26.    android:background="#00FF00"
  27.    android:layout_weight="1"
  28.    android:drawSelectorOnTop="false"/>  
  29.    <!-- per ora hai messo un testo ma sarebbe meglio un immagine -->
  30.   <TextView
  31.    android:id="@android:id/empty"
  32.    android:layout_width="match_parent"
  33.    android:layout_height="match_parent"
  34.    android:background="#FF0000"
  35.    android:text="No data" />
  36. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement