Created
July 29, 2016 19:39
-
-
Save the-dagger/5e723b84bc7dad67f47e9b4e1e513ae2 to your computer and use it in GitHub Desktop.
This file contains 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
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="vertical"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:id="@+id/widget_toolbar" | |
android:layout_height="?android:attr/actionBarSize" | |
android:background="@color/colorPrimary"> | |
<ImageView | |
android:layout_width="wrap_content" | |
android:layout_height="match_parent" | |
android:layout_gravity="center" | |
android:src="@drawable/stock_up" | |
android:contentDescription="@string/stock_widget" /> | |
<ImageView | |
android:layout_width="wrap_content" | |
android:layout_height="match_parent" | |
android:layout_gravity="center" | |
android:src="@drawable/stock_down" | |
android:contentDescription="@string/stock_widget" /> | |
<TextView | |
android:layout_width="0dp" | |
android:layout_height="match_parent" | |
android:layout_weight="1" | |
android:layout_marginStart="32dp" | |
android:gravity="center_vertical" | |
android:text="@string/your_stocks" | |
android:textAppearance="@android:style/TextAppearance.DeviceDefault.Widget.ActionBar.Title" | |
android:layout_marginLeft="32dp" /> | |
</LinearLayout> | |
<ListView | |
android:id="@+id/widget_listView" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:background="@color/backGround"></ListView> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment