[android] Use ? for help button, remove logo from help page

Signed-off-by: Harry Bond <me@hbond.xyz>
This commit is contained in:
Harry Bond
2025-05-21 22:50:05 +01:00
committed by Konstantin Pastbin
parent 22f3cb2da1
commit b943969df1
3 changed files with 11 additions and 9 deletions

View File

@@ -104,11 +104,13 @@ public class MapButtonsController extends Fragment
{
if (Config.isNY() && !TextUtils.isEmpty(Config.getDonateUrl(requireContext())))
helpButton.setImageResource(R.drawable.ic_christmas_tree);
else
helpButton.setImageResource(R.drawable.ic_launcher);
// Keep this button colorful in normal theme.
if (!ThemeUtils.isNightTheme(requireContext()))
helpButton.getDrawable().setTintList(null);
// else
// {
// helpButton.setImageResource(R.drawable.ic_launcher);
// }
// // Keep this button colorful in normal theme.
// if (!ThemeUtils.isNightTheme(requireContext()))
// helpButton.getDrawable().setTintList(null);
}
final View zoomFrame = mFrame.findViewById(R.id.zoom_buttons_container);

View File

@@ -53,7 +53,7 @@
app:layout_constraintTop_toTopOf="@id/version" />
</LinearLayout>
<ImageView
<!--ImageView
android:id="@+id/imageView3"
android:layout_width="@dimen/about_logo"
android:layout_height="@dimen/about_logo"
@@ -64,7 +64,7 @@
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toEndOf="@+id/linearLayout1"
app:layout_constraintTop_toTopOf="parent"
app:tint="?attr/colorLogo" />
app:tint="?attr/colorLogo" /-->
<LinearLayout
android:id="@+id/linearLayout2"

View File

@@ -17,7 +17,7 @@
android:orientation="vertical"
android:padding="@dimen/margin_base">
<ImageView
<!--ImageView
android:layout_width="@dimen/about_logo"
android:layout_height="@dimen/about_logo"
android:layout_gravity="center_horizontal"
@@ -25,7 +25,7 @@
android:layout_marginBottom="@dimen/margin_half"
android:contentDescription="@string/app_name"
app:srcCompat="@drawable/ic_launcher"
app:tint="?attr/colorLogo" />
app:tint="?attr/colorLogo" /-->
<TextView
android:id="@+id/version"