initial commit

This commit is contained in:
NudeDude 2017-11-04 19:49:36 +01:00
parent 4c3197d9ce
commit 60d59f78dd
3 changed files with 6 additions and 4 deletions

View File

@ -18,7 +18,7 @@ import android.content.SharedPreferences;
import org.nuclearfog.twidda.engine.TwitterEngine;
public class LoginActivity extends AppCompatActivity //Activity
public class LoginActivity extends Activity //Activity
{
private Button linkButton, verifierButon, loginButton;
private EditText pin;
@ -93,6 +93,8 @@ public class LoginActivity extends AppCompatActivity //Activity
tab3.setIndicator("Mention").setContent(R.id.timeline);
tabhost.addTab(tab3);
tabhost.setCurrentTab(0);
tabhost.setOnTabChangedListener(new TabHost.OnTabChangeListener() {
@Override
public void onTabChanged(String tabId) {
@ -117,8 +119,6 @@ public class LoginActivity extends AppCompatActivity //Activity
}
}
});
tabhost.setCurrentTab(0);
}
private boolean loggedIn() {

View File

@ -39,7 +39,8 @@
<ImageView
android:id="@+id/imageView"
android:layout_width="64dp"
android:layout_height="64dp" />
android:layout_height="64dp"
android:contentDescription="@string/profile_image" />
<TextView
android:id="@+id/tweettext"

View File

@ -5,6 +5,7 @@
<string name="prompt_token">Pin eingeben</string>
<string name="action_sign_in">Login</string>
<string name="error_field_required">This field is required</string>
<string name="profile_image">profilbild</string>
</resources>