JackGreenEarth

joined 1 year ago
[–] [email protected] 4 points 2 days ago (1 children)

So you'll call it X if he becomes a good parent?

[–] [email protected] 9 points 2 days ago (1 children)

True, but irrelevant for this community. Let's keep politics in other places.

[–] [email protected] 3 points 2 days ago (1 children)

Hey, I like it! Bringing back medieval English characters is cool.

[–] [email protected] 1 points 2 days ago (1 children)

I was using app:srcCompat rather than android:src, maybe that's the difference?

[–] [email protected] 1 points 3 days ago (3 children)

Yes, but then it gave some error when compiling and failed to compile

[–] [email protected] 1 points 3 days ago* (last edited 2 days ago) (3 children)

Which daughter, what's the source for that?

Edit: I have now been provided with a source, thanks!

[–] [email protected] 1 points 3 days ago (5 children)

Unfortunately switching the theme to light didn't work, the images aren't being displayed at all.

Tap for layout xml

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:gravity="end"
    android:orientation="vertical">

    <SearchView
        android:layout_width="match_parent"
        android:layout_height="75dp" />

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="55dp"
        android:gravity="end"
        android:orientation="horizontal">

        <ImageButton
            android:id="@+id/imageButton3"
            android:layout_width="50dp"
            android:layout_height="match_parent"
            android:background="@null"
            android:contentDescription="@string/sort_songs"
            app:srcCompat="@drawable/baseline_sort_40"
            tools:srcCompat="@drawable/baseline_sort_40" />

        <ImageButton
            android:id="@+id/imageButton"
            android:layout_width="50dp"
            android:layout_height="match_parent"
            android:background="@null"
            android:contentDescription="@string/more_options"
            app:srcCompat="@drawable/baseline_more_vert_40"
            tools:srcCompat="@drawable/baseline_more_vert_40" />
    </LinearLayout>

    <ScrollView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:contentDescription="@string/list_of_songs">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical">

            <androidx.cardview.widget.CardView
                android:layout_width="match_parent"
                android:layout_height="100dp" />
        </LinearLayout>
    </ScrollView>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="58dp"
        android:orientation="vertical"
        android:translationY="-60dp">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="55dp"
            android:orientation="horizontal">

            <ImageView
                android:id="@+id/imageView"
                android:layout_width="55dp"
                android:layout_height="match_parent"
                android:contentDescription="@string/album_art"
                android:paddingHorizontal="5dp"
                android:paddingVertical="5dp"
                app:srcCompat="@drawable/music"
                tools:src="@drawable/music" />

            <androidx.constraintlayout.widget.ConstraintLayout
                android:id="@+id/constraintLayout"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:gravity="end"
                android:onClick="openFullscreenView">

                <LinearLayout
                    android:id="@+id/linearLayout2"
                    android:layout_width="wrap_content"
                    android:layout_height="0dp"
                    android:layout_marginStart="0dp"
                    android:gravity="start"
                    android:orientation="vertical"
                    android:paddingStart="2dp"
                    android:paddingEnd="10dp"
                    app:layout_constraintBottom_toBottomOf="@+id/linearLayout3"
                    app:layout_constraintEnd_toStartOf="@+id/linearLayout3"
                    app:layout_constraintStart_toStartOf="parent"
                    app:layout_constraintTop_toTopOf="@+id/linearLayout3">

                    <TextView
                        android:id="@+id/textView"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:text="@string/song_title"
                        android:textAppearance="@style/TextAppearance.AppCompat.Body1"
                        android:textSize="18sp"
                        android:textStyle="bold" />

                    <TextView
                        android:id="@+id/textView2"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:text="@string/song_artist_name"
                        android:textSize="18sp" />

                </LinearLayout>

                <LinearLayout
                    android:id="@+id/linearLayout3"
                    android:layout_width="0dp"
                    android:layout_height="55dp"
                    android:gravity="end"
                    android:orientation="horizontal"
                    app:layout_constraintEnd_toEndOf="parent"
                    app:layout_constraintStart_toEndOf="@+id/linearLayout2">

                    <ImageButton
                        android:id="@+id/imageButton2"
                        android:layout_width="wrap_content"
                        android:layout_height="match_parent"
                        android:layout_weight="1"
                        android:background="@null"
                        android:contentDescription="@string/previous_song"
                        app:srcCompat="@drawable/baseline_skip_previous_40" />

                    <ImageButton
                        android:id="@+id/imageButton4"
                        android:layout_width="wrap_content"
                        android:layout_height="match_parent"
                        android:layout_weight="1"
                        android:background="@null"
                        android:contentDescription="@string/pause_play"
                        app:srcCompat="@drawable/baseline_play_arrow_40" />

                    <ImageButton
                        android:id="@+id/imageButton5"
                        android:layout_width="wrap_content"
                        android:layout_height="match_parent"
                        android:layout_weight="1"
                        android:background="@null"
                        android:contentDescription="@string/next_song"
                        app:srcCompat="@drawable/baseline_skip_next_40" />
                </LinearLayout>

            </androidx.constraintlayout.widget.ConstraintLayout>

        </LinearLayout>

        <ProgressBar
            android:id="@+id/progressBar"
            style="?android:attr/progressBarStyleHorizontal"
            android:layout_width="match_parent"
            android:layout_height="3dp"
            android:progress="50"
            android:progressDrawable="@color/design_default_color_primary" />
    </LinearLayout>

