Advertisement
Guest User

Untitled

a guest
Jul 13th, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.80 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3. <android.support.percent.PercentRelativeLayout
  4.    xmlns:android="http://schemas.android.com/apk/res/android"
  5.    xmlns:app="http://schemas.android.com/apk/res-auto"
  6.    xmlns:tools="http://schemas.android.com/tools"
  7.    android:layout_width="match_parent"
  8.    android:layout_height="match_parent"
  9.    android:background="@color/colorPrimary"
  10.    tools:context=".MainActivity"
  11.    android:id="@+id/bgl0">
  12.  
  13.  
  14.     <android.support.v7.widget.Toolbar
  15.        xmlns:android="http://schemas.android.com/apk/res/android"
  16.        xmlns:app="http://schemas.android.com/apk/res-auto"
  17.        android:id="@+id/my_toolbar"
  18.        android:layout_width="match_parent"
  19.        android:layout_height="?attr/actionBarSize"
  20.        android:theme="@style/ThemeOverlay.AppCompat.ActionBar"
  21.        app:popupTheme="@style/ThemeOverlay.AppCompat.Light"/>
  22.  
  23.     <android.support.percent.PercentRelativeLayout
  24.        xmlns:android="http://schemas.android.com/apk/res/android"
  25.        xmlns:app="http://schemas.android.com/apk/res-auto"
  26.        xmlns:tools="http://schemas.android.com/tools"
  27.        android:layout_width="match_parent"
  28.        android:layout_height="match_parent"
  29.        tools:context=".MainActivity"
  30.        android:id="@+id/bgl"
  31.        android:layout_marginTop="168px">
  32.  
  33.         <android.support.percent.PercentRelativeLayout
  34.            xmlns:android="http://schemas.android.com/apk/res/android"
  35.            xmlns:app="http://schemas.android.com/apk/res-auto"
  36.            xmlns:tools="http://schemas.android.com/tools"
  37.            android:layout_width="match_parent"
  38.            android:layout_height="155px"
  39.            android:background="@color/colorPrimary"
  40.            tools:context=".MainActivity"
  41.            android:id="@+id/bg99">
  42.  
  43.             <Button
  44.                android:layout_width="wrap_content"
  45.                android:layout_height="fill_parent"
  46.                android:text="&lt;&lt;"
  47.                android:id="@+id/buttonP"
  48.                android:layout_alignParentLeft="true"
  49.                app:layout_widthPercent="30%" />
  50.  
  51.             <Button
  52.                android:layout_width="wrap_content"
  53.                android:layout_height="fill_parent"
  54.                android:text="MON 99/99/9999\nMON 99/99/9999"
  55.                android:id="@+id/button"
  56.                android:layout_centerHorizontal="true"
  57.                app:layout_widthPercent="40%"/>
  58.  
  59.  
  60.             <Button
  61.                android:layout_width="wrap_content"
  62.                android:layout_height="fill_parent"
  63.                android:text="&gt;&gt;"
  64.                android:id="@+id/buttonN"
  65.                android:layout_alignRight="@+id/button"
  66.                android:layout_alignParentRight="true"
  67.                app:layout_widthPercent="30%" />
  68.  
  69.             <Button
  70.                android:layout_width="wrap_content"
  71.                android:layout_height="fill_parent"
  72.                android:text="Hide image"
  73.                android:visibility="gone"
  74.                android:id="@+id/buttonClose"
  75.                app:layout_widthPercent="100%" />
  76.  
  77.         </android.support.percent.PercentRelativeLayout>
  78.  
  79.         <ListView
  80.            android:id="@+id/custom_list"
  81.            android:layout_width="fill_parent"
  82.            android:layout_height="wrap_content"
  83.            android:dividerHeight="1dp"
  84.            android:layout_weight="0.5"
  85.            android:layout_below="@+id/bg99"/>
  86.  
  87.         <ImageView
  88.            android:id="@+id/imageView1"
  89.            android:layout_width="fill_parent"
  90.            android:layout_height="fill_parent"
  91.            android:adjustViewBounds="true"
  92.            android:scaleType="centerCrop"
  93.            android:layout_below="@+id/bg99" />
  94.  
  95.         <!-- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  96.            android:orientation="vertical"
  97.            android:layout_width="match_parent"
  98.            android:layout_height="match_parent"
  99.            android:layout_below="@+id/bg99">
  100.  
  101.            <View
  102.                android:id="@+id/view1"
  103.                android:layout_width="match_parent"
  104.                android:layout_height="match_parent"/>
  105.  
  106.            <RelativeLayout
  107.                android:layout_width="match_parent"
  108.                android:layout_height="0dp"
  109.                android:layout_weight="0.5">
  110.  
  111.                <ImageView
  112.                    android:id="@+id/imageView1"
  113.                    android:layout_width="fill_parent"
  114.                    android:layout_height="fill_parent"
  115.                    android:adjustViewBounds="true"
  116.                    android:scaleType="centerCrop"/>
  117.  
  118.            </RelativeLayout>
  119.  
  120.        </LinearLayout> -->
  121.  
  122.  
  123.     </android.support.percent.PercentRelativeLayout>
  124.  
  125. </android.support.percent.PercentRelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement