Readdy Write  
0,00 €
Your View Money
Views: Count
Self 20% 0
Your Content 60% 0

Users by Links 0
u1*(Content+Views) 10% 0
Follow-Follower 0
s2*(Income) 5% 0

Count
Followers 0
Login Register as User

Android Java: Text aus einer Resource File lesen

11.01.2021 (👁81)


 

 

@Override
public void onConfigureTab(@NonNull TabLayout.Tab tab, int position) {

   
int resID=getResources().getIdentifier("tab_text_" + position,"string",getPackageName());
   
String sTabText=getString(resID);
    tab.setText(sTabText);
}