</LinearLayout>

Tap for colors.xml

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <color name="black">#FF000000</color>
    <color name="white">#FFFFFFFF</color>
</resources>

Tap for themes.xml

<resources xmlns:tools="http://schemas.android.com/tools">
    <!-- Base application theme. -->
    <style name="Base.Theme.MaterialMusic" parent="Theme.Material3.DayNight.NoActionBar">
        <!-- Customize your light theme here. -->
        <!-- <item name="colorPrimary">@color/my_light_primary</item> -->
    </style>

    <style name="Theme.MaterialMusic" parent="Base.Theme.MaterialMusic" />
</resources>

Tap for night/themes.xml

<resources xmlns:tools="http://schemas.android.com/tools">
    <!-- Base application theme. -->
    <style name="Base.Theme.MaterialMusic" parent="Theme.Material3.DayNight.NoActionBar">
        <!-- Customize your dark theme here. -->
        <!-- <item name="colorPrimary">@color/my_dark_primary</item> -->
    </style>
</resources>

[–] [email protected] 2 points 3 days ago

I do see them when I go to the resource manager

[–] [email protected] 1 points 3 days ago

I will try that tomorrow when I have next have access to the device.

[–] [email protected] 5 points 3 days ago (1 children)

Force sterilise everyone and there won't be more humans to experience pain.

[–] [email protected] 1 points 3 days ago

Two Samsung, one Motorola

 

cross-posted from: https://lemm.ee/post/46066494

I followed the recommended processes for adding images to my app, and it is being displayed correctly on the layout preview, but not at all on the app. I have vector assets, webp, png images, but none are being displayed.

The project is too big to put here in its entirety, but please ask for any snippets that could help you solve the issue. I've tried searching the web and asking LLMs and neither could help, so please help me, fellow humans.

 

I'm having trouble getting an IP address via DHCP on my HP ProLiant DL380 Gen9 server running Debian. I've tried various troubleshooting steps, but nothing seems to work.

Error messages:

  • "No DHCPOFFERS received"
  • "No working leases in persistent database - sleeping"
  • "Activation of network connection failed" (GNOME)
  • "IP configuration unavailable" (Plasma)

Hardware:

  • HP ProLiant DL380 Gen9 server

Software:

  • Debian operating system
  • GNOME and Plasma desktop environments

Troubleshooting steps:

  • Checked network cable and ensured it's properly connected
  • Restarted network service
  • Set /etc/NetworkManager/NetworkManager.conf managed=true

Additional information:

  • Internet worked during the Debian installation process, but not after booting into the installed system.
  • The problem occurs on both GNOME and Plasma desktop environments, but Plasma provides a slightly more helpful error message.

I'd appreciate any help or guidance on resolving this issue. Has anyone else experienced similar problems with DHCP on a HP ProLiant DL380 Gen9 server with Debian?

 

I need an Android device for archival purposes, it has several requirements and I would appreciate any suggestions. I've done some research myself, but I would appreciate it maybe you know of something I haven't discovered.

Requirements:

  • Must fit inside this Faraday pouch, or a different one that is of a similar price, and is both water and fire proof
  • Must support an open OS (Degoogled, rooted Android ROM or Linux - both support touch interfaces, Kiwix, and storing and viewing files)
  • at least 256GB internal storage to store the files
  • at least 8GB RAM for running local AI models, preferably nearer 16GB
  • Good battery life, since it will stay inside the pouch most of the time and I don't want to have to take it out to charge it every day
  • As cheap as possible

I have no other requirements, it doesn't even have to have a camera, let alone a good one.

Thanks for all your help!

1
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]
 

These are the folders inside Games, by the way

 
15
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]
 

Android 14, an update released on 22 June under no more description than 'security update' has stopped syncthing being able to write to folders, even the few it allowed me to previously specifically grant access to. I can't add a folder to sync, as it says 'your android version hasn't granted syncthing write access, this folder is locked to read only' and then doesn't even add it.

My specific model, moto g73 doesn't support root or custom ROMs, which I wasn't aware of when I got it, but I have it now and apart from that it's a really good phone, so I hope there is some way to rescue this.

I should have the option to decline their 'security', even if it is buried under many layers of settings, and grant the apps storage permission anyway. Otherwise it is not security, it is them stealing ownership of my device from me.

It should absolutely be Motorola's onus to fix this, not the hardworking Syncthing team, but if you do know some way to get this working again, I would be grateful.

EDIT: Oh, by the way, this update also stopped every file manager app I had, of which I had three, one being the native Android file manager itself, working properly.

Edit2: This only seems to apply to the micro SD card storage, not internal storage. Unfortunately, I've filled up my internal storage and need to use my micro SD card. I was using Syncthing as a backup, so I had a copy in case the micro SD card corrupted everything.

 

Edit: apparently this is a very common form of Japanese storytelling called an isekai. There are 8 billion people in this world, no idea can be original. And sometimes you miss out on things many other people know. I'm clearly one of today's lucky 10000.

 

Coming to Skyrim from The Witcher 3, and two things I really feel the absence of is realictic lighting that makes the whole world look flat and boring, and hard to look at for too long, and that quest markers show you the direction of the quest, but not the path to get there on the minimap.

What mods that work well with playing on Linux through Proton do you recommend (and how to install them)?

view more: ‹ prev next ›