Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.37 KB | None | 0 0
  1. <android.support.constraint.ConstraintLayout
  2.    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="com.nokia.app.networkmeasurements.fragments.SmallCellFragment">
  8.  
  9.     <android.support.v7.widget.CardView
  10.        android:layout_width="0dp"
  11.        android:layout_height="0dp"
  12.        android:layout_marginBottom="8dp"
  13.        android:layout_marginEnd="8dp"
  14.        android:layout_marginLeft="8dp"
  15.        android:layout_marginRight="8dp"
  16.        android:layout_marginStart="8dp"
  17.        app:cardElevation="8dp"
  18.        app:layout_constraintBottom_toTopOf="@+id/acceptTestRunButton"
  19.        app:layout_constraintHorizontal_bias="0.0"
  20.        app:layout_constraintLeft_toLeftOf="parent"
  21.        app:layout_constraintRight_toRightOf="parent"
  22.        app:layout_constraintTop_toBottomOf="@+id/smallCell_cardView"/>
  23.  
  24.     <TextView
  25.        android:id="@+id/smallCell_testCellCid"
  26.        android:layout_width="wrap_content"
  27.        android:layout_height="wrap_content"
  28.        android:layout_marginStart="7dp"
  29.        android:text="Cell ID"
  30.        android:textSize="24dp"
  31.        android:textStyle="bold"
  32.        android:translationZ="10dp"
  33.        app:layout_constraintBottom_toBottomOf="@+id/smallCell_cardView"
  34.        app:layout_constraintLeft_toLeftOf="@+id/smallCell_cardView"
  35.        app:layout_constraintRight_toRightOf="@+id/smallCell_cardView"
  36.        app:layout_constraintTop_toTopOf="@+id/smallCell_cardView"
  37.        app:layout_constraintVertical_bias="0.3"/>
  38.  
  39.     <EditText
  40.        android:id="@+id/smallCell_editText"
  41.        android:layout_width="wrap_content"
  42.        android:layout_height="wrap_content"
  43.        android:layout_marginTop="8dp"
  44.        android:ems="10"
  45.        android:inputType="textPersonName"
  46.        android:translationZ="10dp"
  47.        app:layout_constraintBottom_toBottomOf="@+id/smallCell_cardView"
  48.        app:layout_constraintHorizontal_bias="0.16"
  49.        app:layout_constraintLeft_toLeftOf="parent"
  50.        app:layout_constraintRight_toRightOf="@+id/smallCell_cardView"
  51.        app:layout_constraintTop_toBottomOf="@+id/smallCell_testCellCid"
  52.        app:layout_constraintVertical_bias="0.06999999"
  53.        android:layout_marginLeft="8dp"/>
  54.  
  55.     <Button
  56.        android:id="@+id/acceptTestRunButton"
  57.        android:layout_width="0dp"
  58.        android:layout_height="wrap_content"
  59.        android:layout_gravity="center|bottom"
  60.        android:layout_marginBottom="8dp"
  61.        android:layout_marginLeft="8dp"
  62.        android:layout_marginRight="8dp"
  63.        android:stateListAnimator="@null"
  64.        android:text="Run acceptance test"
  65.        android:theme="?attr/accentedButtonStyle"
  66.        app:layout_constraintBottom_toBottomOf="parent"
  67.        app:layout_constraintLeft_toLeftOf="parent"
  68.        app:layout_constraintRight_toRightOf="parent"/>
  69.  
  70.     <android.support.v7.widget.CardView
  71.        android:id="@+id/smallCell_cardView"
  72.        android:layout_width="0dp"
  73.        android:layout_height="180dp"
  74.        android:layout_marginLeft="0dp"
  75.        app:cardElevation="8dp"
  76.        app:cardUseCompatPadding="true"
  77.        app:layout_constraintBottom_toBottomOf="parent"
  78.        app:layout_constraintHorizontal_bias="0.0"
  79.        app:layout_constraintLeft_toLeftOf="parent"
  80.        app:layout_constraintRight_toRightOf="parent"
  81.        app:layout_constraintTop_toTopOf="parent"
  82.        app:layout_constraintVertical_bias="0.013">
  83.  
  84.     </android.support.v7.widget.CardView>
  85.  
  86.  
  87.     <Button
  88.        android:id="@+id/button12"
  89.        android:layout_width="wrap_content"
  90.        android:layout_height="wrap_content"
  91.        android:layout_marginBottom="0dp"
  92.        android:layout_marginLeft="8dp"
  93.        android:layout_marginRight="8dp"
  94.        android:layout_marginTop="0dp"
  95.        android:translationZ="10dp"
  96.        android:text="Button"
  97.        android:theme="?attr/accentedButtonStyle"
  98.        app:layout_constraintBottom_toBottomOf="@+id/smallCell_editText"
  99.        app:layout_constraintLeft_toRightOf="@+id/smallCell_editText"
  100.        app:layout_constraintRight_toRightOf="@id/smallCell_cardView"
  101.        app:layout_constraintTop_toTopOf="@+id/smallCell_editText"/>
  102.  
  103. </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement