ipdan4ik

[lb9] fragment_left_n.xml

Apr 22nd, 2021
667
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.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.  
  8.     <TextView
  9.        android:id="@+id/textView"
  10.        android:layout_width="wrap_content"
  11.        android:layout_height="wrap_content"
  12.        android:layout_marginStart="4dp"
  13.        android:layout_marginTop="4dp"
  14.        android:text="Поиск по github:"
  15.        app:layout_constraintStart_toStartOf="parent"
  16.        app:layout_constraintTop_toTopOf="parent" />
  17.  
  18.     <EditText
  19.        android:id="@+id/search_field"
  20.        android:layout_width="wrap_content"
  21.        android:layout_height="42dp"
  22.        android:layout_marginStart="4dp"
  23.        android:layout_marginTop="2dp"
  24.        android:ems="10"
  25.        android:inputType="textPersonName"
  26.        app:layout_constraintStart_toStartOf="parent"
  27.        app:layout_constraintTop_toBottomOf="@+id/textView" />
  28.  
  29.     <Button
  30.        android:id="@+id/search_button"
  31.        android:layout_width="wrap_content"
  32.        android:layout_height="wrap_content"
  33.        android:layout_marginStart="4dp"
  34.        android:text="Найти"
  35.        app:layout_constraintEnd_toEndOf="parent"
  36.        app:layout_constraintHorizontal_bias="0.0"
  37.        app:layout_constraintStart_toEndOf="@+id/search_field"
  38.        app:layout_constraintTop_toBottomOf="@+id/textView" />
  39.  
  40.  
  41.     <ListView
  42.        android:id="@+id/list_elements"
  43.        android:layout_width="match_parent"
  44.        android:layout_height="550dp"
  45.        app:layout_constraintEnd_toEndOf="parent"
  46.        app:layout_constraintStart_toStartOf="parent"
  47.        app:layout_constraintTop_toBottomOf="@+id/search_button"/>
  48.  
  49.  
  50.     <Button
  51.        android:id="@+id/prev"
  52.        android:layout_width="wrap_content"
  53.        android:layout_height="wrap_content"
  54.        android:layout_marginStart="4dp"
  55.        android:layout_marginBottom="4dp"
  56.        android:text="@string/prev_btn"
  57.        app:layout_constraintBottom_toTopOf="@+id/textView3"
  58.        app:layout_constraintStart_toStartOf="parent"
  59.        app:layout_constraintTop_toBottomOf="@+id/list_elements"
  60.        app:layout_constraintVertical_bias="1.0" />
  61.  
  62.     <Button
  63.        android:id="@+id/next"
  64.        android:layout_width="wrap_content"
  65.        android:layout_height="wrap_content"
  66.        android:layout_marginEnd="4dp"
  67.        android:layout_marginBottom="4dp"
  68.        android:text="@string/next_btn"
  69.        app:layout_constraintBottom_toTopOf="@+id/textView3"
  70.        app:layout_constraintEnd_toEndOf="parent"
  71.        app:layout_constraintTop_toBottomOf="@+id/list_elements"
  72.        app:layout_constraintVertical_bias="1.0" />
  73.  
  74.     <TextView
  75.        android:id="@+id/current_page"
  76.        android:layout_width="wrap_content"
  77.        android:layout_height="wrap_content"
  78.        android:layout_marginBottom="4dp"
  79.        app:layout_constraintBottom_toTopOf="@+id/textView3"
  80.        app:layout_constraintEnd_toStartOf="@+id/next"
  81.        app:layout_constraintStart_toEndOf="@+id/prev"
  82.        app:layout_constraintTop_toBottomOf="@+id/list_elements"
  83.        app:layout_constraintVertical_bias="1.0" />
  84.  
  85.     <TextView
  86.        android:id="@+id/textView3"
  87.        android:layout_width="wrap_content"
  88.        android:layout_height="wrap_content"
  89.        android:layout_marginBottom="2dp"
  90.        android:text="@string/my_name"
  91.        app:layout_constraintBottom_toBottomOf="parent"
  92.        app:layout_constraintEnd_toEndOf="parent"
  93.        app:layout_constraintStart_toStartOf="parent" />
  94.  
  95. </androidx.constraintlayout.widget.ConstraintLayout>
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×