Advertisement
moseskarunia

ratings_previews

Aug 16th, 2016
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 10.98 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" android:layout_width="wrap_content"
  4.    android:layout_height="wrap_content"
  5.    android:background="@android:color/black">
  6.     <LinearLayout
  7.        android:id="@+id/rating_abbr"
  8.        android:layout_width="wrap_content"
  9.        android:layout_height="wrap_content"
  10.        android:orientation="vertical">
  11.         <TextView
  12.            android:id="@+id/a_letter"
  13.            android:layout_width="wrap_content"
  14.            android:layout_height="wrap_content"
  15.            android:textColor="@color/FoodMap_colorAtmosphere"
  16.            android:text="ATM"
  17.            android:textSize="@dimen/rating_abbr_font"
  18.            android:textStyle="bold"
  19.            android:layout_marginRight="@dimen/rating_item_margin"/>
  20.         <TextView
  21.            android:id="@+id/c_letter"
  22.            android:layout_below="@id/a_letter"
  23.            android:layout_width="wrap_content"
  24.            android:layout_height="wrap_content"
  25.            android:textColor="@color/FoodMap_colorCleanliness"
  26.            android:text="CLN"
  27.            android:textSize="@dimen/rating_abbr_font"
  28.            android:textStyle="bold"
  29.            android:layout_marginRight="@dimen/rating_item_margin"/>
  30.         <TextView
  31.            android:id="@+id/f_letter"
  32.            android:layout_below="@id/c_letter"
  33.            android:layout_width="wrap_content"
  34.            android:layout_height="wrap_content"
  35.            android:textColor="@color/FoodMap_colorFood"
  36.            android:text="FOOD"
  37.            android:textSize="@dimen/rating_abbr_font"
  38.            android:textStyle="bold"
  39.            android:layout_marginRight="@dimen/rating_item_margin"/>
  40.         <TextView
  41.            android:id="@+id/s_letter"
  42.            android:layout_below="@id/f_letter"
  43.            android:layout_width="wrap_content"
  44.            android:layout_height="wrap_content"
  45.            android:textColor="@color/FoodMap_colorService"
  46.            android:text="SRVC"
  47.            android:textSize="@dimen/rating_abbr_font"
  48.            android:textStyle="bold"
  49.            android:layout_marginRight="@dimen/rating_item_margin"/>
  50.     </LinearLayout>
  51.  
  52.     <LinearLayout
  53.        android:id="@+id/atmosphere_rating_bar"
  54.        android:layout_toRightOf="@id/rating_abbr"
  55.        android:layout_width="wrap_content"
  56.        android:layout_height="wrap_content"
  57.        android:orientation="horizontal"
  58.        android:layout_marginTop="@dimen/rating_bar_margin"
  59.        android:layout_marginBottom="@dimen/rating_bar_margin">
  60.         <ImageView
  61.            android:id="@+id/atm_1"
  62.            android:layout_width="@dimen/rating_item_width"
  63.            android:layout_height="@dimen/rating_item_height"
  64.            android:background="@drawable/atmosphere_rating_symbol"
  65.            android:layout_marginRight="@dimen/rating_item_margin"/>
  66.         <ImageView
  67.            android:id="@+id/atm_2"
  68.            android:layout_toRightOf="@id/atm_1"
  69.            android:layout_width="@dimen/rating_item_width"
  70.            android:layout_height="@dimen/rating_item_height"
  71.            android:background="@drawable/atmosphere_rating_symbol"
  72.            android:layout_marginRight="@dimen/rating_item_margin"/>
  73.         <ImageView
  74.            android:id="@+id/atm_3"
  75.            android:layout_toRightOf="@id/atm_2"
  76.            android:layout_width="@dimen/rating_item_width"
  77.            android:layout_height="@dimen/rating_item_height"
  78.            android:background="@drawable/atmosphere_rating_symbol"
  79.            android:layout_marginRight="@dimen/rating_item_margin"/>
  80.         <ImageView
  81.            android:id="@+id/atm_4"
  82.            android:layout_toRightOf="@id/atm_3"
  83.            android:layout_width="@dimen/rating_item_width"
  84.            android:layout_height="@dimen/rating_item_height"
  85.            android:background="@drawable/atmosphere_rating_symbol"
  86.            android:layout_marginRight="@dimen/rating_item_margin"/>
  87.         <ImageView
  88.            android:id="@+id/atm_5"
  89.            android:layout_toRightOf="@id/atm_4"
  90.            android:layout_width="@dimen/rating_item_width"
  91.            android:layout_height="@dimen/rating_item_height"
  92.            android:background="@drawable/atmosphere_rating_symbol"
  93.            android:layout_marginRight="@dimen/rating_item_margin"/>
  94.     </LinearLayout>
  95.     <LinearLayout
  96.        android:id="@+id/cleanliness_rating_bar"
  97.        android:layout_below="@id/atmosphere_rating_bar"
  98.        android:layout_toRightOf="@id/rating_abbr"
  99.        android:layout_width="wrap_content"
  100.        android:layout_height="wrap_content"
  101.        android:orientation="horizontal"
  102.        android:layout_marginTop="@dimen/rating_bar_margin"
  103.        android:layout_marginBottom="@dimen/rating_bar_margin">
  104.         <ImageView
  105.            android:id="@+id/cle_1"
  106.            android:layout_width="@dimen/rating_item_width"
  107.            android:layout_height="@dimen/rating_item_height"
  108.            android:background="@drawable/cleanliness_rating_symbol"
  109.            android:layout_marginRight="@dimen/rating_item_margin"/>
  110.         <ImageView
  111.            android:id="@+id/cle_2"
  112.            android:layout_toRightOf="@id/cle_1"
  113.            android:layout_width="@dimen/rating_item_width"
  114.            android:layout_height="@dimen/rating_item_height"
  115.            android:background="@drawable/cleanliness_rating_symbol"
  116.            android:layout_marginRight="@dimen/rating_item_margin"/>
  117.         <ImageView
  118.            android:id="@+id/cle_3"
  119.            android:layout_toRightOf="@id/cle_2"
  120.            android:layout_width="@dimen/rating_item_width"
  121.            android:layout_height="@dimen/rating_item_height"
  122.            android:background="@drawable/cleanliness_rating_symbol"
  123.            android:layout_marginRight="@dimen/rating_item_margin"/>
  124.         <ImageView
  125.            android:id="@+id/cle_4"
  126.            android:layout_toRightOf="@id/cle_3"
  127.            android:layout_width="@dimen/rating_item_width"
  128.            android:layout_height="@dimen/rating_item_height"
  129.            android:background="@drawable/cleanliness_rating_symbol"
  130.            android:layout_marginRight="@dimen/rating_item_margin"/>
  131.         <ImageView
  132.            android:id="@+id/cle_5"
  133.            android:layout_toRightOf="@id/cle_4"
  134.            android:layout_width="@dimen/rating_item_width"
  135.            android:layout_height="@dimen/rating_item_height"
  136.            android:background="@drawable/cleanliness_rating_symbol"
  137.            android:layout_marginRight="@dimen/rating_item_margin"/>
  138.     </LinearLayout>
  139.     <LinearLayout
  140.        android:id="@+id/food_rating_bar"
  141.        android:layout_below="@id/cleanliness_rating_bar"
  142.        android:layout_toRightOf="@id/rating_abbr"
  143.        android:layout_width="wrap_content"
  144.        android:layout_height="wrap_content"
  145.        android:orientation="horizontal"
  146.        android:layout_marginTop="@dimen/rating_bar_margin"
  147.        android:layout_marginBottom="@dimen/rating_bar_margin">
  148.         <ImageView
  149.            android:id="@+id/foo_1"
  150.            android:layout_width="@dimen/rating_item_width"
  151.            android:layout_height="@dimen/rating_item_height"
  152.            android:background="@drawable/food_rating_symbol"
  153.            android:layout_marginRight="@dimen/rating_item_margin"/>
  154.         <ImageView
  155.            android:id="@+id/foo_2"
  156.            android:layout_toRightOf="@id/foo_1"
  157.            android:layout_width="@dimen/rating_item_width"
  158.            android:layout_height="@dimen/rating_item_height"
  159.            android:background="@drawable/food_rating_symbol"
  160.            android:layout_marginRight="@dimen/rating_item_margin"/>
  161.         <ImageView
  162.            android:id="@+id/foo_3"
  163.            android:layout_toRightOf="@id/foo_2"
  164.            android:layout_width="@dimen/rating_item_width"
  165.            android:layout_height="@dimen/rating_item_height"
  166.            android:background="@drawable/food_rating_symbol"
  167.            android:layout_marginRight="@dimen/rating_item_margin"/>
  168.         <ImageView
  169.            android:id="@+id/foo_4"
  170.            android:layout_toRightOf="@id/foo_3"
  171.            android:layout_width="@dimen/rating_item_width"
  172.            android:layout_height="@dimen/rating_item_height"
  173.            android:background="@drawable/food_rating_symbol"
  174.            android:layout_marginRight="@dimen/rating_item_margin"/>
  175.         <ImageView
  176.            android:id="@+id/foo_5"
  177.            android:layout_toRightOf="@id/foo_4"
  178.            android:layout_width="@dimen/rating_item_width"
  179.            android:layout_height="@dimen/rating_item_height"
  180.            android:background="@drawable/food_rating_symbol"
  181.            android:layout_marginRight="@dimen/rating_item_margin"/>
  182.     </LinearLayout>
  183.     <LinearLayout
  184.        android:id="@+id/service_rating_bar"
  185.        android:layout_below="@id/food_rating_bar"
  186.        android:layout_toRightOf="@id/rating_abbr"
  187.        android:layout_width="wrap_content"
  188.        android:layout_height="wrap_content"
  189.        android:orientation="horizontal"
  190.        android:layout_marginTop="@dimen/rating_bar_margin"
  191.        android:layout_marginBottom="@dimen/rating_bar_margin">
  192.         <ImageView
  193.            android:id="@+id/ser_1"
  194.            android:layout_width="@dimen/rating_item_width"
  195.            android:layout_height="@dimen/rating_item_height"
  196.            android:background="@drawable/service_rating_symbol"
  197.            android:layout_marginRight="@dimen/rating_item_margin"/>
  198.         <ImageView
  199.            android:id="@+id/ser_2"
  200.            android:layout_toRightOf="@id/ser_1"
  201.            android:layout_width="@dimen/rating_item_width"
  202.            android:layout_height="@dimen/rating_item_height"
  203.            android:background="@drawable/service_rating_symbol"
  204.            android:layout_marginRight="@dimen/rating_item_margin"/>
  205.         <ImageView
  206.            android:id="@+id/ser_3"
  207.            android:layout_toRightOf="@id/ser_2"
  208.            android:layout_width="@dimen/rating_item_width"
  209.            android:layout_height="@dimen/rating_item_height"
  210.            android:background="@drawable/service_rating_symbol"
  211.            android:layout_marginRight="@dimen/rating_item_margin"/>
  212.         <ImageView
  213.            android:id="@+id/ser_4"
  214.            android:layout_toRightOf="@id/ser_3"
  215.            android:layout_width="@dimen/rating_item_width"
  216.            android:layout_height="@dimen/rating_item_height"
  217.            android:background="@drawable/service_rating_symbol"
  218.            android:layout_marginRight="@dimen/rating_item_margin"/>
  219.         <ImageView
  220.            android:id="@+id/ser_5"
  221.            android:layout_toRightOf="@id/ser_4"
  222.            android:layout_width="@dimen/rating_item_width"
  223.            android:layout_height="@dimen/rating_item_height"
  224.            android:background="@drawable/service_rating_symbol"
  225.            android:layout_marginRight="@dimen/rating_item_margin"/>
  226.     </LinearLayout>
  227. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement