daily pastebin goal
28%
SHARE
TWEET

Untitled

a guest Jan 15th, 2019 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <LinearLayout
  2.     android:id="@+id/StatisticsButtons"
  3.     android:layout_width="fill_parent"
  4.     android:layout_height="wrap_content"
  5.     android:layout_margin="10dip"
  6.     android:orientation="horizontal" >
  7.  
  8.     <Button
  9.         android:id="@+id/viewAllBtn"
  10.         android:layout_width="0dp"
  11.         android:layout_height="42dip"
  12.         android:layout_weight="1"
  13.         android:background="@drawable/button_for_statistic"
  14.         android:text="View All"
  15.         android:textColor="@drawable/button_text_color_statistic"
  16.         android:textSize="17dip" />
  17.  
  18.     <Button
  19.         android:id="@+id/viewPartialBtn"
  20.         android:layout_width="0dp"
  21.         android:layout_height="42dip"
  22.         android:layout_marginLeft="10dip"
  23.         android:layout_weight="1.3"
  24.         android:background="@drawable/button_for_statistic"
  25.         android:text="View partial record"                        //"View partial" displayed , I guess the screen is too "narrow" to display the "record"
  26.         android:textColor="@drawable/button_text_color_statistic"
  27.         android:textSize="17dip" />
  28.  
  29.     <Button
  30.         android:id="@+id/viewLeaveBtn"
  31.         android:layout_width="0dp"
  32.         android:layout_height="42dip"
  33.         android:layout_marginLeft="10dip"
  34.         android:layout_weight="1"
  35.         android:background="@drawable/button_for_statistic"
  36.         android:text="Leave"
  37.         android:textColor="@drawable/button_text_color_statistic"
  38.         android:textSize="17dip" />
  39. </LinearLayout>
  40.    
  41. <item android:state_pressed="true"><shape>
  42.         <solid android:color="#0033d434" />
  43.  
  44.         <stroke android:width="2dp" android:color="#aaa22f" />
  45.  
  46.         <corners android:radius="2dp" />
  47.  
  48.         <padding android:bottom="10dp" android:left="10dp" android:right="10dp" android:top="10dp" />
  49.     </shape></item>
  50. <item><shape>
  51.         <solid android:color="#aaa22f" />
  52.  
  53.         <corners android:radius="2dp" />
  54.  
  55.         <padding android:bottom="10dp" android:left="10dp" android:right="10dp" android:top="10dp" />
  56.     </shape></item>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top