elsemTim

xml_andr

Nov 8th, 2019
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.80 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout
  3.    xmlns:android="http://schemas.android.com/apk/res/android"
  4.    xmlns:app="http://schemas.android.com/apk/res-auto"
  5.    xmlns:tools="http://schemas.android.com/tools"
  6.    android:layout_width="match_parent"
  7.    android:layout_height="wrap_content"
  8.    android:orientation="vertical">
  9.  
  10.     <ImageView
  11.        android:id="@+id/item_new_vacation_date_dates_ic"
  12.        android:layout_width="wrap_content"
  13.        android:layout_height="wrap_content"
  14.        android:layout_marginStart="@dimen/side_margin"
  15.        android:layout_marginTop="@dimen/side_margin"
  16.        android:layout_marginBottom="@dimen/side_margin"
  17.        android:src="@drawable/ic_new_vacation_date"
  18.        app:layout_constraintBottom_toBottomOf="parent"
  19.        app:layout_constraintStart_toStartOf="parent"
  20.        app:layout_constraintTop_toTopOf="parent" />
  21.  
  22.     <TextView
  23.        android:id="@+id/item_new_vacation_date_title"
  24.        style="@style/IntranetTheme.Text.Primary"
  25.        android:layout_width="wrap_content"
  26.        android:layout_height="wrap_content"
  27.        android:layout_marginStart="@dimen/inner_margin"
  28.        android:text="@string/new_vacation_dates"
  29.        app:layout_constraintBottom_toBottomOf="@id/item_new_vacation_date_dates_ic"
  30.        app:layout_constraintStart_toEndOf="@id/item_new_vacation_date_dates_ic"
  31.        app:layout_constraintTop_toTopOf="@id/item_new_vacation_date_dates_ic" />
  32.  
  33.     <TextView
  34.        android:id="@+id/item_new_vacation_date_dates"
  35.        style="@style/IntranetTheme.Text.Secondary"
  36.        android:layout_width="0dp"
  37.        android:layout_height="wrap_content"
  38.        android:layout_marginStart="@dimen/inner_margin"
  39.        android:layout_marginEnd="@dimen/inner_margin"
  40.        android:ellipsize="end"
  41.        android:gravity="end"
  42.        android:maxLines="1"
  43.        app:layout_constraintBottom_toBottomOf="@id/item_new_vacation_date_arrow_ic"
  44.        app:layout_constraintEnd_toStartOf="@id/item_new_vacation_date_arrow_ic"
  45.        app:layout_constraintStart_toEndOf="@+id/item_new_vacation_date_title"
  46.        app:layout_constraintTop_toTopOf="@id/item_new_vacation_date_arrow_ic"
  47.        tools:text="17.04.19 - 23.04.19" />
  48.  
  49.     <ImageView
  50.        android:id="@+id/item_new_vacation_date_arrow_ic"
  51.        android:layout_width="wrap_content"
  52.        android:layout_height="wrap_content"
  53.        android:layout_marginEnd="@dimen/side_margin"
  54.        android:src="@drawable/ic_new_vacation_date_arrow"
  55.        app:layout_constraintBottom_toBottomOf="@id/item_new_vacation_date_dates_ic"
  56.        app:layout_constraintEnd_toEndOf="parent"
  57.        app:layout_constraintTop_toTopOf="@id/item_new_vacation_date_dates_ic" />
  58. </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment