Advertisement
banyucenter

detailHotelLayout.axml

Nov 20th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.79 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    android:orientation="vertical"
  4.    android:layout_width="match_parent"
  5.    android:layout_height="match_parent"
  6.    android:background="#ffffffff">
  7.     <ImageView
  8.        android:src="@android:drawable/ic_menu_gallery"
  9.        android:id="@+id/fotoDetail"
  10.        android:layout_width="match_parent"
  11.        android:layout_height="188.0dp"
  12.        android:scaleType="fitXY" />
  13.     <TextView
  14.        android:text="Nama Hotel"
  15.        android:textAppearance="?android:attr/textAppearanceMedium"
  16.        android:layout_width="match_parent"
  17.        android:layout_height="wrap_content"
  18.        android:id="@+id/namaDetail"
  19.        android:textStyle="bold"
  20.        android:gravity="left"
  21.        android:textSize="20dp"
  22.        android:background="#ff01579b"
  23.        android:padding="10dp"
  24.        android:textColor="#ffffffff" />
  25.     <TextView
  26.        android:text="Small Text"
  27.        android:textAppearance="?android:attr/textAppearanceSmall"
  28.        android:layout_width="match_parent"
  29.        android:layout_height="wrap_content"
  30.        android:id="@+id/alamatDetail"
  31.        android:padding="10dp"
  32.        android:background="#ff29b6f6"
  33.        android:textColor="#ffffffff" />
  34.     <TextView
  35.        android:text="Harga Hotel"
  36.        android:textAppearance="?android:attr/textAppearanceMedium"
  37.        android:layout_width="match_parent"
  38.        android:layout_height="wrap_content"
  39.        android:id="@+id/hargaDetail"
  40.        android:textStyle="bold"
  41.        android:gravity="left"
  42.        android:textSize="14dp"
  43.        android:background="#1abc9c"
  44.        android:padding="10dp"
  45.        android:textColor="#ffffffff" />
  46.     <TextView
  47.        android:text="Pemerintah Dinas Budaya dan Pariwisata Kabupaten Banyumas mengembangkan destinasi wisata alam Banyumas ini dengan berbagai macam wahana dan fasilitas untuk para pengunjung yang datang.Di Lokawisata Baturraden terdapat kolam renang, taman bermain, lembah sunyi, pemandangan gunung yang indah, sepeda air, hingga teater alam Baturraden."
  48.        android:layout_width="wrap_content"
  49.        android:layout_height="84.5dp"
  50.        android:id="@+id/txtKeterangan"
  51.        android:background="#ff0277bd"
  52.        android:padding="10dp"
  53.        android:textColor="#ffffffff"
  54.        android:maxLength="120" />
  55.     <LinearLayout
  56.        android:orientation="horizontal"
  57.        android:layout_width="match_parent"
  58.        android:layout_height="wrap_content"
  59.        android:weightSum="100"
  60.        android:id="@+id/linearLayout2"
  61.        android:background="#ff0288d1">
  62.         <Button
  63.            android:text="KULINER TERDEKAT"
  64.            android:layout_weight="50"
  65.            android:layout_width="123.0dp"
  66.            android:layout_height="wrap_content"
  67.            android:id="@+id/btnKuliner"
  68.            android:background="#ffffc107"
  69.            android:textColor="#ffffffff" />
  70.         <Button
  71.            android:text="WISATA TERDEKAT"
  72.            android:layout_weight="50"
  73.            android:layout_width="130.5dp"
  74.            android:layout_height="wrap_content"
  75.            android:id="@+id/btnWisata"
  76.            android:background="#ffff5722"
  77.            android:textColor="#ffffffff" />
  78.     </LinearLayout>
  79.     <LinearLayout
  80.        android:orientation="horizontal"
  81.        android:minWidth="25px"
  82.        android:minHeight="25px"
  83.        android:layout_width="match_parent"
  84.        android:layout_height="wrap_content"
  85.        android:weightSum="100"
  86.        android:id="@+id/linearLayout1"
  87.        android:layout_marginTop="20dp">
  88.         <ImageButton
  89.            android:src="@drawable/whatsapp"
  90.            android:layout_weight="25"
  91.            android:layout_width="56.5dp"
  92.            android:layout_height="wrap_content"
  93.            android:id="@+id/btnWhatsapp"
  94.            android:background="#ffffffff" />
  95.         <ImageButton
  96.            android:src="@drawable/instagram"
  97.            android:layout_weight="25"
  98.            android:layout_width="53.0dp"
  99.            android:layout_height="wrap_content"
  100.            android:id="@+id/btnInstagram"
  101.            android:background="#ffffffff" />
  102.         <ImageButton
  103.            android:src="@drawable/facebook"
  104.            android:layout_weight="25"
  105.            android:layout_width="54.0dp"
  106.            android:layout_height="wrap_content"
  107.            android:id="@+id/btnFacebook"
  108.            android:background="#ffffffff" />
  109.         <ImageButton
  110.            android:src="@drawable/mapss"
  111.            android:layout_weight="25"
  112.            android:layout_width="50.0dp"
  113.            android:layout_height="wrap_content"
  114.            android:id="@+id/btnMaps"
  115.            android:background="#ffffffff" />
  116.     </LinearLayout>
  117. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement