1
0
mirror of https://github.com/bspeice/itcs4180 synced 2024-09-29 06:01:35 -04:00
itcs4180/HW5/res/layout/tweet_list.xml
2014-04-09 09:28:55 -04:00

57 lines
1.9 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="30dp"
android:layout_height="match_parent"
android:columnCount="2"
android:orientation="vertical" >
<ImageView
android:id="@+id/imgProfileImage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:src="@drawable/ic_launcher" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_toLeftOf="@+id/imageView1"
android:layout_alignParentTop="true"
android:orientation="vertical" >
<TextView
android:id="@+id/txtTweetText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="TextView" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<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>
</RelativeLayout>