1
0
mirror of https://github.com/bspeice/itcs4180 synced 2025-07-02 14:26:47 -04:00

Initial TweetListActivity commit

This commit is contained in:
DjBushido
2014-04-09 09:28:55 -04:00
parent 3a5e0b2918
commit e23b4bd798
16 changed files with 324 additions and 17 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -0,0 +1,19 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context=".TweetsListActivity" >
<ListView
android:id="@+id/listTweetList"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true" >
</ListView>
</RelativeLayout>

View File

@ -0,0 +1,57 @@
<?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>

View File

@ -0,0 +1,9 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:id="@+id/action_settings"
android:orderInCategory="100"
android:showAsAction="never"
android:title="@string/action_settings"/>
</menu>

View File

@ -1,8 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">HW5</string>
<string name="action_settings">Settings</string>
<string name="hello_world">Hello world!</string>
<string name="title_activity_tweets_list">TweetsListActivity</string>
</resources>