mmmyum

Untitled

Feb 14th, 2015
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.57 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:layout_width="match_parent"
  4.    android:layout_height="match_parent"
  5.    android:paddingLeft="@dimen/activity_horizontal_margin"
  6.    android:paddingRight="@dimen/activity_horizontal_margin"
  7.    android:paddingTop="@dimen/activity_vertical_margin"
  8.    android:paddingBottom="@dimen/activity_vertical_margin"
  9.    android:background="@color/blue"
  10.    tools:context="com.standapp.activity.error.ChromeExtErrorActivity">
  11.  
  12.     <RelativeLayout
  13.        android:layout_centerInParent="true"
  14.        android:layout_width="wrap_content"
  15.        android:layout_height="wrap_content"
  16.        android:id="@+id/relativeLayout">
  17.  
  18.  
  19.         <!--TODO Refactor button background into a seperate file-->
  20.     </RelativeLayout>
  21.  
  22.     <ImageView
  23.        android:layout_width="wrap_content"
  24.        android:id="@+id/iv_chromext_error"
  25.        android:src="@drawable/sa_ic_extension"
  26.        android:layout_height="wrap_content"
  27.        android:scaleType="center"
  28.        android:layout_centerVertical="true"
  29.        android:layout_alignParentLeft="true"
  30.        android:layout_alignParentStart="true"></ImageView>
  31.  
  32.     <TextView
  33.        android:text="@string/chrome_ext_error"
  34.        android:layout_width="wrap_content"
  35.        android:layout_height="wrap_content"
  36.        android:textStyle="bold"
  37.        android:textColor="@android:color/white"
  38.        android:id="@+id/tv_chromeext_error"
  39.        android:layout_alignTop="@+id/iv_chromext_error"
  40.        android:layout_toRightOf="@+id/iv_chromext_error"
  41.        android:layout_toEndOf="@+id/iv_chromext_error" />
  42.  
  43.     <Button
  44.        android:text="@string/already_have_ext"
  45.        android:layout_width="wrap_content"
  46.        android:layout_height="wrap_content"
  47.        android:padding="15dp"
  48.        android:id="@+id/btn_already_have_ext"
  49.        android:layout_alignTop="@+id/relativeLayout"
  50.        android:layout_alignRight="@+id/btn_chromeext_error_link"
  51.        android:layout_alignEnd="@+id/btn_chromeext_error_link" />
  52.  
  53.     <Button
  54.        android:text="@string/chrome_ext_error_link"
  55.        android:layout_width="wrap_content"
  56.        android:layout_height="wrap_content"
  57.        android:padding="15dp"
  58.        android:id="@+id/btn_chromeext_error_link"
  59.        android:layout_below="@+id/tv_chromeext_error"
  60.        android:layout_alignRight="@+id/tv_chromeext_error"
  61.        android:layout_alignEnd="@+id/tv_chromeext_error"
  62.        android:layout_marginTop="10dp" />
  63.  
  64.  
  65. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment