Advertisement
Guest User

Untitled

a guest
Nov 16th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 9.01 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:card_view="http://schemas.android.com/tools"
  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="match_parent"
  8.    tools:context=".ALunoActivity"
  9.    android:padding="8dp">
  10.  
  11.     <ScrollView
  12.        android:layout_width="match_parent"
  13.        android:layout_height="match_parent">
  14.  
  15.         <TableLayout
  16.            android:layout_width="match_parent"
  17.            android:layout_height="match_parent"
  18.            android:stretchColumns="*"
  19.            android:shrinkColumns="*"
  20.            android:orientation="vertical">
  21.  
  22.             <TableRow
  23.  
  24.                android:layout_width="match_parent"
  25.                android:layout_height="match_parent" >
  26.  
  27.                 <android.support.v7.widget.CardView
  28.                    android:id="@+id/cardPerfil"
  29.                    android:paddingTop="16dp"
  30.                    android:paddingBottom="16dp"
  31.                    android:layout_width="match_parent"
  32.                    android:layout_height="match_parent"
  33.                    android:layout_margin="6dp"
  34.                    android:layout_marginTop="6dp"
  35.                    app:cardElevation="3dp"
  36.                    app:cardPreventCornerOverlap="false"
  37.                    app:cardUseCompatPadding="false"
  38.                    card_view:cardCornerRadius="2dp"
  39.                    card_view:cardElevation="6dp">
  40.  
  41.                     <LinearLayout
  42.                        android:layout_width="match_parent"
  43.                        android:layout_height="match_parent"
  44.                        android:orientation="vertical"
  45.                        android:paddingTop="16dp"
  46.                        android:paddingBottom="16dp">
  47.  
  48.                         <ImageView
  49.                            android:layout_width="wrap_content"
  50.                            android:layout_height="wrap_content"
  51.                            android:layout_gravity="center"
  52.                            android:layout_marginTop="10dp"
  53.                            android:contentDescription="Icone de uma pessoa"
  54.                            app:srcCompat="@drawable/ic_person_black_24dp" />
  55.  
  56.                         <TextView
  57.                            android:layout_width="wrap_content"
  58.                            android:layout_height="wrap_content"
  59.                            android:layout_gravity="center"
  60.                            android:text="@string/perfil"
  61.                            android:textSize="16sp"
  62.                            android:textStyle="normal" />
  63.                     </LinearLayout>
  64.                 </android.support.v7.widget.CardView>
  65.  
  66.                 <android.support.v7.widget.CardView
  67.                    android:id="@+id/cardBusca"
  68.                    android:layout_width="match_parent"
  69.                    android:layout_height="match_parent"
  70.                    android:layout_margin="6dp"
  71.                    android:layout_marginTop="10dp"
  72.                    app:cardElevation="3dp"
  73.                    app:cardPreventCornerOverlap="false"
  74.                    app:cardUseCompatPadding="false"
  75.                    card_view:cardCornerRadius="2dp"
  76.                    card_view:cardElevation="6dp">
  77.  
  78.                     <LinearLayout
  79.                        android:layout_width="match_parent"
  80.                        android:layout_height="match_parent"
  81.                        android:orientation="vertical"
  82.                        android:paddingTop="16dp"
  83.                        android:paddingBottom="16dp">
  84.  
  85.                         <ImageView
  86.                            android:layout_width="wrap_content"
  87.                            android:layout_height="wrap_content"
  88.                            android:layout_gravity="center"
  89.                            android:layout_marginTop="10dp"
  90.                            android:contentDescription="Icone de uma pessoa"
  91.                            app:srcCompat="@drawable/ic_search_black_24dp" />
  92.  
  93.                         <TextView
  94.                            android:layout_width="wrap_content"
  95.                            android:layout_height="wrap_content"
  96.                            android:layout_gravity="center"
  97.                            android:text="@string/busca"
  98.                            android:textSize="16sp"
  99.                            android:textStyle="normal" />
  100.                     </LinearLayout>
  101.                 </android.support.v7.widget.CardView>
  102.  
  103.  
  104.  
  105.             </TableRow>
  106.  
  107.             <TableRow
  108.                android:layout_width="match_parent"
  109.                android:layout_height="match_parent" >
  110.  
  111.                 <android.support.v7.widget.CardView
  112.                    android:id="@+id/cardTurmas"
  113.                    android:layout_width="match_parent"
  114.                    android:layout_height="match_parent"
  115.                    android:layout_margin="6dp"
  116.                    android:layout_marginTop="6dp"
  117.                    android:paddingTop="16dp"
  118.                    android:paddingBottom="16dp"
  119.                    app:cardElevation="3dp"
  120.                    app:cardPreventCornerOverlap="false"
  121.                    app:cardUseCompatPadding="false"
  122.                    card_view:cardCornerRadius="2dp"
  123.                    card_view:cardElevation="6dp">
  124.  
  125.                     <LinearLayout
  126.                        android:id="@+id/card"
  127.                        android:layout_width="match_parent"
  128.                        android:layout_height="match_parent"
  129.                        android:orientation="vertical"
  130.                        android:paddingTop="16dp"
  131.                        android:paddingBottom="16dp">
  132.  
  133.                         <ImageView
  134.                            android:layout_width="wrap_content"
  135.                            android:layout_height="wrap_content"
  136.                            android:layout_gravity="center"
  137.                            android:layout_marginTop="10dp"
  138.                            android:contentDescription="Icone de uma pessoa"
  139.                            app:srcCompat="@drawable/ic_school_black_24dp" />
  140.  
  141.                         <TextView
  142.                            android:layout_width="wrap_content"
  143.                            android:layout_height="wrap_content"
  144.                            android:layout_gravity="center"
  145.                            android:text="@string/turmas"
  146.                            android:textSize="16sp"
  147.                            android:textStyle="normal" />
  148.                     </LinearLayout>
  149.                 </android.support.v7.widget.CardView>
  150.  
  151.                 <android.support.v7.widget.CardView
  152.                    android:id="@+id/cardConversas"
  153.                    android:layout_width="match_parent"
  154.                    android:layout_height="match_parent"
  155.                    android:layout_margin="6dp"
  156.                    android:layout_marginTop="6dp"
  157.                    android:paddingTop="16dp"
  158.                    android:paddingBottom="16dp"
  159.                    app:cardElevation="3dp"
  160.                    app:cardPreventCornerOverlap="false"
  161.                    app:cardUseCompatPadding="false"
  162.                    card_view:cardCornerRadius="2dp"
  163.                    card_view:cardElevation="6dp">
  164.  
  165.                     <LinearLayout
  166.                        android:layout_width="match_parent"
  167.                        android:layout_height="match_parent"
  168.                        android:orientation="vertical"
  169.                        android:paddingTop="16dp"
  170.                        android:paddingBottom="16dp">
  171.  
  172.                         <ImageView
  173.                            android:layout_width="wrap_content"
  174.                            android:layout_height="wrap_content"
  175.                            android:layout_gravity="center"
  176.                            android:layout_marginTop="10dp"
  177.                            android:contentDescription="Icone de uma pessoa"
  178.                            app:srcCompat="@drawable/ic_forum_black_24dp" />
  179.  
  180.                         <TextView
  181.                            android:layout_width="wrap_content"
  182.                            android:layout_height="wrap_content"
  183.                            android:layout_gravity="center"
  184.                            android:text="@string/conversas"
  185.                            android:textSize="16sp"
  186.                            android:textStyle="normal" />
  187.                     </LinearLayout>
  188.                 </android.support.v7.widget.CardView>
  189.             </TableRow>
  190.  
  191.             <TableRow
  192.                android:layout_width="match_parent"
  193.                android:layout_height="match_parent" />
  194.  
  195.             <TableRow
  196.                android:layout_width="match_parent"
  197.                android:layout_height="match_parent" />
  198.  
  199.         </TableLayout>
  200.     </ScrollView>
  201.  
  202. </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement