mirror of
https://github.com/nuclearfog/Shitter.git
synced 2025-02-06 05:53:25 +01:00
version 1.8.13, bug fix, layout fix
This commit is contained in:
parent
994f680a11
commit
8daf1fa1a5
@ -9,8 +9,8 @@ android {
|
||||
applicationId 'org.nuclearfog.twidda'
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 30
|
||||
versionCode 36
|
||||
versionName '1.8.12'
|
||||
versionCode 37
|
||||
versionName '1.8.13'
|
||||
// limiting language support for smaller APK size
|
||||
resConfigs 'en', 'de-rDE', 'zh-rCN'
|
||||
vectorDrawables.useSupportLibrary true
|
||||
|
@ -348,6 +348,7 @@ public class MediaViewer extends MediaActivity implements OnImageClickListener,
|
||||
public void onPrepared(MediaPlayer mp) {
|
||||
// configure to play GIF
|
||||
if (type == MEDIAVIEWER_ANGIF) {
|
||||
loadingCircle.setVisibility(INVISIBLE);
|
||||
mp.setLooping(true);
|
||||
mp.start();
|
||||
}
|
||||
|
@ -245,6 +245,8 @@ public class TweetEditor extends MediaActivity implements OnClickListener, Dialo
|
||||
previewBtn.setVisibility(VISIBLE);
|
||||
mediaBtn.setVisibility(GONE);
|
||||
mediaPath.add(path);
|
||||
} else {
|
||||
Toast.makeText(this, R.string.info_cant_add_video, LENGTH_SHORT).show();
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -1,31 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
style="@style/CardViewStyle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/imageitem_layout_margin"
|
||||
style="@style/CardViewStyle">
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="@dimen/imageitem_layout_margin">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
<ImageView
|
||||
android:id="@+id/item_image_preview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:contentDescription="@string/image_preview" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/item_image_preview"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:contentDescription="@string/image_preview" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/item_image_save"
|
||||
style="@style/RoundButton"
|
||||
android:layout_width="@dimen/imageitem_button_size"
|
||||
android:layout_height="@dimen/imageitem_button_size"
|
||||
android:layout_gravity="top|end"
|
||||
android:layout_margin="@dimen/imageitem_button_margin"
|
||||
android:contentDescription="@string/item_image_save"
|
||||
android:padding="@dimen/imageitem_drawable_padding"
|
||||
android:visibility="gone" />
|
||||
|
||||
</FrameLayout>
|
||||
<ImageButton
|
||||
android:id="@+id/item_image_save"
|
||||
style="@style/RoundButton"
|
||||
android:layout_width="@dimen/imageitem_button_size"
|
||||
android:layout_height="@dimen/imageitem_button_size"
|
||||
android:layout_gravity="top|end"
|
||||
android:layout_margin="@dimen/imageitem_button_margin"
|
||||
android:contentDescription="@string/item_image_save"
|
||||
android:padding="@dimen/imageitem_drawable_padding"
|
||||
android:visibility="invisible" />
|
||||
|
||||
</androidx.cardview.widget.CardView>
|
Loading…
x
Reference in New Issue
Block a user