mirror of
https://github.com/nuclearfog/Shitter.git
synced 2025-02-03 12:37:33 +01:00
Bugfix
Code Cleanup Added Multiple Image Upload New Window Animation
This commit is contained in:
parent
d20387913c
commit
e806bb36db
@ -137,12 +137,28 @@ public class MainActivity extends AppCompatActivity implements AdapterView.OnIte
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void finish() {
|
||||
super.finish();
|
||||
overridePendingTransition(0,0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Home Button
|
||||
*/
|
||||
@Override
|
||||
protected void onUserLeaveHint(){
|
||||
super.onUserLeaveHint();
|
||||
overridePendingTransition(0,0);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onBackPressed() {
|
||||
if( currentTab.equals("timeline") )
|
||||
if( currentTab.equals("timeline") ) {
|
||||
super.onBackPressed();
|
||||
else
|
||||
}else {
|
||||
tabhost.setCurrentTab(0);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -77,6 +77,15 @@ public class AppSettings extends AppCompatActivity implements View.OnClickListen
|
||||
loadSettings();
|
||||
}
|
||||
|
||||
/**
|
||||
* Home Button
|
||||
*/
|
||||
@Override
|
||||
protected void onUserLeaveHint() {
|
||||
super.onUserLeaveHint();
|
||||
overridePendingTransition(0,0);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onCreateOptionsMenu( Menu m ) {
|
||||
getMenuInflater().inflate(R.menu.setting, m);
|
||||
|
@ -30,6 +30,15 @@ public class LoginPage extends Activity implements View.OnClickListener {
|
||||
super.onBackPressed();
|
||||
}
|
||||
|
||||
/**
|
||||
* Home Button
|
||||
*/
|
||||
@Override
|
||||
protected void onUserLeaveHint(){
|
||||
super.onUserLeaveHint();
|
||||
overridePendingTransition(0,0);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void onClick(View v){
|
||||
|
@ -63,6 +63,15 @@ public class SearchPage extends AppCompatActivity implements AdapterView.OnItemC
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
/**
|
||||
* Home Button
|
||||
*/
|
||||
@Override
|
||||
protected void onUserLeaveHint(){
|
||||
super.onUserLeaveHint();
|
||||
overridePendingTransition(0,0);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onCreateOptionsMenu(Menu m) {
|
||||
getMenuInflater().inflate(R.menu.search, m);
|
||||
|
@ -75,6 +75,15 @@ public class TweetDetail extends AppCompatActivity implements View.OnClickListen
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
/**
|
||||
* Home Button
|
||||
*/
|
||||
@Override
|
||||
protected void onUserLeaveHint(){
|
||||
super.onUserLeaveHint();
|
||||
overridePendingTransition(0,0);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent;
|
||||
|
@ -69,6 +69,15 @@ public class TweetPopup extends AppCompatActivity implements View.OnClickListene
|
||||
showClosingMsg();
|
||||
}
|
||||
|
||||
/**
|
||||
* Home Button
|
||||
*/
|
||||
@Override
|
||||
protected void onUserLeaveHint(){
|
||||
super.onUserLeaveHint();
|
||||
overridePendingTransition(0,0);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onActivityResult(int reqCode, int returnCode, Intent i) {
|
||||
super.onActivityResult(reqCode,returnCode,i);
|
||||
|
@ -42,6 +42,15 @@ public class UserDetail extends AppCompatActivity implements AdapterView.OnItemC
|
||||
getUsers();
|
||||
}
|
||||
|
||||
/**
|
||||
* Home Button
|
||||
*/
|
||||
@Override
|
||||
protected void onUserLeaveHint(){
|
||||
super.onUserLeaveHint();
|
||||
overridePendingTransition(0,0);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onCreateOptionsMenu( Menu m ) {
|
||||
toolbar.inflateMenu(R.menu.setting);
|
||||
|
@ -79,6 +79,14 @@ public class UserProfile extends AppCompatActivity implements View.OnClickListen
|
||||
super.onBackPressed();
|
||||
}
|
||||
|
||||
/**
|
||||
* Home Button
|
||||
*/
|
||||
@Override
|
||||
protected void onUserLeaveHint() {
|
||||
super.onUserLeaveHint();
|
||||
overridePendingTransition(0,0);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onCreateOptionsMenu(Menu m) {
|
||||
|
@ -7,6 +7,7 @@
|
||||
<item name="android:navigationBarColor">@android:color/background_dark</item>
|
||||
<item name="android:colorBackground">@color/DarkBlue</item>
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
|
||||
</style>
|
||||
|
||||
<style name="Transparency" parent="AppTheme">
|
||||
@ -14,9 +15,10 @@
|
||||
<item name="android:colorBackground">@android:color/transparent</item>
|
||||
</style>
|
||||
|
||||
<style name="TransactionPending" parent="@android:style/Animation.Translucent">
|
||||
<style name="TransactionPending" parent="@android:style/Animation">
|
||||
<item name="android:windowEnterAnimation">@android:anim/fade_in</item>
|
||||
<item name="android:windowExitAnimation">@android:anim/fade_out</item>
|
||||
|
||||
</style>
|
||||
|
||||
</resources>
|
Loading…
x
Reference in New Issue
Block a user