1
0
mirror of https://github.com/bspeice/itcs4180 synced 2025-07-03 14:55:11 -04:00

Now have a working TweetsListActivity

Needs a bit of tweaking, but functionality is mostly there.
This commit is contained in:
DjBushido
2014-04-12 13:35:08 -04:00
parent e23b4bd798
commit 8d4d50c4a9
4 changed files with 45 additions and 41 deletions

View File

@ -1,57 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/RelativeLayout1"
android:layout_width="30dp"
android:layout_height="match_parent"
android:columnCount="2"
android:orientation="vertical" >
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<ImageView
android:id="@+id/imgProfileImage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:src="@drawable/ic_launcher" />
<LinearLayout
<TextView
android:id="@+id/txtTweetText"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_toLeftOf="@+id/imageView1"
android:layout_toRightOf="@+id/imgProfileImage"
android:layout_alignParentTop="true"
android:orientation="vertical" >
android:text="TextView" />
<TextView
android:id="@+id/txtTweetText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
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" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<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" />
<TextView
android:id="@+id/txtTweetInfo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="TextView" />
<ImageView
android:id="@+id/imgIsRetweet"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/not_retweeted" />
<ImageButton
android:id="@+id/ibtnSaveTweet"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:onClick="onSaveTweet"
android:src="@drawable/add_bookmark" />
</LinearLayout>
</LinearLayout>
<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>