Advertisement
Guest User

rec_view

a guest
Oct 1st, 2016
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.75 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:ads="http://schemas.android.com/apk/res-auto"
  4.    xmlns:app="http://schemas.android.com/apk/res-auto"
  5.    xmlns:tools="http://schemas.android.com/tools"
  6.    android:id="@+id/activity_pilih_mode"
  7.    android:layout_width="match_parent"
  8.    android:layout_height="match_parent"
  9.    tools:context="com.mipro.ard.siapaindonesia.level_soal">
  10.     <ImageView
  11.        android:layout_width="wrap_content"
  12.        android:layout_height="wrap_content"
  13.        app:srcCompat="@drawable/bg"
  14.        android:layout_centerVertical="true"
  15.        android:layout_centerHorizontal="true"
  16.        android:id="@+id/imageView3"
  17.        android:scaleType="centerCrop" />
  18.  
  19.     <LinearLayout
  20.        android:orientation="horizontal"
  21.        android:layout_width="match_parent"
  22.        android:layout_alignParentTop="true"
  23.        android:layout_centerHorizontal="true"
  24.        android:padding="16dp"
  25.        android:layout_height="100dp">
  26.  
  27.         <LinearLayout
  28.            android:orientation="horizontal"
  29.            android:layout_width="0dp"
  30.            android:layout_weight="1"
  31.            android:layout_height="match_parent"
  32.            android:gravity="left">
  33.  
  34.             <ImageButton
  35.                android:id="@+id/back_btn"
  36.                android:scaleType="fitXY"
  37.                android:background="@android:color/transparent"
  38.                android:layout_width="60dp"
  39.                android:layout_height="60dp"
  40.                ads:srcCompat="@drawable/back_btn" />
  41.         </LinearLayout>
  42.         <LinearLayout
  43.            android:orientation="horizontal"
  44.            android:layout_width="0dp"
  45.            android:layout_weight="1"
  46.            android:layout_height="match_parent"
  47.            android:gravity="right">
  48.             <ImageButton
  49.                app:srcCompat="@drawable/help_btn"
  50.                android:id="@+id/set_btn"
  51.                android:scaleType="fitXY"
  52.                android:background="@android:color/transparent"
  53.                android:layout_width="60dp"
  54.                android:layout_height="60dp" />
  55.  
  56.         </LinearLayout>
  57.     </LinearLayout>
  58.  
  59.     <android.support.design.widget.CoordinatorLayout
  60.        android:id="@+id/level_layout"
  61.        android:layout_marginTop="100dp"
  62.        android:layout_width="match_parent"
  63.        android:layout_height="400dp">
  64.         <android.support.v7.widget.RecyclerView
  65.            android:id="@+id/rec_level"
  66.            android:padding="@dimen/activity_horizontal_margin"
  67.            android:layout_width="match_parent"
  68.            android:layout_height="match_parent"/>
  69.     </android.support.design.widget.CoordinatorLayout>
  70.  
  71. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement