Created
          April 13, 2015 07:56 
        
      - 
      
- 
        Save styliii/9a2dc987a54d48627c67 to your computer and use it in GitHub Desktop. 
    market_indexes_feed_item.xml
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?xml version="1.0" encoding="utf-8"?> | |
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:id="@+id/rlContainer" | |
| style="?feedCardView" | |
| android:layout_width="fill_parent" | |
| android:layout_height="fill_parent"> | |
| <LinearLayout | |
| android:id="@+id/llContainer" | |
| android:layout_width="fill_parent" | |
| android:layout_height="wrap_content" | |
| android:orientation="horizontal" | |
| android:baselineAligned="false" | |
| android:weightSum="3"> | |
| <LinearLayout | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:layout_weight="1" | |
| android:orientation="vertical"> | |
| <TextView | |
| android:id="@+id/tvDow" | |
| style="@style/index_headers" | |
| android:layout_width="wrap_content" | |
| android:layout_height="25dp" | |
| android:layout_gravity="left" | |
| android:text="DJIA" /> | |
| <TextView | |
| android:id="@+id/tvDowChange" | |
| style="@style/index_perc_change" | |
| android:layout_width="wrap_content" | |
| android:layout_height="25dp" | |
| android:gravity="center_vertical" | |
| android:text="-0.51%" /> | |
| </LinearLayout> | |
| <LinearLayout | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:layout_marginLeft="-25dp" | |
| android:layout_weight="1" | |
| android:gravity="center_horizontal" | |
| android:orientation="vertical"> | |
| <FrameLayout | |
| android:layout_width="wrap_content" | |
| android:layout_height="fill_parent" | |
| android:gravity="center_horizontal"> | |
| <TextView | |
| android:id="@+id/tvSap" | |
| style="@style/index_headers" | |
| android:layout_width="wrap_content" | |
| android:layout_height="25dp" | |
| android:layout_marginLeft="25dp" | |
| android:onClick="onToggleChart" | |
| android:text="SPX" /> | |
| <ImageView | |
| android:id="@+id/spxCheck" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:layout_gravity="top|right" | |
| android:src="@drawable/checkbox_marked_circle" /> | |
| </FrameLayout> | |
| <TextView | |
| android:id="@+id/tvSapChange" | |
| style="@style/index_perc_change" | |
| android:layout_width="wrap_content" | |
| android:layout_height="25dp" | |
| android:layout_marginLeft="5dp" | |
| android:gravity="center_vertical" | |
| android:text="-0.46%" /> | |
| </LinearLayout> | |
| <LinearLayout | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:layout_weight="1" | |
| android:gravity="right" | |
| android:orientation="vertical"> | |
| <FrameLayout | |
| android:layout_width="wrap_content" | |
| android:layout_height="fill_parent" | |
| android:gravity="right"> | |
| <TextView | |
| android:id="@+id/tvNasdaq" | |
| style="@style/index_headers" | |
| android:layout_width="wrap_content" | |
| android:layout_height="25dp" | |
| android:onClick="onToggleChart" | |
| android:text="NDX" /> | |
| <ImageView | |
| android:id="@+id/ndxCheck" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:layout_gravity="top|right" | |
| android:src="@drawable/checkbox_marked_circle" | |
| android:visibility="invisible" /> | |
| </FrameLayout> | |
| <!-- change --> | |
| <TextView | |
| android:id="@+id/tvNasdaqChange" | |
| style="@style/index_perc_change" | |
| android:layout_width="wrap_content" | |
| android:layout_height="25dp" | |
| android:layout_marginRight="15dp" | |
| android:gravity="center_vertical" | |
| android:text="+0.53%" /> | |
| </LinearLayout> | |
| </LinearLayout> | |
| <com.github.mikephil.charting.charts.LineChart | |
| android:id="@+id/chart" | |
| android:layout_width="match_parent" | |
| android:layout_height="100dp" | |
| android:layout_alignParentEnd="false" | |
| android:layout_alignParentLeft="true" | |
| android:layout_alignParentRight="true" | |
| android:layout_alignParentStart="false" | |
| android:layout_alignParentTop="false" | |
| android:layout_below="@id/llContainer" /> | |
| </RelativeLayout> | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment