Advertisement
aldakur

bosteko_score_activity_main.xml

Aug 27th, 2015
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 14.50 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout 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.    android:padding="10dp">
  7.  
  8.     <LinearLayout
  9.        android:id="@+id/activity_main_linear_nombre_equipos"
  10.        android:orientation="horizontal"
  11.        android:layout_width="fill_parent"
  12.        android:layout_height="wrap_content"
  13.        android:gravity="center_horizontal"
  14.        android:background="@color/Yellow">
  15.  
  16.         <TextView
  17.            android:layout_width="wrap_content"
  18.            android:layout_height="wrap_content"
  19.            android:text="@string/local"
  20.            android:id="@+id/activity_main_tv_local"
  21.            android:layout_weight="1"
  22.            android:gravity="center_horizontal"/>
  23.         <TextView
  24.            android:layout_width="wrap_content"
  25.            android:layout_height="wrap_content"
  26.            android:text="@string/visitor"
  27.            android:id="@+id/activity_main_tv_visitor"
  28.            android:layout_weight="1"
  29.            android:gravity="center_horizontal"/>
  30.  
  31.     </LinearLayout>
  32.  
  33.     <LinearLayout
  34.        android:id="@+id/activity_main_linear_marcador_general"
  35.        android:orientation="horizontal"
  36.        android:layout_width="fill_parent"
  37.        android:layout_height="wrap_content"
  38.        android:gravity="center_horizontal"
  39.        android:background="@color/red"
  40.        android:layout_below="@+id/activity_main_linear_nombre_equipos">
  41.  
  42.         <ImageView
  43.            android:layout_width="wrap_content"
  44.            android:layout_height="wrap_content"
  45.            android:id="@+id/activity_main_img_marcador_local"
  46.            android:src="@drawable/img_marcador"
  47.            android:layout_gravity="top"
  48.            android:layout_weight="1" />
  49.         <ImageView
  50.            android:layout_width="wrap_content"
  51.            android:layout_height="wrap_content"
  52.            android:id="@+id/activity_main_img_marcador_visitante"
  53.            android:src="@drawable/img_marcador"
  54.            android:layout_gravity="top"
  55.            android:layout_weight="1" />
  56.  
  57.     </LinearLayout>
  58.  
  59.     <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  60.        android:orientation="horizontal"
  61.        android:layout_width="match_parent"
  62.        android:layout_height="wrap_content"
  63.        android:id="@+id/activity_main_linear_cuarto"
  64.        android:background="@color/black"
  65.        android:layout_below="@+id/activity_main_linear_marcador_general"
  66.        android:gravity="center_horizontal">
  67.  
  68.         <TextView
  69.            android:layout_width="wrap_content"
  70.            android:layout_height="wrap_content"
  71.            android:text="Cuarto"
  72.            android:textColor="@color/white"
  73.            android:id="@+id/activity_main_tv_cuarto"
  74.            android:layout_centerHorizontal="true"
  75.            android:layout_marginTop="10dp"/>
  76.     </LinearLayout>
  77.  
  78.     <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  79.        android:orientation="horizontal"
  80.        android:layout_width="match_parent"
  81.        android:layout_height="wrap_content"
  82.        android:id="@+id/activity_main_linear_botones_cuartos"
  83.        android:background="@color/Green"
  84.        android:layout_below="@+id/activity_main_linear_cuarto"
  85.        android:gravity="center">
  86.  
  87.         <ImageButton
  88.            android:layout_width="wrap_content"
  89.            android:layout_height="wrap_content"
  90.            android:background="@drawable/boton_restar_cuartos"
  91.            android:id="@+id/activity_main_btn_cuarto_menos" />
  92.  
  93.         <ImageView
  94.            android:layout_width="wrap_content"
  95.            android:layout_height="wrap_content"
  96.            android:id="@+id/activity_main_img_cajon_cuarto"
  97.            android:src="@drawable/img_marcador_cuartos"
  98.            android:layout_below="@+id/activity_main_tv_cuarto"
  99.            android:layout_marginLeft="20dp"
  100.            android:layout_marginRight="20dp" />
  101.  
  102.         <ImageButton
  103.            android:layout_width="wrap_content"
  104.            android:layout_height="wrap_content"
  105.            android:id="@+id/activity_main_btn_cuarto_plus"
  106.            android:background="@drawable/btn_sumar_cuartos"/>
  107.  
  108.  
  109.     </LinearLayout>
  110.  
  111.     <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  112.        android:orientation="horizontal"
  113.        android:layout_width="match_parent"
  114.        android:layout_height="wrap_content"
  115.        android:id="@+id/activity_main_linear_botones__primera_linea_de_puntos"
  116.        android:background="@color/aqua"
  117.        android:layout_below="@+id/activity_main_linear_botones_cuartos"
  118.        android:paddingTop="10dp"
  119.        android:paddingBottom="5dp">
  120.  
  121.     <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  122.        android:orientation="horizontal"
  123.        android:layout_width="match_parent"
  124.        android:layout_height="wrap_content"
  125.        android:id="@+id/activity_main_linear_botones__primera_linea_de_puntos_derecha"
  126.        android:background="@color/black"
  127.        android:gravity="center"
  128.        android:layout_weight="1">
  129.  
  130.         <ImageButton
  131.            android:layout_width="wrap_content"
  132.            android:layout_height="wrap_content"
  133.            android:background="@color/transparent"
  134.            android:id="@+id/activity_main_btn_sumar_1_punto_local"
  135.            android:src="@drawable/btn_sumar_1_punto"
  136.            android:layout_marginRight="5dp"/>
  137.  
  138.         <ImageButton
  139.            android:layout_width="wrap_content"
  140.            android:layout_height="wrap_content"
  141.            android:src="@drawable/btn_sumar_2_puntos"
  142.            android:background="@color/transparent"
  143.            android:id="@+id/activity_main_btn_sumar_2_punto_local"
  144.            android:layout_marginLeft="5dp"/>
  145.     </LinearLayout>
  146.  
  147.         <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  148.            android:orientation="horizontal"
  149.            android:layout_width="match_parent"
  150.            android:layout_height="wrap_content"
  151.            android:id="@+id/activity_main_linear_botones__primera_linea_de_puntos_izquierda"
  152.            android:background="@color/Yellow"
  153.            android:gravity="center"
  154.            android:layout_weight="1">
  155.  
  156.         <ImageButton
  157.            android:layout_width="wrap_content"
  158.            android:layout_height="wrap_content"
  159.            android:src="@drawable/btn_sumar_1_punto"
  160.            android:background="@color/transparent"
  161.            android:id="@+id/activity_main_btn_sumar_1_punto_visitante"
  162.            android:layout_marginRight="5dp"/>
  163.  
  164.         <ImageButton
  165.            android:layout_width="wrap_content"
  166.            android:layout_height="wrap_content"
  167.            android:src="@drawable/btn_sumar_2_puntos"
  168.            android:background="@color/transparent"
  169.            android:id="@+id/activity_main_btn_sumar_2_punto_visitante"
  170.            android:layout_marginLeft="5dp"/>
  171.     </LinearLayout>
  172.  
  173.  
  174. </LinearLayout>
  175.  
  176.     <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  177.        android:orientation="horizontal"
  178.        android:layout_width="match_parent"
  179.        android:layout_height="wrap_content"
  180.        android:id="@+id/activity_main_linear_botones__segunda_linea_de_puntos"
  181.        android:background="@color/Orange"
  182.        android:layout_below="@+id/activity_main_linear_botones__primera_linea_de_puntos">
  183.  
  184.         <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  185.            android:orientation="horizontal"
  186.            android:layout_width="match_parent"
  187.            android:layout_height="wrap_content"
  188.            android:id="@+id/activity_main_linear_botones__segunda_linea_de_puntos_derecha"
  189.            android:background="@color/Yellow"
  190.            android:gravity="center"
  191.            android:layout_weight="1">
  192.  
  193.             <ImageButton
  194.                android:layout_width="wrap_content"
  195.                android:layout_height="wrap_content"
  196.                android:background="@color/transparent"
  197.                android:id="@+id/activity_main_btn_sumar_3_puntos_local"
  198.                android:src="@drawable/btn_sumar_3_puntos"
  199.                android:layout_marginRight="5dp"/>
  200.  
  201.             <ImageButton
  202.                android:layout_width="wrap_content"
  203.                android:layout_height="wrap_content"
  204.                android:src="@drawable/btn_restar_1_punto"
  205.                android:background="@color/transparent"
  206.                android:id="@+id/activity_main_btn_restar_1_punto_local"
  207.                android:layout_marginLeft="5dp"/>
  208.         </LinearLayout>
  209.  
  210.         <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  211.            android:orientation="horizontal"
  212.            android:layout_width="match_parent"
  213.            android:layout_height="wrap_content"
  214.            android:id="@+id/activity_main_linear_botones__segunda_linea_de_puntos_izquierda"
  215.            android:background="@color/black"
  216.            android:gravity="center"
  217.            android:layout_weight="1">
  218.  
  219.             <ImageButton
  220.                android:layout_width="wrap_content"
  221.                android:layout_height="wrap_content"
  222.                android:src="@drawable/btn_sumar_1_punto"
  223.                android:background="@color/transparent"
  224.                android:id="@+id/activity_main_btn_sumar_3_puntos_visitante"
  225.                android:layout_marginRight="5dp"/>
  226.  
  227.             <ImageButton
  228.                android:layout_width="wrap_content"
  229.                android:layout_height="wrap_content"
  230.                android:src="@drawable/btn_restar_1_punto"
  231.                android:background="@color/transparent"
  232.                android:id="@+id/activity_main_btn_restar_1_punto_visitante"
  233.                android:layout_marginLeft="5dp"/>
  234.         </LinearLayout>
  235.  
  236.  
  237.     </LinearLayout>
  238.  
  239.     <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  240.        android:orientation="horizontal"
  241.        android:layout_width="match_parent"
  242.        android:layout_height="wrap_content"
  243.        android:id="@+id/activity_main_linear_q_cuartos"
  244.        android:background="@color/gray"
  245.        android:layout_below="@+id/activity_main_linear_botones__segunda_linea_de_puntos"
  246.        android:paddingTop="10dp"
  247.        android:paddingBottom="5dp"
  248.        android:gravity="center">
  249.  
  250.         <TextView
  251.            android:layout_width="wrap_content"
  252.            android:layout_height="wrap_content"
  253.            android:text="Q1"
  254.            android:textColor="@color/white"
  255.            android:id="@+id/activity_main_tv_Q1"
  256.            android:gravity="center"
  257.            android:layout_weight="1"/>
  258.         <TextView
  259.            android:layout_width="wrap_content"
  260.            android:layout_height="wrap_content"
  261.            android:text="Q2"
  262.            android:textColor="@color/white"
  263.            android:id="@+id/activity_main_tv_Q2"
  264.            android:gravity="center"
  265.            android:layout_weight="1"/>
  266.         <TextView
  267.            android:layout_width="wrap_content"
  268.            android:layout_height="wrap_content"
  269.            android:text="Q3"
  270.            android:textColor="@color/white"
  271.            android:id="@+id/activity_main_tv_Q3"
  272.            android:gravity="center"
  273.            android:layout_weight="1"/>
  274.         <TextView
  275.            android:layout_width="wrap_content"
  276.            android:layout_height="wrap_content"
  277.            android:text="Q4"
  278.            android:textColor="@color/white"
  279.            android:id="@+id/activity_main_tv_Q4"
  280.            android:gravity="center"
  281.            android:layout_weight="1"/>
  282.  
  283.     </LinearLayout>
  284.  
  285.     <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  286.        android:orientation="horizontal"
  287.        android:layout_width="match_parent"
  288.        android:layout_height="wrap_content"
  289.        android:id="@+id/activity_main_linear_parciales_cuartos"
  290.        android:background="@color/red"
  291.        android:layout_below="@+id/activity_main_linear_q_cuartos"
  292.        android:paddingBottom="5dp"
  293.        android:gravity="center">
  294.  
  295.         <ImageView
  296.            android:layout_width="wrap_content"
  297.            android:layout_height="wrap_content"
  298.            android:id="@+id/activity_main_img_cajon_marcador_parciales_1"
  299.            android:src="@drawable/img_marcador_parciales"
  300.            android:layout_weight="1"
  301.            android:layout_marginLeft="20dp"
  302.            android:layout_marginRight="20dp" />
  303.         <ImageView
  304.            android:layout_width="wrap_content"
  305.            android:layout_height="wrap_content"
  306.            android:id="@+id/activity_main_img_cajon_marcador_parciales_2"
  307.            android:src="@drawable/img_marcador_parciales"
  308.            android:layout_weight="1"
  309.            android:layout_marginLeft="20dp"
  310.            android:layout_marginRight="20dp" />
  311.         <ImageView
  312.            android:layout_width="wrap_content"
  313.            android:layout_height="wrap_content"
  314.            android:id="@+id/activity_main_img_cajon_marcador_parciales_3"
  315.            android:src="@drawable/img_marcador_parciales"
  316.            android:layout_weight="1"
  317.            android:layout_marginLeft="20dp"
  318.            android:layout_marginRight="20dp" />
  319.         <ImageView
  320.            android:layout_width="wrap_content"
  321.            android:layout_height="wrap_content"
  322.            android:id="@+id/activity_main_img_cajon_marcador_parciales_4"
  323.            android:src="@drawable/img_marcador_parciales"
  324.            android:layout_weight="1"
  325.            android:layout_marginLeft="20dp"
  326.            android:layout_marginRight="20dp" />
  327.  
  328.     </LinearLayout>
  329.  
  330.     <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  331.        android:orientation="horizontal"
  332.        android:layout_width="match_parent"
  333.        android:layout_height="wrap_content"
  334.        android:id="@+id/activity_main_linear_twitter"
  335.        android:background="@color/black"
  336.        android:layout_below="@+id/activity_main_linear_parciales_cuartos"
  337.        android:paddingBottom="5dp"
  338.        android:gravity="center">
  339.  
  340.         <ImageButton
  341.            android:layout_width="wrap_content"
  342.            android:layout_height="wrap_content"
  343.            android:background="@color/transparent"
  344.            android:id="@+id/activity_main_btn_twitter"
  345.            android:src="@drawable/img_twittear"
  346.            android:layout_marginTop="5dp"/>
  347.     </LinearLayout>
  348.  
  349.  
  350. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement