Advertisement
eirlis

Untitled

Feb 13th, 2017
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 11.91 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    android:orientation="vertical"
  4.    android:layout_width="match_parent"
  5.    android:layout_height="match_parent">
  6.  
  7.     <include android:id="@+id/toolbar" layout="@layout/toolbar"/>
  8.  
  9.     <ImageView
  10.        android:layout_width="match_parent"
  11.        android:layout_height="@dimen/fragment_scanner_result4_logo_height"
  12.        android:layout_marginTop="@dimen/fragment_scanner_result4_margin_top"
  13.        android:scaleType="centerInside"
  14.        android:src="@drawable/sportium"/>
  15.  
  16.     <LinearLayout
  17.        android:layout_width="match_parent"
  18.        android:layout_height="wrap_content"
  19.        android:orientation="vertical"
  20.        android:layout_marginTop="@dimen/fragment_scanner_result4_win_content_layout_margin_top">
  21.  
  22.         <!-- Win -->
  23.         <!--<ImageView-->
  24.             <!--android:layout_width="wrap_content"-->
  25.             <!--android:layout_height="@dimen/fragment_scanner_result4_logo_height"-->
  26.             <!--android:layout_gravity="center"-->
  27.             <!--android:visibility="visible"-->
  28.             <!--android:src="@drawable/enhorabuena"-->
  29.             <!--android:layout_marginTop="@dimen/fragment_scanner_result4_margin_top"-->
  30.             <!--android:scaleType="centerInside"-->
  31.             <!--/>-->
  32.  
  33.         <!-- Win -->
  34.         <TextView
  35.            android:id="@+id/enhorabuena"
  36.            android:layout_width="wrap_content"
  37.            android:layout_height="wrap_content"
  38.            android:layout_gravity="center"
  39.            android:visibility="visible"
  40.            android:text="@string/fragment_scanner_result4_text_header"
  41.            android:textSize="@dimen/fragment_scanner_result4_win_header_text_size"
  42.            android:textStyle="bold"
  43.            android:textColor="@color/colorPrimary"/>
  44.  
  45.  
  46.         <TextView
  47.            android:id="@+id/win"
  48.            android:layout_width="wrap_content"
  49.            android:layout_height="wrap_content"
  50.            android:layout_gravity="center"
  51.            android:visibility="visible"
  52.            android:text="@string/fragment_scanner_result4_text_win"
  53.            android:textAllCaps="true"
  54.            android:textSize="@dimen/fragment_scanner_result4_win_content_text_size"
  55.            android:textColor="@color/cardview_dark_background"
  56.            android:layout_marginTop="@dimen/fragment_scanner_result4_win_content_layout_margin_top" />
  57.  
  58.         <!-- Lost -->
  59.         <TextView
  60.            android:id="@+id/lost"
  61.            android:layout_width="wrap_content"
  62.            android:layout_height="wrap_content"
  63.            android:layout_gravity="center"
  64.            android:visibility="gone"
  65.            android:textAlignment="center"
  66.            android:text="@string/fragment_scanner_result4_text_bet_is_losing"
  67.            android:textAllCaps="true"
  68.            android:textSize="@dimen/fragment_scanner_result4_win_content_text_size"
  69.            android:textColor="@color/cardview_dark_background"
  70.            android:layout_marginTop="@dimen/fragment_scanner_result4_win_content_layout_margin_top" />
  71.  
  72.         <!-- Pending -->
  73.         <TextView
  74.            android:id="@+id/pending"
  75.            android:layout_width="wrap_content"
  76.            android:layout_height="wrap_content"
  77.            android:layout_gravity="center"
  78.            android:visibility="gone"
  79.            android:textAlignment="center"
  80.            android:text="@string/fragment_scanner_result4_text_bet_is_not_settled"
  81.            android:textAllCaps="true"
  82.            android:textSize="@dimen/fragment_scanner_result4_win_content_text_size"
  83.            android:textColor="@color/cardview_dark_background"
  84.            android:layout_marginTop="@dimen/fragment_scanner_result4_win_content_layout_margin_top" />
  85.  
  86.         <LinearLayout
  87.            android:layout_width="wrap_content"
  88.            android:layout_height="wrap_content"
  89.            android:layout_gravity="center"
  90.            android:visibility="visible"
  91.            android:layout_marginTop="@dimen/fragment_scanner_result4_win_content_rect_margin_top"
  92.            android:background="@android:color/black"
  93.            android:gravity="center">
  94.  
  95.             <TextView
  96.                android:id="@+id/cost"
  97.                android:layout_width="wrap_content"
  98.                android:layout_height="wrap_content"
  99.                android:paddingLeft="@dimen/fragment_scanner_result4_win_content_rect_padding_horizontal"
  100.                android:paddingRight="@dimen/fragment_scanner_result4_win_content_rect_padding_horizontal"
  101.                android:text="1.67€"
  102.                android:textSize="@dimen/fragment_scanner_result4_win_content_rect_text_size"
  103.                android:textColor="@android:color/white"/>
  104.  
  105.             </LinearLayout>
  106.     </LinearLayout>
  107.  
  108.     <LinearLayout
  109.        android:layout_width="match_parent"
  110.        android:layout_height="wrap_content"
  111.        android:layout_gravity="center"
  112.        android:layout_marginTop="@dimen/fragment_scanner_result4_bet_content_margin_top"
  113.        android:orientation="vertical"
  114.        android:visibility="visible">
  115.  
  116.         <TextView
  117.            android:layout_width="wrap_content"
  118.            android:layout_height="wrap_content"
  119.            android:layout_gravity="center"
  120.            android:text="@string/fragment_scanner_result4_text_bet"
  121.            android:textSize="@dimen/fragment_scanner_result4_win_content_text_size"
  122.            android:textColor="@color/cardview_dark_background"
  123.            android:visibility="gone"/>
  124.  
  125.         <LinearLayout
  126.            android:layout_width="match_parent"
  127.            android:layout_height="wrap_content"
  128.            android:orientation="vertical"
  129.            android:layout_marginTop="@dimen/fragment_scanner_result4_bet_rectangle_margin_top"
  130.            android:layout_marginLeft="@dimen/fragment_scanner_result4_bet_rectangle_margin_horizontal"
  131.            android:layout_marginRight="@dimen/fragment_scanner_result4_bet_rectangle_margin_horizontal"
  132.            android:background="@android:color/black">
  133.  
  134.             <!-- SIGUE APOSTANDO EN TU... -->
  135.             <TextView
  136.                android:id="@+id/continue_betting"
  137.                android:layout_width="match_parent"
  138.                android:layout_height="wrap_content"
  139.                android:gravity="center"
  140.                android:lines="2"
  141.                android:paddingTop="@dimen/fragment_scanner_result4_bet_rectangle_padding_vertical"
  142.                android:paddingBottom="@dimen/fragment_scanner_result4_bet_rectangle_padding_vertical"
  143.                android:visibility="visible"
  144.                android:text="@string/fragment_scanner_result4_text_bet_rectangle2"
  145.                android:textColor="@android:color/white"
  146.                android:textSize="@dimen/fragment_scanner_result4_bet_rectangle_text_size"/>
  147.  
  148.             <!-- Ya puedes cobrar tu apuesta... -->
  149.             <TextView
  150.                android:id="@+id/cash_your_bet"
  151.                android:layout_width="match_parent"
  152.                android:layout_height="wrap_content"
  153.                android:gravity="center"
  154.                android:lines="2"
  155.                android:paddingTop="@dimen/fragment_scanner_result4_bet_rectangle_padding_vertical"
  156.                android:paddingBottom="@dimen/fragment_scanner_result4_bet_rectangle_padding_vertical"
  157.                android:visibility="gone"
  158.                android:text="@string/fragment_scanner_result4_text_bet_rectangle"
  159.                android:textAllCaps="true"
  160.                android:textColor="@android:color/white"
  161.                android:textSize="@dimen/fragment_scanner_result4_bet_rectangle_text_size"/>
  162.  
  163.         </LinearLayout>
  164.  
  165.     </LinearLayout>
  166.  
  167.     <LinearLayout
  168.        android:layout_width="wrap_content"
  169.        android:layout_height="wrap_content"
  170.        android:layout_gravity="center"
  171.        android:orientation="vertical">
  172.  
  173.         <LinearLayout
  174.            android:layout_width="wrap_content"
  175.            android:layout_height="wrap_content"
  176.            android:layout_marginTop="@dimen/fragment_scanner_result4_bet_content_layout_margin_top">
  177.             <ImageView
  178.                android:layout_width="@dimen/fragment_scanner_result4_bet_barcode_width"
  179.                android:layout_height="@dimen/fragment_scanner_result4_bet_barcode_height"
  180.                android:src="@drawable/dashboard_barcode"/>
  181.             <TextView
  182.                android:layout_width="wrap_content"
  183.                android:layout_height="wrap_content"
  184.                android:layout_marginLeft="@dimen/fragment_scanner_result4_bet_barcode_margin_left"
  185.                android:textColor="@color/cardview_dark_background"
  186.                android:layout_gravity="center_vertical"
  187.                android:text="@string/fragment_scanner_result4_text_check_another_bet"
  188.                android:textAllCaps="true"
  189.                android:textSize="@dimen/fragment_scanner_result4_check_bet_text_size"/>
  190.         </LinearLayout>
  191.  
  192.         <TextView
  193.            android:layout_width="wrap_content"
  194.            android:layout_height="wrap_content"
  195.            android:textColor="@color/cardview_dark_background"
  196.            android:layout_gravity="center"
  197.            android:layout_marginTop="@dimen/fragment_scanner_result4_share_layout_margin_top"
  198.            android:text="@string/fragment_scanner_result4_text_share"
  199.            android:textAllCaps="true"
  200.            android:textSize="@dimen/fragment_scanner_result4_check_bet_text_size"/>
  201.     </LinearLayout>
  202.  
  203.     <LinearLayout
  204.        android:id="@+id/dashboard_social_btns_container"
  205.        android:layout_width="wrap_content"
  206.        android:layout_height="wrap_content"
  207.        android:layout_marginTop="@dimen/fragment_scanner_result4_social_layout_margin_top"
  208.        android:layout_gravity="center_horizontal"
  209.        android:orientation="horizontal">
  210.  
  211.         <ImageButton
  212.            android:id="@+id/social_facebook_btn"
  213.            android:layout_width="@dimen/fragment_scanner_result4_social_buttons_size"
  214.            android:layout_height="@dimen/fragment_scanner_result4_social_buttons_size"
  215.            android:layout_marginLeft="@dimen/fragment_scanner_result4_social_buttons_margin_left"
  216.            android:background="@android:color/transparent"
  217.            android:scaleType="centerCrop"
  218.            android:src="@drawable/facebook" />
  219.  
  220.         <ImageButton
  221.            android:id="@+id/social_google_plus_btn"
  222.            android:layout_width="@dimen/fragment_scanner_result4_social_buttons_size"
  223.            android:layout_height="@dimen/fragment_scanner_result4_social_buttons_size"
  224.            android:layout_marginLeft="@dimen/fragment_scanner_result4_social_buttons_margin_left"
  225.            android:background="@android:color/transparent"
  226.            android:scaleType="centerCrop"
  227.            android:src="@drawable/googleplus" />
  228.  
  229.         <ImageButton
  230.            android:id="@+id/social_twitter_btn"
  231.            android:layout_width="@dimen/fragment_scanner_result4_social_buttons_size"
  232.            android:layout_height="@dimen/fragment_scanner_result4_social_buttons_size"
  233.            android:layout_marginLeft="@dimen/fragment_scanner_result4_social_buttons_margin_left"
  234.            android:background="@android:color/transparent"
  235.            android:scaleType="centerCrop"
  236.            android:src="@drawable/twitter" />
  237.  
  238.     </LinearLayout>
  239.  
  240.     <TextView
  241.        android:layout_width="wrap_content"
  242.        android:layout_height="wrap_content"
  243.        android:textColor="@color/fragment_scanner_result3_value_text_size"
  244.        android:layout_marginTop="@dimen/fragment_scanner_result4_margin_top"
  245.        android:layout_marginBottom="@dimen/fragment_scanner_result4_footer_margin_bottom"
  246.        android:layout_gravity="center"
  247.        android:text="@string/fragment_scanner_result4_text_footer"
  248.        android:textSize="@dimen/fragment_scanner_result4_footer_text_size" />
  249.  
  250. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement