diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2017-10-21 01:38:34 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2017-10-21 01:40:43 +0900 |
commit | 0caa25474d7f9cb281a6b1121777bae84f98bbd9 (patch) | |
tree | 6a5d800fc7c694224b948751cec537561380e3fc /app/src/main/java/net | |
parent | 59c85d7eefe7f81adc6248b2286fe106b7c6cd2a (diff) | |
download | SmileEssence-0caa25474d7f9cb281a6b1121777bae84f98bbd9.tar.gz |
button style simplify
Diffstat (limited to 'app/src/main/java/net')
-rw-r--r-- | app/src/main/java/net/lacolaco/smileessence/view/Partials.kt | 3 | ||||
-rw-r--r-- | app/src/main/java/net/lacolaco/smileessence/view/page/MessagesFragment.kt | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/app/src/main/java/net/lacolaco/smileessence/view/Partials.kt b/app/src/main/java/net/lacolaco/smileessence/view/Partials.kt index d1b10f86..2fd7b2a1 100644 --- a/app/src/main/java/net/lacolaco/smileessence/view/Partials.kt +++ b/app/src/main/java/net/lacolaco/smileessence/view/Partials.kt @@ -119,6 +119,9 @@ object Partials { } view.imageview_status_favorited.visibility = View.GONE + view.tweet_favorite_count.visibility = View.GONE + view.imageview_status_retweeted.visibility = View.GONE + view.tweet_retweet_count.visibility = View.GONE //view.textview_status_header.setTextColor(getStyledColor(activity, world, R.attr.color_message_text_header)) view.setBackgroundColor(getStyledColor(activity, world, R.attr.color_message_bg_normal)) diff --git a/app/src/main/java/net/lacolaco/smileessence/view/page/MessagesFragment.kt b/app/src/main/java/net/lacolaco/smileessence/view/page/MessagesFragment.kt index ff0abd6b..f235827f 100644 --- a/app/src/main/java/net/lacolaco/smileessence/view/page/MessagesFragment.kt +++ b/app/src/main/java/net/lacolaco/smileessence/view/page/MessagesFragment.kt @@ -31,6 +31,10 @@ class MessagesFragment : RefreshableTimelinePageFragment<DirectMessage, PageInfo refresh() } + override fun onCreateView(inflater: LayoutInflater, container: ViewGroup, savedInstanceState: Bundle?): View { + return inflater.inflate(R.layout.page_fragment_refreshable_timeline, container, false) + } + override fun onSwipeDown(view: SwipyRefreshLayout) { val sinceId = if (adapter.sortedList.size() > 0) adapter.sortedList[0].id else null runRefreshTask(world.getReceivedMessagesAsync(sinceId = sinceId)) { |