ich Datei verstehen, dass dies das Original-Layout für Snackbar ist:außer Kraft setzen Android ein Original xml
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android">
<TextView
android:id="@+id/snackbar_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
...
android:ellipsize="end"/>
<Button
android:id="@+id/snackbar_action"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone"
...
android:textColor="?attr/colorAccent"
style="?attr/borderlessButtonStyle"/>
</merge>
Ist es möglich, ein originelles android Layout wie diese außer Kraft zu setzen?
Nein, ist es nicht. Ich habe Snackbar als Beispiel gegeben. Ich frage nicht nach Snackbar selbst. – AndroidDev