Advertisement
Guest User

Untitled

a guest
Jul 17th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 12.80 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <merge xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    xmlns:tools="http://schemas.android.com/tools">
  5.  
  6.     <include layout="@layout/fragment_protocol_match_appbar" />
  7.  
  8.     <android.support.v4.widget.SwipeRefreshLayout
  9.        android:id="@+id/match_refresh"
  10.        android:layout_width="match_parent"
  11.        android:layout_height="wrap_content"
  12.        app:layout_behavior="@string/appbar_scrolling_view_behavior">
  13.  
  14.         <android.support.v4.widget.NestedScrollView
  15.            android:id="@+id/match_wrap"
  16.            android:layout_width="match_parent"
  17.            android:layout_height="match_parent"
  18.            android:fillViewport="true"
  19.            android:scrollbars="vertical">
  20.  
  21.             <LinearLayout
  22.                android:layout_width="match_parent"
  23.                android:layout_height="wrap_content"
  24.                android:orientation="vertical"
  25.                android:paddingBottom="@dimen/match_protocol_bottom_padding">
  26.  
  27.                 <include
  28.                    android:id="@+id/push_tutorial_view"
  29.                    layout="@layout/push_tutorial" />
  30.  
  31.                 <include
  32.                    android:id="@+id/score_tournament"
  33.                    layout="@layout/match_group_item" />
  34.  
  35.                 <TextView
  36.                    android:id="@+id/match_date"
  37.                    android:layout_width="match_parent"
  38.                    android:layout_height="wrap_content"
  39.                    android:gravity="center"
  40.                    android:paddingLeft="@dimen/double_padding"
  41.                    android:paddingRight="@dimen/double_padding"
  42.                    android:paddingTop="@dimen/default_padding"
  43.                    android:text="17 июня 2015, среда. 18:00 MCK"
  44.                    android:textAppearance="@style/subtext_small"
  45.                    android:textColor="@color/main_font_color" />
  46.  
  47.                 <TextView
  48.                    android:id="@+id/match_tour_group_name"
  49.                    android:layout_width="match_parent"
  50.                    android:layout_height="wrap_content"
  51.                    android:gravity="center"
  52.                    android:paddingBottom="@dimen/default_padding"
  53.                    android:paddingLeft="@dimen/double_padding"
  54.                    android:paddingRight="@dimen/double_padding"
  55.                    android:text="1-й тайм"
  56.                    android:textAppearance="@style/subtext_small" />
  57.  
  58.                 <TextView
  59.                    android:id="@+id/match_title"
  60.                    android:layout_width="match_parent"
  61.                    android:layout_height="wrap_content"
  62.                    android:gravity="center"
  63.                    android:paddingBottom="@dimen/default_padding"
  64.                    android:paddingLeft="@dimen/double_padding"
  65.                    android:paddingRight="@dimen/double_padding"
  66.                    android:paddingTop="@dimen/default_padding"
  67.                    android:text="Динамо jlwrjlwrjlkwre jwlrjrjlkwrj lkkwjrlkjwr"
  68.                    android:textAppearance="@style/title" />
  69.  
  70.                 <TextView
  71.                    android:id="@+id/match_status"
  72.                    android:layout_width="match_parent"
  73.                    android:layout_height="wrap_content"
  74.                    android:gravity="center"
  75.                    android:paddingLeft="@dimen/double_padding"
  76.                    android:paddingRight="@dimen/double_padding"
  77.                    android:text="1-й тайм"
  78.                    android:textAppearance="@style/subtext_small" />
  79.  
  80.                 <RelativeLayout
  81.                    android:id="@+id/match_score_wrap"
  82.                    android:layout_width="match_parent"
  83.                    android:layout_height="wrap_content"
  84.                    android:background="@color/main_background"
  85.                    android:paddingBottom="@dimen/default_padding"
  86.                    android:paddingLeft="@dimen/double_padding"
  87.                    android:paddingRight="@dimen/double_padding"
  88.                    android:paddingTop="@dimen/default_padding">
  89.  
  90.                     <LinearLayout
  91.                        android:id="@+id/top_players_wrap"
  92.                        android:layout_width="match_parent"
  93.                        android:layout_height="wrap_content"
  94.                        android:layout_centerInParent="true"
  95.                        android:orientation="vertical" />
  96.  
  97.                     <LinearLayout
  98.                        android:id="@+id/first_team_wrap"
  99.                        android:layout_width="wrap_content"
  100.                        android:layout_height="wrap_content"
  101.                        android:layout_alignParentLeft="true"
  102.                        android:layout_alignParentStart="true"
  103.                        android:layout_centerVertical="true"
  104.                        android:layout_toLeftOf="@+id/score_wrap"
  105.                        android:layout_toStartOf="@+id/score_wrap"
  106.                        android:gravity="center"
  107.                        android:orientation="vertical" />
  108.  
  109.  
  110.                     <RelativeLayout
  111.                        android:id="@+id/score_wrap"
  112.                        android:layout_width="wrap_content"
  113.                        android:layout_height="wrap_content"
  114.                        android:layout_centerInParent="true"
  115.                        android:gravity="center"
  116.                        android:minWidth="110dp">
  117.  
  118.                         <LinearLayout
  119.                            android:id="@+id/score"
  120.                            android:layout_width="wrap_content"
  121.                            android:layout_height="wrap_content"
  122.                            android:layout_centerInParent="true"
  123.                            android:gravity="center"
  124.                            android:orientation="vertical"
  125.                            android:paddingLeft="@dimen/default_padding"
  126.                            android:paddingRight="@dimen/default_padding"
  127.                            android:textAppearance="@style/h1" />
  128.  
  129.                         <include layout="@layout/protocol_match_score_begin" />
  130.                     </RelativeLayout>
  131.  
  132.                     <LinearLayout
  133.                        android:id="@+id/second_team_wrap"
  134.                        android:layout_width="wrap_content"
  135.                        android:layout_height="wrap_content"
  136.                        android:layout_alignParentEnd="true"
  137.                        android:layout_alignParentRight="true"
  138.                        android:layout_centerVertical="true"
  139.                        android:layout_toEndOf="@+id/score_wrap"
  140.                        android:layout_toRightOf="@+id/score_wrap"
  141.                        android:gravity="center"
  142.                        android:orientation="vertical" />
  143.                 </RelativeLayout>
  144.  
  145.                 <TextView
  146.                    android:id="@+id/match_more_info"
  147.                    android:layout_width="match_parent"
  148.                    android:layout_height="wrap_content"
  149.                    android:gravity="center"
  150.                    android:paddingLeft="@dimen/double_padding"
  151.                    android:paddingRight="@dimen/double_padding"
  152.                    android:paddingTop="@dimen/double_padding"
  153.                    android:text="lorem lorem ipsum ipsum lorem lorem ipsum ipsum lorem lorem ipsum ipsum lorem lorem ipsum ipsum"
  154.                    android:textAppearance="@style/subtext_small" />
  155.  
  156.                 <TextView
  157.                    android:id="@+id/match_notice"
  158.                    android:layout_width="match_parent"
  159.                    android:layout_height="wrap_content"
  160.                    android:gravity="start"
  161.                    android:paddingBottom="@dimen/double_padding"
  162.                    android:paddingLeft="@dimen/double_padding"
  163.                    android:paddingRight="@dimen/double_padding"
  164.                    android:text="lorem lorem ipsum ipsum lorem lorem ipsum ipsum lorem lorem ipsum ipsum lorem lorem ipsum ipsum"
  165.                    android:textAppearance="@style/subtext_small"
  166.                    android:textColor="@color/red" />
  167.  
  168.                 <include layout="@layout/divider_single" />
  169.  
  170.                 <RelativeLayout
  171.                    android:id="@+id/ads_wrapper"
  172.                    android:layout_width="match_parent"
  173.                    android:layout_height="wrap_content">
  174.  
  175.                     <com.mopub.mobileads.MoPubView
  176.                        android:id="@+id/mopub_detail_match"
  177.                        android:layout_marginTop="16dp"
  178.                        android:layout_width="match_parent"
  179.                        android:layout_height="@dimen/native_ad_detail_match_height"
  180.                        android:visibility="gone"
  181.                         />
  182.  
  183.                     <android.support.design.widget.TabLayout
  184.                        android:id="@+id/stat_tab_layout"
  185.                        android:layout_width="match_parent"
  186.                        android:layout_height="wrap_content"
  187.                        app:tabGravity="fill"
  188.                        app:tabSelectedTextColor="@color/main_font_color"
  189.                        app:tabTextAppearance="@style/subtext_medium_grey" />
  190.  
  191.                     <View
  192.                        android:id="@+id/full_width_tab_indicator"
  193.                        android:layout_width="match_parent"
  194.                        android:layout_height="2dp"
  195.                        android:background="@color/v2_second_color"
  196.                        android:layout_below="@id/stat_tab_layout"/>
  197.  
  198.                     <include layout="@layout/toolbar_dropshadow"
  199.                        android:layout_below="@id/full_width_tab_indicator"
  200.                        android:layout_width="match_parent"
  201.                        android:layout_height="2dp" />
  202.  
  203.                     <RelativeLayout
  204.                        android:layout_below="@+id/toolbar_drop_shadow_inside"
  205.                        android:id="@+id/match_info_tabs"
  206.                        android:layout_width="match_parent"
  207.                        android:layout_height="wrap_content"
  208.                        android:layout_marginBottom="@dimen/double_padding"
  209.                        android:background="@android:color/transparent"
  210.                        tools:ignore="UnknownId">
  211.  
  212.                         <ImageView
  213.                            android:id="@+id/match_no_info"
  214.                            android:layout_width="match_parent"
  215.                            android:layout_height="wrap_content"
  216.                            android:layout_marginTop="@dimen/double_padding"
  217.                            android:padding="@dimen/double_padding"
  218.                            android:scaleType="center"
  219.                            android:src="@drawable/no_match" />
  220.  
  221.                         <LinearLayout
  222.                            android:id="@+id/match_about"
  223.                            android:layout_width="match_parent"
  224.                            android:layout_height="wrap_content"
  225.                            android:layout_marginTop="@dimen/default_padding"
  226.                            android:orientation="vertical" />
  227.  
  228.                         <LinearLayout
  229.                            android:id="@+id/match_translation"
  230.                            android:layout_width="match_parent"
  231.                            android:layout_height="wrap_content"
  232.                            android:orientation="vertical" />
  233.  
  234.                     </RelativeLayout>
  235.  
  236.                     <LinearLayout
  237.                        android:layout_below="@id/match_info_tabs"
  238.                        android:id="@+id/bottom_banner_layout"
  239.                        android:layout_width="match_parent"
  240.                        android:layout_height="wrap_content"
  241.                        android:layout_marginBottom="@dimen/double_padding"
  242.                        android:orientation="vertical"
  243.                        android:visibility="gone" />
  244.  
  245.                 </RelativeLayout>
  246.  
  247.             </LinearLayout>
  248.  
  249.         </android.support.v4.widget.NestedScrollView>
  250.  
  251.     </android.support.v4.widget.SwipeRefreshLayout>
  252.  
  253.     <ru.ideast.championat.presentation.controls.LayoutWithInformation
  254.        android:id="@+id/layoutWithInformation"
  255.        android:layout_width="match_parent"
  256.        android:layout_height="wrap_content"
  257.        android:gravity="center_vertical" />
  258.  
  259.     <LinearLayout
  260.        android:id="@+id/sticky_header"
  261.        android:layout_width="match_parent"
  262.        android:layout_height="wrap_content"
  263.        android:orientation="vertical"
  264.        android:visibility="gone"
  265.        app:layout_behavior="@string/appbar_scrolling_view_behavior"
  266.        tools:visibility="visible" />
  267.  
  268. </merge>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement