Advertisement
Guest User

InfoGiziAxml

a guest
Dec 2nd, 2019
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MXML 5.31 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: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.    android:background="@color/bgGren"
  8.    tools:context=".InfoGiziAct">
  9.  
  10.     <View
  11.        android:id="@+id/view"
  12.        android:layout_width="match_parent"
  13.        android:layout_height="310dp"
  14.        android:background="@color/greenPrimary"
  15.        app:layout_constraintEnd_toEndOf="parent"
  16.        app:layout_constraintStart_toStartOf="parent"
  17.        app:layout_constraintTop_toTopOf="parent" />
  18.  
  19.     <TextView
  20.        android:id="@+id/textView2"
  21.        android:layout_width="wrap_content"
  22.        android:layout_height="wrap_content"
  23.        android:layout_marginEnd="8dp"
  24.        android:layout_marginStart="8dp"
  25.        android:layout_marginTop="24dp"
  26.        android:fontFamily="@font/mregular"
  27.        android:text="Informasi Gizi"
  28.        android:textAlignment="center"
  29.        android:textColor="#FFF"
  30.        android:textSize="24sp"
  31.        app:layout_constraintEnd_toEndOf="parent"
  32.        app:layout_constraintStart_toStartOf="parent"
  33.        app:layout_constraintTop_toTopOf="@+id/view" />
  34.  
  35.  
  36.     <LinearLayout
  37.        android:id="@+id/linearLayout2"
  38.        android:layout_width="match_parent"
  39.        android:layout_height="match_parent"
  40.        android:layout_marginStart="24dp"
  41.        android:layout_marginTop="100dp"
  42.        android:layout_marginEnd="24dp"
  43.        android:background="@drawable/bg_layout2"
  44.        android:orientation="vertical"
  45.        android:paddingTop="20dp"
  46.        android:paddingBottom="20dp"
  47.        app:layout_constraintEnd_toEndOf="parent"
  48.        app:layout_constraintStart_toStartOf="parent"
  49.        app:layout_constraintTop_toBottomOf="@+id/textView2">
  50.  
  51.         <ScrollView
  52.            android:id="@+id/scrolldua"
  53.            android:layout_width="match_parent"
  54.            android:layout_height="match_parent"
  55.            android:focusableInTouchMode="false"
  56.            android:orientation="vertical"
  57.            android:scrollbars="none">
  58.  
  59.             <LinearLayout
  60.                android:layout_width="match_parent"
  61.                android:layout_height="wrap_content"
  62.                android:layout_marginLeft="20dp"
  63.                android:layout_marginRight="20dp"
  64.                android:layout_marginBottom="24dp"
  65.                android:paddingBottom="100dp"
  66.                android:orientation="vertical">
  67.  
  68.                 <android.support.v7.widget.RecyclerView
  69.                    android:id="@+id/infogizi_place"
  70.                    android:layout_width="match_parent"
  71.                    android:layout_height="match_parent">
  72.  
  73.  
  74.                 </android.support.v7.widget.RecyclerView>
  75.  
  76.  
  77.  
  78.             </LinearLayout>
  79.  
  80.         </ScrollView>
  81.  
  82.  
  83.     </LinearLayout>
  84.  
  85.     <ImageView
  86.        android:id="@+id/imageView2"
  87.        android:layout_width="match_parent"
  88.        android:layout_height="80dp"
  89.        android:background="@drawable/bg_menu"
  90.        app:layout_constraintBottom_toBottomOf="parent" />
  91.  
  92.     <Button
  93.        android:id="@+id/btn_profilunclick"
  94.        android:layout_width="50dp"
  95.        android:layout_height="50dp"
  96.        android:layout_marginStart="8dp"
  97.        android:layout_marginEnd="8dp"
  98.        android:layout_marginBottom="8dp"
  99.        android:background="@drawable/icon_profil_unclick"
  100.        app:layout_constraintBottom_toBottomOf="parent"
  101.        app:layout_constraintEnd_toEndOf="@+id/imageView2"
  102.        app:layout_constraintHorizontal_bias="0.113"
  103.        app:layout_constraintStart_toStartOf="@+id/imageView2" />
  104.  
  105.     <Button
  106.        android:id="@+id/btn_makanuclick"
  107.        android:layout_width="50dp"
  108.        android:layout_height="50dp"
  109.        android:layout_marginEnd="8dp"
  110.        android:layout_marginBottom="8dp"
  111.        android:background="@drawable/icon_makan_unclick"
  112.        app:layout_constraintBottom_toBottomOf="parent"
  113.        app:layout_constraintEnd_toEndOf="@+id/imageView2"
  114.        app:layout_constraintHorizontal_bias="0.393"
  115.        app:layout_constraintStart_toStartOf="@+id/imageView2" />
  116.  
  117.     <Button
  118.        android:id="@+id/btn_infoclick"
  119.        android:layout_width="50dp"
  120.        android:layout_height="50dp"
  121.        android:layout_marginEnd="8dp"
  122.        android:layout_marginBottom="8dp"
  123.        android:background="@drawable/icon_info_click"
  124.        app:layout_constraintBottom_toBottomOf="parent"
  125.        app:layout_constraintEnd_toEndOf="@+id/imageView2"
  126.        app:layout_constraintHorizontal_bias="0.677"
  127.        app:layout_constraintStart_toStartOf="@+id/imageView2" />
  128.  
  129.     <Button
  130.        android:id="@+id/btn_tentangunclick"
  131.        android:layout_width="50dp"
  132.        android:layout_height="50dp"
  133.        android:layout_marginEnd="8dp"
  134.        android:layout_marginBottom="8dp"
  135.        android:background="@drawable/icon_tentang_unclick"
  136.        app:layout_constraintBottom_toBottomOf="parent"
  137.        app:layout_constraintEnd_toEndOf="@+id/imageView2"
  138.        app:layout_constraintHorizontal_bias="0.943"
  139.        app:layout_constraintStart_toStartOf="@+id/imageView2" />
  140.  
  141.  
  142.  
  143. </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement