1
0
mirror of https://github.com/bspeice/itcs4180 synced 2024-11-14 19:38:21 -05:00
itcs4180/HW5/res/layout/tweet_list.xml
DjBushido 8d4d50c4a9 Now have a working TweetsListActivity
Needs a bit of tweaking, but functionality is mostly there.
2014-04-12 13:35:08 -04:00

49 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/RelativeLayout1"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<ImageView
android:id="@+id/imgProfileImage"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:src="@drawable/ic_launcher" />
<TextView
android:id="@+id/txtTweetText"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_toRightOf="@+id/imgProfileImage"
android:layout_alignParentTop="true"
android:text="TextView" />
<TextView
android:id="@+id/txtTweetInfo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/txtTweetText"
android:layout_below="@+id/txtTweetText"
android:layout_toLeftOf="@+id/imgIsRetweet"
android:text="TextView" />
<ImageButton
android:id="@+id/ibtnSaveTweet"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_alignParentRight="true"
android:layout_below="@+id/txtTweetText"
android:onClick="onSaveTweet"
android:src="@drawable/add_bookmark" />
<ImageView
android:id="@+id/imgIsRetweet"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_alignTop="@+id/ibtnSaveTweet"
android:layout_toLeftOf="@+id/ibtnSaveTweet"
android:src="@drawable/not_retweeted" />
</RelativeLayout>