Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.65 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout 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="@color/slides_bg_color">
  7.  
  8.     <View
  9.        android:layout_width="match_parent"
  10.        android:layout_height="match_parent"
  11.        android:alpha="0.32"
  12.        android:background="@drawable/bg_slides"></View>
  13.  
  14.     <LinearLayout
  15.        android:layout_width="match_parent"
  16.        android:layout_height="match_parent"
  17.        android:orientation="vertical"
  18.        android:id="@+id/dataContainer">
  19.  
  20.         <FrameLayout
  21.            android:id="@+id/buttons"
  22.            android:layout_width="match_parent"
  23.            android:layout_height="wrap_content"
  24.            android:layout_weight="1">
  25.  
  26.             <Button
  27.                android:id="@+id/closeBtn"
  28.                android:layout_width="wrap_content"
  29.                android:layout_height="wrap_content"
  30.                android:layout_marginLeft="10dp"
  31.                android:layout_marginTop="10dp"
  32.                android:background="@drawable/bg_btn_white_rounded"
  33.                android:gravity="center"
  34.                android:minHeight="0dp"
  35.                android:padding="10dp"
  36.                android:text="@string/slides_close_btn"
  37.                android:textAllCaps="false"
  38.                android:textColor="#9C9B9B" />
  39.  
  40.             <Button
  41.                android:id="@+id/registrationBtn"
  42.                android:layout_width="wrap_content"
  43.                android:layout_height="wrap_content"
  44.                android:layout_gravity="right"
  45.                android:layout_marginRight="10dp"
  46.                android:layout_marginTop="10dp"
  47.                android:background="@drawable/bg_btn_orange_rounded"
  48.                android:drawableRight="@drawable/slides_right_arrow_30"
  49.                android:drawablePadding="5dp"
  50.                android:gravity="center"
  51.                android:minHeight="0dp"
  52.                android:padding="10dp"
  53.                android:text="@string/slides_registration_btn"
  54.                android:textAllCaps="false"
  55.                android:textColor="#FFFFFF" />
  56.         </FrameLayout>
  57.  
  58.         <FrameLayout
  59.            android:id="@+id/pagerContainer"
  60.            android:layout_width="match_parent"
  61.            android:layout_height="370dp"
  62.            android:layout_weight="3">
  63.  
  64.             <pro.creart.newbcs.ui.widget.WrappedImageView
  65.                android:id="@+id/city"
  66.                android:layout_width="match_parent"
  67.                android:layout_height="match_parent"
  68.                android:scaleType="fitCenter"
  69.                android:src="@drawable/slides_city" />
  70.  
  71.             <android.support.v4.view.ViewPager
  72.                android:id="@+id/viewPager"
  73.                android:layout_width="match_parent"
  74.                android:layout_height="match_parent" />
  75.         </FrameLayout>
  76.  
  77.         <FrameLayout
  78.            android:id="@+id/text"
  79.            android:layout_width="match_parent"
  80.            android:layout_height="wrap_content"
  81.            android:minHeight="80dp"
  82.            android:layout_weight="1">
  83.  
  84.             <pro.creart.newbcs.ui.widget.AlphaTextView
  85.                android:id="@+id/slideTitleNext"
  86.                android:layout_width="match_parent"
  87.                android:layout_height="match_parent"
  88.                android:gravity="center_horizontal"
  89.                android:textColor="#3F3E3E"
  90.                android:textSize="16sp"
  91.                android:textStyle="bold" />
  92.  
  93.             <pro.creart.newbcs.ui.widget.AlphaTextView
  94.                android:id="@+id/slideTitleCurrent"
  95.                android:layout_width="match_parent"
  96.                android:layout_height="match_parent"
  97.                android:gravity="center_horizontal"
  98.                android:textColor="#3F3E3E"
  99.                android:textSize="16sp"
  100.                android:textStyle="bold" />
  101.  
  102.         </FrameLayout>
  103.  
  104.         <me.relex.circleindicator.CircleIndicator
  105.            android:id="@+id/pagerIndicator"
  106.            android:layout_width="match_parent"
  107.            android:layout_height="wrap_content"
  108.            android:layout_alignParentBottom="true"
  109.            app:ci_animator="@animator/indicator_animator"
  110.            app:ci_drawable="@drawable/indicator_selected"
  111.            app:ci_drawable_unselected="@drawable/indicator_default"
  112.            app:ci_height="10dp"
  113.            app:ci_width="10dp"
  114.            android:minHeight="30dp"
  115.            android:layout_weight="1" />
  116.     </LinearLayout>
  117.  
  118.  
  119. </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement