Advertisement
Guest User

Untitled

a guest
Jan 13th, 2015
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.77 KB | None | 0 0
  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2.    xmlns:tools="http://schemas.android.com/tools"
  3.    android:id="@+id/RelativeLayout1"
  4.    android:layout_width="match_parent"
  5.    android:layout_height="match_parent"
  6.    android:orientation="vertical" >
  7.  
  8.     <android.support.v4.view.ViewPager
  9.        android:id="@+id/frag_main_pager"
  10.        android:layout_width="match_parent"
  11.        android:layout_height="wrap_content"
  12.        android:layout_above="@+id/frag_main_controls"
  13.        android:layout_alignParentBottom="false"
  14.        android:layout_below="@+id/frag_main_indicator" />
  15.  
  16.     <RelativeLayout
  17.        android:id="@+id/frag_main_indicator"
  18.        android:layout_width="match_parent"
  19.        android:layout_height="wrap_content"
  20.        android:background="?attr/designBase400"
  21.        android:orientation="horizontal" >
  22.  
  23.         <LinearLayout
  24.            android:id="@+id/frag_main_indicator_left"
  25.            android:layout_width="wrap_content"
  26.            android:layout_height="wrap_content"
  27.            android:layout_alignParentLeft="true"
  28.            android:layout_alignParentStart="true"
  29.            android:layout_alignParentTop="true"
  30.            android:layout_centerVertical="true" >
  31.  
  32.             <ImageView
  33.                android:id="@+id/frag_main_pseduobutton_left"
  34.                android:layout_width="wrap_content"
  35.                android:layout_height="wrap_content"
  36.                android:contentDescription="@string/frag_main_pseudobutton_left_description"
  37.                android:padding="8dp"
  38.                android:src="@drawable/ic_action_left" />
  39.            
  40.             <View
  41.                android:layout_width="1dp"
  42.                android:layout_height="match_parent"
  43.                android:layout_marginBottom="8dp"
  44.                android:layout_marginTop="8dp"
  45.                android:background="@android:color/white" />
  46.  
  47.         </LinearLayout>
  48.  
  49.         <LinearLayout
  50.            android:id="@+id/frag_main_indicator_right"
  51.            android:layout_width="wrap_content"
  52.            android:layout_height="wrap_content"
  53.            android:layout_alignParentEnd="true"
  54.            android:layout_alignParentRight="true"
  55.            android:layout_alignParentTop="true"
  56.            android:layout_centerVertical="true" >
  57.            
  58.             <View
  59.                android:layout_width="1dp"
  60.                android:layout_height="match_parent"
  61.                android:layout_marginBottom="8dp"
  62.                android:layout_marginTop="8dp"
  63.                android:background="@android:color/white" />
  64.  
  65.             <ImageView
  66.                android:id="@+id/frag_main_pseudobutton_right"
  67.                android:layout_width="wrap_content"
  68.                android:layout_height="wrap_content"
  69.                android:contentDescription="@string/frag_main_pseudobutton_right_description"
  70.                android:padding="8dp"
  71.                android:src="@drawable/ic_action_right" />
  72.  
  73.         </LinearLayout>
  74.  
  75.         <RelativeLayout
  76.            android:id="@+id/frag_main_indicator_title_container"
  77.            android:layout_width="wrap_content"
  78.            android:layout_height="wrap_content"
  79.            android:layout_alignBottom="@id/frag_main_indicator_left"
  80.            android:layout_alignParentTop="true"
  81.            android:layout_toEndOf="@+id/frag_main_indicator_left"
  82.            android:layout_toLeftOf="@+id/frag_main_indicator_right"
  83.            android:layout_toRightOf="@+id/frag_main_indicator_left"
  84.            android:layout_toStartOf="@+id/frag_main_indicator_right"
  85.            android:paddingLeft="8dp"
  86.            android:paddingRight="8dp" >
  87.  
  88.             <TextView
  89.                android:id="@+id/frag_main_indicator_title"
  90.                android:layout_width="wrap_content"
  91.                android:layout_height="wrap_content"
  92.                android:layout_centerHorizontal="true"
  93.                android:layout_centerVertical="true"
  94.                android:textAppearance="@style/SpinnerItem" />
  95.  
  96.         </RelativeLayout>
  97.  
  98.     </RelativeLayout>
  99.  
  100.    <LinearLayout
  101.       android:id="@+id/frag_main_controls"
  102.       android:layout_width="wrap_content"
  103.       android:layout_height="wrap_content"
  104.       android:layout_alignParentBottom="true"
  105.       android:layout_alignParentEnd="true"
  106.       android:layout_alignParentLeft="true"
  107.       android:layout_alignParentRight="true"
  108.       android:layout_alignParentStart="true"
  109.       android:layout_alignParentTop="false"
  110.       android:background="?attr/designBase400" >
  111.  
  112.        <ImageView
  113.           android:id="@+id/frag_main_control_refresh"
  114.           android:layout_width="wrap_content"
  115.           android:layout_height="wrap_content"
  116.           android:layout_weight=".5"
  117.           android:contentDescription="@string/frag_main_reload_description"
  118.           android:paddingBottom="4dp"
  119.           android:paddingTop="4dp"
  120.           android:scaleType="fitCenter"
  121.           android:src="@drawable/ic_action_refresh" />
  122.        
  123.         <View
  124.            android:layout_width="1dp"
  125.            android:layout_height="match_parent"
  126.            android:layout_marginBottom="8dp"
  127.            android:layout_marginTop="8dp"
  128.            android:background="@android:color/white" />
  129.  
  130.         <ImageView
  131.            android:id="@+id/frag_main_control_settings"
  132.            android:layout_width="wrap_content"
  133.            android:layout_height="wrap_content"
  134.            android:layout_weight=".5"
  135.            android:contentDescription="@string/frag_main_settings_description"
  136.            android:paddingBottom="4dp"
  137.            android:paddingTop="4dp"
  138.            android:scaleType="fitCenter"
  139.            android:src="@drawable/ic_action_settings" />
  140.  
  141.     </LinearLayout>
  142.  
  143. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement