1
0
mirror of https://github.com/bspeice/itcs4180 synced 2024-11-17 04:48:12 -05:00
itcs4180/HW5/res/layout/tweet_list.xml

56 lines
2.0 KiB
XML
Raw Normal View History

2014-04-09 09:28:55 -04:00
<?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"
2014-04-12 17:47:30 -04:00
android:layout_height="fill_parent"
android:descendantFocusability="blocksDescendants"
2014-04-12 17:47:30 -04:00
android:padding="2dp" >
2014-04-09 09:28:55 -04:00
<ImageView
android:id="@+id/imgProfileImage"
2014-04-12 17:47:30 -04:00
android:layout_width="60dp"
android:layout_height="60dp"
2014-04-09 09:28:55 -04:00
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
2014-04-12 17:47:30 -04:00
android:padding="5dp"
2014-04-09 09:28:55 -04:00
android:src="@drawable/ic_launcher" />
<TextView
android:id="@+id/txtTweetText"
2014-04-09 09:28:55 -04:00
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
2014-04-12 17:47:30 -04:00
android:layout_toRightOf="@+id/imgProfileImage"
android:padding="5dp"
android:text="@string/default_text" />
2014-04-09 09:28:55 -04:00
<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"
2014-04-12 17:47:30 -04:00
android:padding="5dp"
android:text="@string/default_text" />
<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"
2014-04-12 17:47:30 -04:00
android:padding="5dp"
android:src="@drawable/add_bookmark" />
2014-04-09 09:28:55 -04:00
<ImageView
android:id="@+id/imgIsRetweet"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_alignTop="@+id/ibtnSaveTweet"
android:layout_toLeftOf="@+id/ibtnSaveTweet"
2014-04-12 17:47:30 -04:00
android:padding="5dp"
android:src="@drawable/not_retweeted" />
2014-04-09 09:28:55 -04:00
</RelativeLayout>