Facebook
From Paltry Flamingo, 5 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 226
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.     xmlns:app="http://schemas.android.com/apk/res-auto"
  4.     xmlns:tools="http://schemas.android.com/tools"
  5.     android:layout_width="match_parent"
  6.     android:layout_height="match_parent"
  7.     tools:context=".MainActivity"
  8.     android:orientation="vertical">
  9.  
  10.     <LinearLayout
  11.         android:layout_width="match_parent"
  12.         android:layout_height="wrap_content"
  13.         android:orientation="horizontal">
  14.         <TextView
  15.             android:layout_width="wrap_content"
  16.             android:layout_height="wrap_content"
  17.             android:text="Adres:"/>
  18.         <EditText
  19.             android:layout_width="match_parent"
  20.             android:layout_height="wrap_content"
  21.             android:id="@+id/address"/>
  22.  
  23.     </LinearLayout>
  24.     <Button
  25.         android:layout_width="match_parent"
  26.         android:layout_height="wrap_content"
  27.         android:text="Pobierz informacje"
  28.         android:textAllCaps="false"
  29.         android:id="@+id/downloadinfo"/>
  30.     <LinearLayout
  31.         android:layout_width="match_parent"
  32.         android:layout_height="wrap_content"
  33.         android:orientation="horizontal">
  34.         <TextView
  35.             android:layout_width="wrap_content"
  36.             android:layout_height="wrap_content"
  37.             android:text="Rozmiar pliku:"/>
  38.         <TextView
  39.             android:layout_width="match_parent"
  40.             android:layout_height="wrap_content"
  41.             android:id="@+id/sizeofthefile"/>
  42.  
  43.     </LinearLayout>
  44.     <LinearLayout
  45.         android:layout_width="match_parent"
  46.         android:layout_height="wrap_content"
  47.         android:orientation="horizontal">
  48.         <TextView
  49.             android:layout_width="wrap_content"
  50.             android:layout_height="wrap_content"
  51.             android:text="Typ pliku:"/>
  52.         <TextView
  53.             android:layout_width="match_parent"
  54.             android:layout_height="wrap_content"
  55.             android:id="@+id/typeofthefile"/>
  56.  
  57.     </LinearLayout>
  58.  
  59.         <Button
  60.             android:layout_width="match_parent"
  61.             android:layout_height="wrap_content"
  62.             android:text="Pobierz plik"
  63.             android:textAllCaps="false"
  64.             android:id="@+id/downloadbutton"/>
  65.  
  66.  
  67.     <LinearLayout
  68.         android:layout_width="match_parent"
  69.         android:layout_height="wrap_content"
  70.         android:orientation="horizontal">
  71.         <TextView
  72.             android:layout_width="wrap_content"
  73.             android:layout_height="wrap_content"
  74.             android:text="Pobrano bajtów:"/>
  75.         <TextView
  76.             android:layout_width="match_parent"
  77.             android:layout_height="wrap_content"
  78.             android:id="@+id/bytesdownloaded"/>
  79.  
  80.     </LinearLayout>
  81.  
  82.  
  83.     <ProgressBar
  84.         android:id="@+id/progressBar"
  85.         style="?android:attr/progressBarStyleHorizontal"
  86.         android:layout_width="match_parent"
  87.         android:layout_height="wrap_content" />
  88. </LinearLayout>