Advertisement
jaysnva

XML Dinamik Layout

Jan 21st, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.20 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.   xmlns:app="http://schemas.android.com/apk/res-auto"
  4.   android:layout_width="match_parent"
  5.   android:layout_height="match_parent"
  6.   android:background="@drawable/ic_blur_background_talking"
  7.   android:orientation="vertical"
  8.   android:layout_weight="4">
  9.  
  10.  
  11.     <LinearLayout
  12.       android:orientation="vertical"
  13.       android:layout_width="match_parent"
  14.       android:layout_height="match_parent"
  15.       android:layout_weight="1">
  16.  
  17.         <ImageView
  18.           android:layout_width="match_parent"
  19.           android:layout_height="wrap_content"
  20.           android:paddingTop="40dp"
  21.           app:srcCompat="@drawable/ic_avatar_talking"
  22.           android:id="@+id/imageView5" />
  23.     </LinearLayout>
  24.  
  25.     <LinearLayout
  26.       android:orientation="vertical"
  27.       android:layout_width="match_parent"
  28.       android:layout_height="match_parent"
  29.       android:layout_weight="1">
  30.  
  31.         <ImageView
  32.           android:layout_width="wrap_content"
  33.           android:layout_height="wrap_content"
  34.           android:layout_gravity="center"
  35.           android:paddingTop="30dp"
  36.           app:srcCompat="@drawable/ic_text_talking"
  37.           android:id="@+id/imageView6" />
  38.     </LinearLayout>
  39.  
  40.     <LinearLayout
  41.       android:orientation="vertical"
  42.       android:layout_width="match_parent"
  43.       android:layout_height="match_parent"
  44.       android:layout_weight="1">
  45.  
  46.         <LinearLayout
  47.           android:orientation="horizontal"
  48.           android:layout_width="match_parent"
  49.           android:layout_height="match_parent">
  50.  
  51.             <LinearLayout
  52.               android:orientation="vertical"
  53.               android:layout_width="match_parent"
  54.               android:layout_height="match_parent"
  55.               android:layout_weight="0.5">
  56.  
  57.                 <ImageView
  58.                   android:layout_width="match_parent"
  59.                   android:layout_height="wrap_content"
  60.                   app:srcCompat="@drawable/ic_mute_2"
  61.                   android:layout_gravity="center|end"
  62.                   android:id="@+id/imageView7" />
  63.             </LinearLayout>
  64.  
  65.             <LinearLayout
  66.               android:orientation="vertical"
  67.               android:layout_width="match_parent"
  68.               android:layout_height="match_parent"
  69.               android:layout_weight="0.5">
  70.  
  71.                 <ImageView
  72.                   android:layout_width="match_parent"
  73.                   android:layout_height="wrap_content"
  74.                   app:srcCompat="@drawable/ic_mute_speaker"
  75.                   android:id="@+id/imageView8" />
  76.             </LinearLayout>
  77.         </LinearLayout>
  78.     </LinearLayout>
  79.  
  80.     <LinearLayout
  81.       android:orientation="vertical"
  82.       android:layout_width="match_parent"
  83.       android:layout_height="match_parent"
  84.       android:layout_weight="1">
  85.  
  86.         <ImageView
  87.           android:layout_width="match_parent"
  88.           android:layout_height="wrap_content"
  89.           app:srcCompat="@drawable/ic_close_talking"
  90.           android:id="@+id/imageView9" />
  91.     </LinearLayout>
  92.  
  93. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement