Advertisement
Guest User

Untitled

a guest
Apr 2nd, 2019
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MXML 2.36 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    android:layout_width="match_parent"
  4.    android:layout_height="wrap_content"
  5.    android:background="@color/midnight"
  6.    android:orientation="vertical"
  7.    android:padding="8dp">
  8.  
  9.     <TextView
  10.        android:id="@+id/textViewTitle"
  11.        android:layout_width="wrap_content"
  12.        android:layout_height="wrap_content"
  13.        android:layout_gravity="center_horizontal"
  14.        android:text="@string/connect_to_device_desc"
  15.        android:textColor="@color/grey"
  16.        android:textSize="18sp"
  17.        android:textStyle="bold" />
  18.  
  19.  
  20.     <TextView
  21.        android:id="@+id/textViewDesc"
  22.        android:layout_width="wrap_content"
  23.        android:layout_height="wrap_content"
  24.        android:text="@string/help_search_device_desc"
  25.        android:textColor="@color/grey"
  26.        android:textStyle="normal" />
  27.  
  28.     <ProgressBar
  29.        android:id="@+id/progressBarSearch"
  30.        style="@style/Base.Widget.AppCompat.ProgressBar.Horizontal"
  31.        android:indeterminate="true"
  32.        android:visibility="visible"
  33.        android:layout_width="match_parent"
  34.        android:layout_height="wrap_content" />
  35.    
  36.     <View
  37.        android:id="@+id/divider"
  38.        android:layout_width="match_parent"
  39.        android:layout_height="2dp"
  40.        android:background="?android:attr/listDivider" />
  41.  
  42.     <android.support.v7.widget.RecyclerView
  43.        android:id="@+id/recyclerViewDeviceList"
  44.        android:layout_width="match_parent"
  45.        android:layout_height="250dp"
  46.        android:layout_marginTop="8dp" />
  47.  
  48.     <View
  49.        android:id="@+id/divider3"
  50.        android:layout_width="match_parent"
  51.        android:layout_height="2dp"
  52.        android:layout_marginTop="8dp"
  53.        android:background="?android:attr/listDivider" />
  54.  
  55.     <Button
  56.        android:id="@+id/buttonSearch"
  57.        android:layout_width="match_parent"
  58.        android:layout_height="wrap_content"
  59.        android:layout_gravity="center_horizontal"
  60.        android:layout_marginTop="8dp"
  61.        android:background="@drawable/default_button"
  62.        android:paddingLeft="8dp"
  63.        android:paddingRight="8dp"
  64.        android:stateListAnimator="@null"
  65.        android:text="@string/button_found"
  66.        android:textColor="@color/grey" />
  67.  
  68. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement