Release 2.38.0-beta-1

This commit is contained in:
Thomas 2021-01-31 17:49:16 +01:00
parent f9a267f267
commit 7b3b10f9fb
3 changed files with 0 additions and 62 deletions

View File

@ -147,20 +147,6 @@ public class AboutActivity extends BaseActivity implements OnRetrieveRemoteAccou
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://www.gnu.org/licenses/quick-guide-gplv3.fr.html"));
startActivity(browserIntent);
});
Button about_translation = findViewById(R.id.about_translation);
about_translation.setOnClickListener(v -> {
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://translate.yandex.com/"));
startActivity(browserIntent);
});
TextView about_wiki = findViewById(R.id.about_wiki);
SpannableString content = new SpannableString(about_wiki.getText().toString());
content.setSpan(new UnderlineSpan(), 0, content.length(), 0);
about_wiki.setText(content);
about_wiki.setOnClickListener(v -> {
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://fedilab.app/page/howto/"));
startActivity(browserIntent);
});
Button about_support = findViewById(R.id.about_support);

View File

@ -323,28 +323,5 @@
android:text="@string/about_trunk_action" />
</LinearLayout>
<!-- About translation -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal"
android:padding="18sp">
<TextView
android:layout_width="200dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:text="@string/about_yandex"
android:textSize="16sp" />
<Button
android:id="@+id/about_translation"
style="@style/Base.Widget.AppCompat.Button.Colored"
android:layout_width="165dp"
android:layout_height="wrap_content"
android:text="@string/about_yandex_action" />
</LinearLayout>
</LinearLayout>
</ScrollView>

View File

@ -269,30 +269,5 @@
android:text="@string/about_trunk_action" />
</LinearLayout>
<!-- About translation -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="5dp">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="2"
android:gravity="center"
android:text="@string/about_yandex"
android:textSize="16sp" />
<Button
android:id="@+id/about_translation"
style="@style/Base.Widget.AppCompat.Button.Colored"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="3"
android:text="@string/about_yandex_action" />
</LinearLayout>
</LinearLayout>
</ScrollView>