Permalink
Browse files

first commit, ui design only.

  • Loading branch information...
mariotaku committed Apr 1, 2012
0 parents commit 27d06744dcebac8041c89aa43174e96095085621
Showing with 1,281 additions and 0 deletions.
  1. +8 −0 .classpath
  2. +2 −0 .gitignore
  3. +33 −0 .project
  4. +37 −0 AndroidManifest.xml
  5. BIN libs/android-support-v4.jar
  6. BIN libs/signpost-commonshttp4-1.2.1.1.jar
  7. BIN libs/signpost-core-1.2.1.1.jar
  8. +20 −0 proguard-project.txt
  9. +17 −0 project.properties
  10. +10 −0 res/anim/rotate.xml
  11. BIN res/drawable-hdpi/ic_launcher.png
  12. BIN res/drawable-hdpi/refreshable_listview_arrow.png
  13. BIN res/drawable-xhdpi/ic_launcher.png
  14. BIN res/drawable-xhdpi/ic_menu_account_list.png
  15. BIN res/drawable-xhdpi/ic_menu_add.png
  16. BIN res/drawable-xhdpi/ic_menu_agenda.png
  17. BIN res/drawable-xhdpi/ic_menu_allfriends.png
  18. BIN res/drawable-xhdpi/ic_menu_always_landscape_portrait.png
  19. BIN res/drawable-xhdpi/ic_menu_archive.png
  20. BIN res/drawable-xhdpi/ic_menu_attachment.png
  21. BIN res/drawable-xhdpi/ic_menu_back.png
  22. BIN res/drawable-xhdpi/ic_menu_block.png
  23. BIN res/drawable-xhdpi/ic_menu_blocked_user.png
  24. BIN res/drawable-xhdpi/ic_menu_btn_add.png
  25. BIN res/drawable-xhdpi/ic_menu_call.png
  26. BIN res/drawable-xhdpi/ic_menu_camera.png
  27. BIN res/drawable-xhdpi/ic_menu_cc.png
  28. BIN res/drawable-xhdpi/ic_menu_chat_dashboard.png
  29. BIN res/drawable-xhdpi/ic_menu_clear_playlist.png
  30. BIN res/drawable-xhdpi/ic_menu_close_clear_cancel.png
  31. BIN res/drawable-xhdpi/ic_menu_compass.png
  32. BIN res/drawable-xhdpi/ic_menu_compose.png
  33. BIN res/drawable-xhdpi/ic_menu_copy.png
  34. BIN res/drawable-xhdpi/ic_menu_copy_holo_dark.png
  35. BIN res/drawable-xhdpi/ic_menu_copy_holo_light.png
  36. BIN res/drawable-xhdpi/ic_menu_crop.png
  37. BIN res/drawable-xhdpi/ic_menu_cut.png
  38. BIN res/drawable-xhdpi/ic_menu_cut_holo_dark.png
  39. BIN res/drawable-xhdpi/ic_menu_cut_holo_light.png
  40. BIN res/drawable-xhdpi/ic_menu_day.png
  41. BIN res/drawable-xhdpi/ic_menu_delete.png
  42. BIN res/drawable-xhdpi/ic_menu_directions.png
  43. BIN res/drawable-xhdpi/ic_menu_edit.png
  44. BIN res/drawable-xhdpi/ic_menu_emoticons.png
  45. BIN res/drawable-xhdpi/ic_menu_end_conversation.png
  46. BIN res/drawable-xhdpi/ic_menu_find.png
  47. BIN res/drawable-xhdpi/ic_menu_find_holo_dark.png
  48. BIN res/drawable-xhdpi/ic_menu_find_holo_light.png
  49. BIN res/drawable-xhdpi/ic_menu_forward.png
  50. BIN res/drawable-xhdpi/ic_menu_friendslist.png
  51. BIN res/drawable-xhdpi/ic_menu_gallery.png
  52. BIN res/drawable-xhdpi/ic_menu_goto.png
  53. BIN res/drawable-xhdpi/ic_menu_help.png
  54. BIN res/drawable-xhdpi/ic_menu_help_holo_light.png
  55. BIN res/drawable-xhdpi/ic_menu_home.png
  56. BIN res/drawable-xhdpi/ic_menu_info_details.png
  57. BIN res/drawable-xhdpi/ic_menu_invite.png
  58. BIN res/drawable-xhdpi/ic_menu_login.png
  59. BIN res/drawable-xhdpi/ic_menu_manage.png
  60. BIN res/drawable-xhdpi/ic_menu_mapmode.png
  61. BIN res/drawable-xhdpi/ic_menu_mark.png
  62. BIN res/drawable-xhdpi/ic_menu_month.png
  63. BIN res/drawable-xhdpi/ic_menu_more.png
  64. BIN res/drawable-xhdpi/ic_menu_moreoverflow.png
  65. BIN res/drawable-xhdpi/ic_menu_moreoverflow_focused_holo_dark.png
  66. BIN res/drawable-xhdpi/ic_menu_moreoverflow_focused_holo_light.png
  67. BIN res/drawable-xhdpi/ic_menu_moreoverflow_normal_holo_dark.png
  68. BIN res/drawable-xhdpi/ic_menu_moreoverflow_normal_holo_light.png
  69. BIN res/drawable-xhdpi/ic_menu_my_calendar.png
  70. BIN res/drawable-xhdpi/ic_menu_mylocation.png
  71. BIN res/drawable-xhdpi/ic_menu_myplaces.png
  72. BIN res/drawable-xhdpi/ic_menu_notifications.png
  73. BIN res/drawable-xhdpi/ic_menu_paste.png
  74. BIN res/drawable-xhdpi/ic_menu_paste_holo_dark.png
  75. BIN res/drawable-xhdpi/ic_menu_paste_holo_light.png
  76. BIN res/drawable-xhdpi/ic_menu_play_clip.png
  77. BIN res/drawable-xhdpi/ic_menu_preferences.png
  78. BIN res/drawable-xhdpi/ic_menu_recent_history.png
  79. BIN res/drawable-xhdpi/ic_menu_refresh.png
  80. BIN res/drawable-xhdpi/ic_menu_report_image.png
  81. BIN res/drawable-xhdpi/ic_menu_revert.png
  82. BIN res/drawable-xhdpi/ic_menu_rotate.png
  83. BIN res/drawable-xhdpi/ic_menu_save.png
  84. BIN res/drawable-xhdpi/ic_menu_search.png
  85. BIN res/drawable-xhdpi/ic_menu_search_holo_dark.png
  86. BIN res/drawable-xhdpi/ic_menu_search_holo_light.png
  87. BIN res/drawable-xhdpi/ic_menu_selectall_holo_dark.png
  88. BIN res/drawable-xhdpi/ic_menu_selectall_holo_light.png
  89. BIN res/drawable-xhdpi/ic_menu_send.png
  90. BIN res/drawable-xhdpi/ic_menu_set_as.png
  91. BIN res/drawable-xhdpi/ic_menu_settings_holo_light.png
  92. BIN res/drawable-xhdpi/ic_menu_share.png
  93. BIN res/drawable-xhdpi/ic_menu_share_holo_dark.png
  94. BIN res/drawable-xhdpi/ic_menu_share_holo_light.png
  95. BIN res/drawable-xhdpi/ic_menu_slideshow.png
  96. BIN res/drawable-xhdpi/ic_menu_sort_alphabetically.png
  97. BIN res/drawable-xhdpi/ic_menu_sort_by_size.png
  98. BIN res/drawable-xhdpi/ic_menu_star.png
  99. BIN res/drawable-xhdpi/ic_menu_start_conversation.png
  100. BIN res/drawable-xhdpi/ic_menu_stop.png
  101. BIN res/drawable-xhdpi/ic_menu_today.png
  102. BIN res/drawable-xhdpi/ic_menu_upload.png
  103. BIN res/drawable-xhdpi/ic_menu_upload_you_tube.png
  104. BIN res/drawable-xhdpi/ic_menu_view.png
  105. BIN res/drawable-xhdpi/ic_menu_week.png
  106. BIN res/drawable-xhdpi/ic_menu_zoom.png
  107. BIN res/drawable-xhdpi/ic_profile_image_default.png
  108. BIN res/drawable-xhdpi/ic_tab_connect.png
  109. BIN res/drawable-xhdpi/ic_tab_discover.png
  110. BIN res/drawable-xhdpi/ic_tab_home.png
  111. BIN res/drawable-xhdpi/ic_tab_me.png
  112. +37 −0 res/layout/compose.xml
  113. +24 −0 res/layout/home_tabs.xml
  114. +12 −0 res/layout/main.xml
  115. +37 −0 res/layout/refreshable_list_header.xml
  116. +12 −0 res/layout/timeline.xml
  117. +53 −0 res/layout/tweet_list_item.xml
  118. +23 −0 res/menu/compose.xml
  119. +11 −0 res/menu/connect.xml
  120. +11 −0 res/menu/discover.xml
  121. +11 −0 res/menu/home.xml
  122. +11 −0 res/menu/me.xml
  123. +18 −0 res/values/strings.xml
  124. +11 −0 res/values/themes.xml
  125. +5 −0 src/org/mariotaku/twidere/Constants.java
  126. +86 −0 src/org/mariotaku/twidere/activity/ComposeActivity.java
  127. +117 −0 src/org/mariotaku/twidere/activity/HomeActivity.java
  128. +86 −0 src/org/mariotaku/twidere/fragment/ConnectTabFragment.java
  129. +86 −0 src/org/mariotaku/twidere/fragment/DiscoverTabFragment.java
  130. +132 −0 src/org/mariotaku/twidere/fragment/HomeTabFragment.java
  131. +85 −0 src/org/mariotaku/twidere/fragment/MeTabFragment.java
  132. +286 −0 src/org/mariotaku/twidere/widget/RefreshableListView.java
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="src" path="gen"/>
+ <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
+ <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
+ <classpathentry kind="output" path="bin/classes"/>
+</classpath>
@@ -0,0 +1,2 @@
+/bin
+/gen
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>twidere</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.ApkBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.android.ide.eclipse.adt.AndroidNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="org.mariotaku.twidere"
+ android:versionCode="1"
+ android:versionName="0.0.0-demo">
+
+ <uses-sdk
+ android:minSdkVersion="8"
+ android:targetSdkVersion="15"/>
+
+ <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
+ <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
+ <uses-permission android:name="android.permission.INTERNET"/>
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
+
+ <application
+ android:icon="@drawable/ic_launcher"
+ android:label="@string/app_name"
+ android:theme="@style/Theme.Twidere">
+ <activity
+ android:name=".activity.HomeActivity"
+ android:label="@string/app_name">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN"/>
+
+ <category android:name="android.intent.category.LAUNCHER"/>
+ </intent-filter>
+ </activity>
+ <activity
+ android:name=".activity.ComposeActivity"
+ android:label="@string/compose"
+ android:uiOptions="splitActionBarWhenNarrow">
+ </activity>
+ </application>
+
+</manifest>
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,20 @@
+# To enable ProGuard in your project, edit project.properties
+# to define the proguard.config property as described in that file.
+#
+# Add project specific ProGuard rules here.
+# By default, the flags in this file are appended to flags specified
+# in ${sdk.dir}/tools/proguard/proguard-android.txt
+# You can edit the include path and order by changing the ProGuard
+# include property in project.properties.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# Add any project specific keep options here:
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
@@ -0,0 +1,17 @@
+# This file is automatically generated by Android Tools.
+# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
+#
+# This file must be checked in Version Control Systems.
+#
+# To customize properties used by the Ant build system edit
+# "ant.properties", and override values to adapt the script to your
+# project structure.
+#
+# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
+#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
+
+# Project target.
+target=android-15
+android.library.reference.1=../ActionBarSherlock
+android.library.reference.2=../HoloEverywhere
+android.library.reference.3=../ViewPagerIndicator
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<set xmlns:android="http://schemas.android.com/apk/res/android">
+ <rotate
+ android:fromDegrees="180.0"
+ android:toDegrees="0.0"
+ android:pivotX="50%"
+ android:pivotY="50%"
+ android:duration="200"
+ />
+</set>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <EditText
+ android:id="@+id/edit_text"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignBottom="@+id/save_to_draft"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true"
+ android:layout_toLeftOf="@+id/send"
+ android:ems="10"
+ android:inputType="textMultiLine">
+
+ <requestFocus/>
+ </EditText>
+
+ <ImageButton
+ android:id="@+id/send"
+ android:layout_width="64dip"
+ android:layout_height="64dip"
+ android:layout_alignParentRight="true"
+ android:contentDescription="@string/send"
+ android:src="@drawable/ic_menu_send"/>
+
+ <ImageButton
+ android:id="@+id/save_to_draft"
+ android:layout_width="64dip"
+ android:layout_height="64dip"
+ android:layout_alignParentRight="true"
+ android:layout_below="@+id/send"
+ android:contentDescription="@string/save_to_draft"
+ android:src="@drawable/ic_menu_save"/>
+
+</RelativeLayout>
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/* //device/apps/common/assets/res/layout/tab_content.xml
+**
+** Copyright 2011, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<com.viewpagerindicator.TabPageIndicator xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@android:id/tabs"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"/>
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+
+ <android.support.v4.view.ViewPager
+ android:id="@+id/pager"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"/>
+
+</LinearLayout>
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+
+ <RelativeLayout
+ android:id="@+id/refreshable_list_header"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingBottom="10dp"
+ android:paddingTop="10dp">
+
+ <ImageView
+ android:id="@+id/refreshable_list_arrow"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="25dp"
+ android:src="@drawable/refreshable_listview_arrow"/>
+
+ <ProgressBar
+ android:id="@+id/refreshable_list_progress"
+ android:layout_width="20dp"
+ android:layout_height="20dp"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="25dp"
+ android:visibility="invisible"/>
+
+ <TextView
+ android:id="@+id/refreshable_list_text"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:layout_marginLeft="15dp"
+ android:text="@string/pull_down_to_update"/>
+ </RelativeLayout>
+
+</LinearLayout>
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+
+ <org.mariotaku.twidere.widget.RefreshableListView
+ android:id="@android:id/list"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"/>
+
+</LinearLayout>
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:padding="4dip">
+
+ <ImageView
+ android:id="@+id/profile_image"
+ android:layout_width="64dip"
+ android:layout_height="64dip"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true"
+ android:scaleType="center"
+ android:src="@drawable/ic_profile_image_default"/>
+
+ <TextView
+ android:id="@+id/user_name"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentTop="true"
+ android:layout_toRightOf="@+id/profile_image"
+ android:singleLine="true"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:textStyle="bold"/>
+
+ <TextView
+ android:id="@+id/screen_name"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentTop="true"
+ android:layout_toRightOf="@+id/profile_image"
+ android:singleLine="true"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:textColor="?android:attr/textColorSecondary"/>
+
+ <TextView
+ android:id="@+id/tweet_content"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignLeft="@+id/screen_name"
+ android:layout_below="@+id/screen_name"/>
+
+ <TextView
+ android:id="@+id/tweet_time"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentRight="true"
+ android:alpha="127"
+ android:text="just now"
+ android:textSize="11sp"/>
+
+</RelativeLayout>
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <item
+ android:id="@+id/add_location"
+ android:icon="@drawable/ic_menu_mylocation"
+ android:showAsAction="ifRoom"
+ android:title="@string/add_location">
+ </item>
+ <item
+ android:id="@+id/take_photo"
+ android:icon="@drawable/ic_menu_camera"
+ android:showAsAction="ifRoom"
+ android:title="@string/take_photo">
+ </item>
+ <item
+ android:id="@+id/add_image"
+ android:icon="@drawable/ic_menu_gallery"
+ android:showAsAction="ifRoom"
+ android:title="@string/add_image">
+ </item>
+
+</menu>
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <item
+ android:id="@+id/compose"
+ android:icon="@drawable/ic_menu_compose"
+ android:showAsAction="always"
+ android:title="@string/compose">
+ </item>
+
+</menu>
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <item
+ android:id="@+id/search"
+ android:icon="@drawable/ic_menu_search"
+ android:showAsAction="always"
+ android:title="@android:string/search_go">
+ </item>
+
+</menu>
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <item
+ android:id="@+id/compose"
+ android:icon="@drawable/ic_menu_compose"
+ android:showAsAction="always"
+ android:title="@string/compose">
+ </item>
+
+</menu>
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <item
+ android:id="@+id/settings"
+ android:icon="@drawable/ic_menu_preferences"
+ android:showAsAction="always"
+ android:title="@string/settings">
+ </item>
+
+</menu>
Oops, something went wrong.

0 comments on commit 27d0674

Please sign in to comment.