Advertisement
Guest User

chank

a guest
Dec 17th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 4.45 KB | None | 0 0
  1. <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2.     xmlns:app="http://schemas.android.com/apk/res-auto"
  3.     xmlns:tools="http://schemas.android.com/tools"
  4.     android:id="@+id/constraintLayout"
  5.     android:layout_width="match_parent"
  6.     android:layout_height="match_parent"
  7.     tools:context="com.example.kliklabs2.sinausqlite.Admin$PlaceholderFragment">
  8.  
  9.     <TextView
  10.         android:id="@+id/section_label"
  11.         android:layout_width="wrap_content"
  12.         android:layout_height="wrap_content"
  13.         android:layout_marginEnd="8dp"
  14.         android:layout_marginStart="8dp"
  15.         android:layout_marginTop="20dp"
  16.         app:layout_constraintEnd_toEndOf="parent"
  17.         app:layout_constraintStart_toStartOf="parent"
  18.         app:layout_constraintTop_toTopOf="parent"
  19.         tools:layout_constraintLeft_creator="1"
  20.         tools:layout_constraintTop_creator="1" />
  21.  
  22.     <ScrollView
  23.         android:layout_width="match_parent"
  24.         android:layout_height="0dp"
  25.         android:layout_marginBottom="20dp"
  26.         android:layout_marginEnd="8dp"
  27.         android:layout_marginStart="8dp"
  28.         android:layout_marginTop="15dp"
  29.         android:layout_weight="1"
  30.         android:paddingBottom="@dimen/activity_vertical_margin"
  31.         android:paddingLeft="@dimen/activity_horizontal_margin"
  32.         android:paddingRight="@dimen/activity_horizontal_margin"
  33.         android:paddingTop="@dimen/activity_vertical_margin"
  34.         app:layout_constraintBottom_toBottomOf="parent"
  35.         app:layout_constraintEnd_toEndOf="parent"
  36.         app:layout_constraintHorizontal_bias="0.0"
  37.         app:layout_constraintStart_toStartOf="parent"
  38.         app:layout_constraintTop_toBottomOf="@+id/section_label">
  39.  
  40.         <TableLayout
  41.             android:id="@+id/tableLayout"
  42.             android:layout_width="match_parent"
  43.             android:layout_height="wrap_content"
  44.             android:background="@color/colorPrimary"
  45.             tools:layout_editor_absoluteX="147dp"
  46.             tools:layout_editor_absoluteY="14dp">
  47.  
  48.             <TableRow
  49.                 android:id="@+id/tableHeader"
  50.                 android:layout_width="match_parent"
  51.                 android:layout_height="wrap_content"
  52.                 android:layout_margin="1dp"
  53.                 android:gravity="center_vertical">
  54.  
  55.                 <TextView
  56.                     android:layout_width="match_parent"
  57.                     android:layout_height="wrap_content"
  58.                     android:layout_weight="0.3"
  59.                     android:text="@string/code"
  60.                     android:textAlignment="center"
  61.                     android:textColor="@android:color/background_light" />
  62.  
  63.                 <TextView
  64.                     android:layout_width="match_parent"
  65.                     android:layout_height="wrap_content"
  66.                     android:layout_weight="0.3"
  67.                     android:text="@string/check_in"
  68.                     android:textAlignment="center"
  69.                     android:textColor="@android:color/background_light" />
  70.  
  71.                 <TextView
  72.                     android:layout_width="match_parent"
  73.                     android:layout_height="wrap_content"
  74.                     android:layout_weight="0.4"
  75.                     android:text="@string/date"
  76.                     android:textAlignment="center"
  77.                     android:textColor="@android:color/background_light" />
  78.             </TableRow>
  79.  
  80.  
  81.             <!--<TableRow-->
  82.             <!--android:layout_width="wrap_content"-->
  83.             <!--android:layout_height="wrap_content"-->
  84.             <!--android:layout_margin="1dp"-->
  85.             <!--android:layout_weight="1"-->
  86.             <!--android:background="@android:color/background_light"-->
  87.             <!--android:gravity="center_vertical">-->
  88.  
  89.             <!--<TextView-->
  90.             <!--android:layout_weight=".3"-->
  91.             <!--android:text="0000"-->
  92.             <!--android:textAlignment="center" />-->
  93.  
  94.             <!--<TextView-->
  95.             <!--android:layout_weight=".3"-->
  96.             <!--android:text="true"-->
  97.             <!--android:textAlignment="center" />-->
  98.  
  99.             <!--<TextView-->
  100.             <!--android:layout_weight=".3"-->
  101.             <!--android:text="Dec 31, 2017 12:59:59 PM"-->
  102.             <!--android:textAlignment="center" />-->
  103.             <!--</TableRow>-->
  104.  
  105.  
  106.         </TableLayout>
  107.     </ScrollView>
  108. </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement