Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.22 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.constraint.ConstraintLayout 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.    android:background="@color/colorPrimary">
  8.  
  9.  
  10.         <ProgressBar
  11.            android:id="@+id/progressBar"
  12.            style="?android:attr/progressBarStyleLarge"
  13.            android:layout_width="wrap_content"
  14.            android:layout_height="wrap_content"
  15.            android:visibility="visible"
  16.            app:layout_constraintBottom_toBottomOf="parent"
  17.            app:layout_constraintEnd_toEndOf="parent"
  18.            app:layout_constraintStart_toStartOf="parent"
  19.            app:layout_constraintTop_toTopOf="parent" />
  20.  
  21.         <TextView
  22.            android:id="@+id/tvEmpty"
  23.            android:layout_width="match_parent"
  24.            android:layout_height="wrap_content"
  25.            android:layout_marginStart="16dp"
  26.            android:layout_marginEnd="16dp"
  27.            android:gravity="center"
  28.            android:text="Jūsų biblioteka tuščia. Pridėkite turimą knygą!"
  29.            android:textSize="20sp"
  30.            app:layout_constraintBottom_toBottomOf="parent"
  31.            app:layout_constraintEnd_toEndOf="parent"
  32.            app:layout_constraintStart_toStartOf="parent"
  33.            app:layout_constraintTop_toTopOf="parent" />
  34.  
  35.  
  36.         <android.support.design.widget.FloatingActionButton
  37.            android:id="@+id/fab"
  38.            android:layout_width="wrap_content"
  39.            android:layout_height="wrap_content"
  40.            android:layout_alignParentEnd="true"
  41.            android:layout_alignParentBottom="true"
  42.            android:layout_gravity="bottom|end"
  43.            android:layout_marginEnd="16dp"
  44.            android:layout_marginBottom="55dp"
  45.            android:clickable="true"
  46.            android:focusable="true"
  47.            app:layout_constraintBottom_toBottomOf="parent"
  48.            app:layout_constraintEnd_toEndOf="parent"
  49.            app:srcCompat="@drawable/ic_add_black_24dp" />
  50.  
  51.  
  52. </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement