Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

active_main_fragment

By: AntonioLinux on Aug 8th, 2012  |  syntax: XML  |  size: 0.86 KB  |  hits: 17  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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:layout_width="fill_parent"
  12.    android:layout_height="wrap_content"
  13.    android:text="THIS IS A BUTTON" />
  14.  
  15.   <ListView
  16.    android:id="@android:id/list"
  17.    android:layout_width="match_parent"
  18.    android:layout_height="match_parent"
  19.    android:background="#00FF00"
  20.    android:layout_weight="1"
  21.    android:drawSelectorOnTop="false"/>
  22.  
  23.   <TextView
  24.    android:id="@android:id/empty"
  25.    android:layout_width="match_parent"
  26.    android:layout_height="match_parent"
  27.    android:background="#FF0000"
  28.    android:text="No data" />
  29. </LinearLayout>