This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final BottomBar mBottomBar = (BottomBar) findViewById(R.id.bottomBar); | |
for (int i = 0; i < mBottomBar.getTabCount(); i++) { | |
BottomBarTab tab = mBottomBar.getTabAtPosition(i); | |
tab.setGravity(Gravity.CENTER); | |
View icon = tab.findViewById(com.roughike.bottombar.R.id.bb_bottom_bar_icon); | |
icon.setPadding(0, icon.getPaddingTop(), 0, icon.getPaddingTop()); | |
View title = tab.findViewById(com.roughike.bottombar.R.id.bb_bottom_bar_title); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"code": 0, | |
"message": "mom joanna home!", | |
"content": { | |
"user_info": { | |
"user_id": 10, | |
"profile_pic": "", | |
"profile_pic_thumb": "", | |
"name": "Anderson Cirlley", | |
"username": "andersoncirlley" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"code":0,"message":"mom joanna home!","content":{"user_info":{"user_id":10,"profile_pic":"","profile_pic_thumb":"","name":"Anderson Cirlley","username":"andersoncirlley"},"post_info":{"post_id":65,"created_at":1500412671,"geolocation":"Recife","media_url":"https:\/\/cliksocial-pictures.s3-sa-east-1.amazonaws.com\/posts\/640x640\/9de5b285114a505dcf57c6bf2ad0201a1b53d626a906ec5f9de48419ca55.jpg","media_url_thumb":"https:\/\/cliksocial-pictures.s3-sa-east-1.amazonaws.com\/posts\/150x150\/9de5b285114a505dcf57c6bf2ad0201a1b53d626a906ec5f9de48419ca55.jpg","media_type":"image","is_liked":true,"count_likes":4,"count_comments":2,"count_shares":0,"description":"Estamos trabalhando para melhorar o mundo. #cliksocial São Paulo. 👽✌","last_comments":[]}}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.supportclik.cliksocial; | |
import android.os.Bundle; | |
import android.support.annotation.IdRes; | |
import android.support.v4.app.Fragment; | |
import android.support.v4.app.FragmentTransaction; | |
import android.support.v7.app.AppCompatActivity; | |
import android.view.Gravity; | |
import android.view.View; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.supportclik.cliksocial.auth; | |
import android.support.annotation.IdRes; | |
import android.support.v4.app.Fragment; | |
import android.support.v4.app.FragmentTransaction; | |
import android.support.v7.app.AppCompatActivity; | |
import android.os.Bundle; | |
import com.roughike.bottombar.BottomBar; | |
import com.roughike.bottombar.OnTabSelectListener; |