Main.axml 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:orientation="vertical"
  4. android:layout_width="fill_parent"
  5. android:layout_height="fill_parent"
  6. android:descendantFocusability="beforeDescendants"
  7. android:focusableInTouchMode="true">
  8. <EditText
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:id="@+id/search_text"
  12. android:text="XamarinDevDays"
  13. android:layout_margin="8dp" />
  14. <Button
  15. android:text="Get Tweets"
  16. android:layout_width="match_parent"
  17. android:layout_height="wrap_content"
  18. android:id="@+id/get_tweets"
  19. android:layout_marginLeft="8dp"
  20. android:layout_marginRight="8dp" />
  21. <ProgressBar
  22. style="?android:attr/progressBarStyleHorizontal"
  23. android:layout_width="match_parent"
  24. android:layout_height="wrap_content"
  25. android:id="@+id/progressBar" />
  26. <ListView
  27. android:minWidth="25px"
  28. android:minHeight="25px"
  29. android:layout_width="match_parent"
  30. android:layout_height="match_parent"
  31. android:id="@+id/listView" />
  32. </LinearLayout>